Skip to content
This repository was archived by the owner on Aug 27, 2022. It is now read-only.

Commit b83d84f

Browse files
committed
Finish Release-3.6.0-20220711
2 parents 9d47025 + 0e7827f commit b83d84f

1,153 files changed

Lines changed: 4113 additions & 4866 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## [3.6.0] - 2022-07-11
4+
5+
### Changed
6+
* Refactor the image plugin to create a view method
7+
* Modify the WebView bridge parameter context to weak reference
8+
* Compatible with FWFramework 3.6.0 version
9+
310
## [3.5.1] - 2022-07-06
411

512
### Fixed

CHANGELOG_CN.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# 更新日志
22

3+
## [3.6.0] - 2022-07-11
4+
5+
### Changed
6+
* 重构图片插件创建视图方法
7+
* 修改WebView桥接参数context为weak引用
8+
* 兼容FWFramework 3.6.0版本
9+
310
## [3.5.1] - 2022-07-06
411

512
### Fixed

Example/Example/Classes/Module/Home/HomeViewController.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ class HomeViewController: UIViewController, ViewControllerProtocol {
3131
}
3232

3333
func renderData() {
34-
#if APP_PRODUCTION
34+
#if RELEASE
3535
let envTitle = FW.localized("envProduction")
36-
#elseif APP_STAGING
36+
#elseif STAGING
3737
let envTitle = FW.localized("envStaging")
38-
#elseif APP_TESTING
38+
#elseif TESTING
3939
let envTitle = FW.localized("envTesting")
4040
#else
4141
let envTitle = FW.localized("envDevelopment")

Example/FWApplication.xcodeproj/project.pbxproj

Lines changed: 41 additions & 479 deletions
Large diffs are not rendered by default.

Example/FWApplication.xcodeproj/xcshareddata/xcschemes/Example-Production.xcscheme

Lines changed: 0 additions & 78 deletions
This file was deleted.

Example/FWApplication.xcodeproj/xcshareddata/xcschemes/Example-Staging.xcscheme

Lines changed: 0 additions & 78 deletions
This file was deleted.

Example/FWApplication.xcodeproj/xcshareddata/xcschemes/Example-Testing.xcscheme

Lines changed: 0 additions & 78 deletions
This file was deleted.

Example/Mediator/Test/Test/Classes/Private/Application/TestNavigationTitleViewController.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,17 +45,17 @@ - (void)renderTableLayout
4545
self.navigationView.menuView.leftButton = [FWToolbarButton buttonWithObject:FWIcon.backImage block:^(id _Nonnull sender) {
4646
FWStrongifySelf();
4747
if (!self.shouldPopController) return;
48-
[FWRouter closeViewControllerAnimated:YES];
48+
[self fw_closeViewControllerAnimated:YES];
4949
}];
5050
self.navigationView.menuView.rightButton = [FWToolbarButton buttonWithObject:FWIcon.refreshImage block:^(id _Nonnull sender) {
5151
FWStrongifySelf();
5252
if (!self.shouldPopController) return;
53-
[FWRouter closeViewControllerAnimated:YES];
53+
[self fw_closeViewControllerAnimated:YES];
5454
}];
5555
self.navigationView.menuView.rightMoreButton = [FWToolbarButton buttonWithObject:FWIcon.actionImage block:^(id _Nonnull sender) {
5656
FWStrongifySelf();
5757
if (!self.shouldPopController) return;
58-
[FWRouter closeViewControllerAnimated:YES];
58+
[self fw_closeViewControllerAnimated:YES];
5959
}];
6060
[self.view addSubview:self.navigationView];
6161
self.navigationView.fw_layoutChain.left().right().top();

Example/Mediator/Test/Test/Classes/Private/Framework/TestBarViewController.m

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,10 @@ - (void)viewDidLoad
7070
[UINavigationController fw_enableBarTransition];
7171
}];
7272
} else {
73+
FWWeakifySelf();
7374
[self fw_setLeftBarItem:FWIcon.closeImage block:^(id _Nonnull sender) {
74-
[FWRouter closeViewControllerAnimated:YES];
75+
FWStrongifySelf();
76+
[self fw_closeViewControllerAnimated:YES];
7577
}];
7678
}
7779
}

Example/Mediator/Test/Test/Classes/Private/Framework/TestImageViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ - (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSStr
289289
[self.contentView addSubview:_systemView];
290290
_systemView.fw_layoutChain.leftWithInset(10).topToViewBottomWithOffset(_nameLabel, 10).bottomWithInset(10).width(100);
291291

292-
_animatedView = [[UIImageView fw_imageViewAnimatedClass] new];
292+
_animatedView = [UIImageView fw_animatedImageView];
293293
[self.contentView addSubview:_animatedView];
294294
_animatedView.fw_layoutChain.leftToViewRightWithOffset(_systemView, 60).topToView(_systemView).bottomToView(_systemView).widthToView(_systemView);
295295
}

0 commit comments

Comments
 (0)