Skip to content
This repository was archived by the owner on May 3, 2021. It is now read-only.

Commit dedeafe

Browse files
committed
Update Demo project for Xcode 8
1 parent 3fc607c commit dedeafe

4 files changed

Lines changed: 9 additions & 2 deletions

File tree

Demo/DFImageManager.xcodeproj/project.pbxproj

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@
501501
0C300EA61BA0E357008DDEF6 /* Project object */ = {
502502
isa = PBXProject;
503503
attributes = {
504-
LastUpgradeCheck = 0700;
504+
LastUpgradeCheck = 0810;
505505
ORGANIZATIONNAME = "Alexander Grebenyuk";
506506
TargetAttributes = {
507507
0C300EAD1BA0E357008DDEF6 = {
@@ -724,8 +724,10 @@
724724
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
725725
CLANG_WARN_EMPTY_BODY = YES;
726726
CLANG_WARN_ENUM_CONVERSION = YES;
727+
CLANG_WARN_INFINITE_RECURSION = YES;
727728
CLANG_WARN_INT_CONVERSION = YES;
728729
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
730+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
729731
CLANG_WARN_UNREACHABLE_CODE = YES;
730732
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
731733
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
@@ -768,8 +770,10 @@
768770
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
769771
CLANG_WARN_EMPTY_BODY = YES;
770772
CLANG_WARN_ENUM_CONVERSION = YES;
773+
CLANG_WARN_INFINITE_RECURSION = YES;
771774
CLANG_WARN_INT_CONVERSION = YES;
772775
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
776+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
773777
CLANG_WARN_UNREACHABLE_CODE = YES;
774778
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
775779
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";

Demo/DFImageManager.xcodeproj/xcshareddata/xcschemes/DFImageManager-Example.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0700"
3+
LastUpgradeVersion = "0810"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

Demo/DFImageManager/Info.plist

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
<key>NSAllowsArbitraryLoads</key>
2828
<true/>
2929
</dict>
30+
<key>NSPhotoLibraryUsageDescription</key>
31+
<string>to show you PhotoKit demo</string>
3032
<key>UILaunchStoryboardName</key>
3133
<string>Launch Screen</string>
3234
<key>UIMainStoryboardFile</key>

Demo/DFImageManager/Source/SDFMomentHeaderCollectionReusableView.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ @interface SDFMomentHeaderCollectionReusableView ()
1818
@implementation SDFMomentHeaderCollectionReusableView
1919

2020
- (void)awakeFromNib {
21+
[super awakeFromNib];
2122
self.labelBottomLeft.text = @"";
2223
self.labelBottomRight.text = @"";
2324
self.labelTopLeft.text = @"";

0 commit comments

Comments
 (0)