Skip to content

Commit ffd9308

Browse files
committed
新增:demo 文件用于测试 ChangeInterfaceBuilderColor
1 parent 488f40d commit ffd9308

16 files changed

+806
-0
lines changed

demo/demo.xcodeproj/project.pbxproj

+350
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,350 @@
1+
// !$*UTF8*$!
2+
{
3+
archiveVersion = 1;
4+
classes = {
5+
};
6+
objectVersion = 50;
7+
objects = {
8+
9+
/* Begin PBXBuildFile section */
10+
42586494213678CF00D17E88 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 42586493213678CF00D17E88 /* AppDelegate.m */; };
11+
42586497213678D000D17E88 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 42586496213678D000D17E88 /* ViewController.m */; };
12+
4258649A213678D000D17E88 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 42586498213678D000D17E88 /* Main.storyboard */; };
13+
4258649C213678D100D17E88 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 4258649B213678D100D17E88 /* Assets.xcassets */; };
14+
4258649F213678D100D17E88 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 4258649D213678D100D17E88 /* LaunchScreen.storyboard */; };
15+
425864A2213678D100D17E88 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 425864A1213678D100D17E88 /* main.m */; };
16+
425864A92136796100D17E88 /* xibx.xib in Resources */ = {isa = PBXBuildFile; fileRef = 425864A82136796100D17E88 /* xibx.xib */; };
17+
425864AC21367A1500D17E88 /* xibx.m in Sources */ = {isa = PBXBuildFile; fileRef = 425864AB21367A1500D17E88 /* xibx.m */; };
18+
/* End PBXBuildFile section */
19+
20+
/* Begin PBXFileReference section */
21+
4258648F213678CF00D17E88 /* changeColor.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = changeColor.app; sourceTree = BUILT_PRODUCTS_DIR; };
22+
42586492213678CF00D17E88 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
23+
42586493213678CF00D17E88 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
24+
42586495213678CF00D17E88 /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = "<group>"; };
25+
42586496213678D000D17E88 /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = "<group>"; };
26+
42586499213678D000D17E88 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
27+
4258649B213678D100D17E88 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
28+
4258649E213678D100D17E88 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
29+
425864A0213678D100D17E88 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
30+
425864A1213678D100D17E88 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
31+
425864A82136796100D17E88 /* xibx.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = xibx.xib; sourceTree = "<group>"; };
32+
425864AA21367A1500D17E88 /* xibx.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = xibx.h; sourceTree = "<group>"; };
33+
425864AB21367A1500D17E88 /* xibx.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = xibx.m; sourceTree = "<group>"; };
34+
/* End PBXFileReference section */
35+
36+
/* Begin PBXFrameworksBuildPhase section */
37+
4258648C213678CF00D17E88 /* Frameworks */ = {
38+
isa = PBXFrameworksBuildPhase;
39+
buildActionMask = 2147483647;
40+
files = (
41+
);
42+
runOnlyForDeploymentPostprocessing = 0;
43+
};
44+
/* End PBXFrameworksBuildPhase section */
45+
46+
/* Begin PBXGroup section */
47+
42586486213678CF00D17E88 = {
48+
isa = PBXGroup;
49+
children = (
50+
42586491213678CF00D17E88 /* demo */,
51+
42586490213678CF00D17E88 /* Products */,
52+
);
53+
sourceTree = "<group>";
54+
};
55+
42586490213678CF00D17E88 /* Products */ = {
56+
isa = PBXGroup;
57+
children = (
58+
4258648F213678CF00D17E88 /* changeColor.app */,
59+
);
60+
name = Products;
61+
sourceTree = "<group>";
62+
};
63+
42586491213678CF00D17E88 /* demo */ = {
64+
isa = PBXGroup;
65+
children = (
66+
42586492213678CF00D17E88 /* AppDelegate.h */,
67+
42586493213678CF00D17E88 /* AppDelegate.m */,
68+
42586495213678CF00D17E88 /* ViewController.h */,
69+
42586496213678D000D17E88 /* ViewController.m */,
70+
42586498213678D000D17E88 /* Main.storyboard */,
71+
4258649B213678D100D17E88 /* Assets.xcassets */,
72+
4258649D213678D100D17E88 /* LaunchScreen.storyboard */,
73+
425864A0213678D100D17E88 /* Info.plist */,
74+
425864A1213678D100D17E88 /* main.m */,
75+
425864AA21367A1500D17E88 /* xibx.h */,
76+
425864AB21367A1500D17E88 /* xibx.m */,
77+
425864A82136796100D17E88 /* xibx.xib */,
78+
);
79+
path = demo;
80+
sourceTree = "<group>";
81+
};
82+
/* End PBXGroup section */
83+
84+
/* Begin PBXNativeTarget section */
85+
4258648E213678CF00D17E88 /* changeColor */ = {
86+
isa = PBXNativeTarget;
87+
buildConfigurationList = 425864A5213678D100D17E88 /* Build configuration list for PBXNativeTarget "changeColor" */;
88+
buildPhases = (
89+
4258648B213678CF00D17E88 /* Sources */,
90+
4258648C213678CF00D17E88 /* Frameworks */,
91+
4258648D213678CF00D17E88 /* Resources */,
92+
);
93+
buildRules = (
94+
);
95+
dependencies = (
96+
);
97+
name = changeColor;
98+
productName = changeColor;
99+
productReference = 4258648F213678CF00D17E88 /* changeColor.app */;
100+
productType = "com.apple.product-type.application";
101+
};
102+
/* End PBXNativeTarget section */
103+
104+
/* Begin PBXProject section */
105+
42586487213678CF00D17E88 /* Project object */ = {
106+
isa = PBXProject;
107+
attributes = {
108+
LastUpgradeCheck = 0940;
109+
ORGANIZATIONNAME = cc;
110+
TargetAttributes = {
111+
4258648E213678CF00D17E88 = {
112+
CreatedOnToolsVersion = 9.4.1;
113+
};
114+
};
115+
};
116+
buildConfigurationList = 4258648A213678CF00D17E88 /* Build configuration list for PBXProject "demo" */;
117+
compatibilityVersion = "Xcode 9.3";
118+
developmentRegion = en;
119+
hasScannedForEncodings = 0;
120+
knownRegions = (
121+
en,
122+
Base,
123+
);
124+
mainGroup = 42586486213678CF00D17E88;
125+
productRefGroup = 42586490213678CF00D17E88 /* Products */;
126+
projectDirPath = "";
127+
projectRoot = "";
128+
targets = (
129+
4258648E213678CF00D17E88 /* changeColor */,
130+
);
131+
};
132+
/* End PBXProject section */
133+
134+
/* Begin PBXResourcesBuildPhase section */
135+
4258648D213678CF00D17E88 /* Resources */ = {
136+
isa = PBXResourcesBuildPhase;
137+
buildActionMask = 2147483647;
138+
files = (
139+
425864A92136796100D17E88 /* xibx.xib in Resources */,
140+
4258649F213678D100D17E88 /* LaunchScreen.storyboard in Resources */,
141+
4258649C213678D100D17E88 /* Assets.xcassets in Resources */,
142+
4258649A213678D000D17E88 /* Main.storyboard in Resources */,
143+
);
144+
runOnlyForDeploymentPostprocessing = 0;
145+
};
146+
/* End PBXResourcesBuildPhase section */
147+
148+
/* Begin PBXSourcesBuildPhase section */
149+
4258648B213678CF00D17E88 /* Sources */ = {
150+
isa = PBXSourcesBuildPhase;
151+
buildActionMask = 2147483647;
152+
files = (
153+
425864AC21367A1500D17E88 /* xibx.m in Sources */,
154+
42586497213678D000D17E88 /* ViewController.m in Sources */,
155+
425864A2213678D100D17E88 /* main.m in Sources */,
156+
42586494213678CF00D17E88 /* AppDelegate.m in Sources */,
157+
);
158+
runOnlyForDeploymentPostprocessing = 0;
159+
};
160+
/* End PBXSourcesBuildPhase section */
161+
162+
/* Begin PBXVariantGroup section */
163+
42586498213678D000D17E88 /* Main.storyboard */ = {
164+
isa = PBXVariantGroup;
165+
children = (
166+
42586499213678D000D17E88 /* Base */,
167+
);
168+
name = Main.storyboard;
169+
sourceTree = "<group>";
170+
};
171+
4258649D213678D100D17E88 /* LaunchScreen.storyboard */ = {
172+
isa = PBXVariantGroup;
173+
children = (
174+
4258649E213678D100D17E88 /* Base */,
175+
);
176+
name = LaunchScreen.storyboard;
177+
sourceTree = "<group>";
178+
};
179+
/* End PBXVariantGroup section */
180+
181+
/* Begin XCBuildConfiguration section */
182+
425864A3213678D100D17E88 /* Debug */ = {
183+
isa = XCBuildConfiguration;
184+
buildSettings = {
185+
ALWAYS_SEARCH_USER_PATHS = NO;
186+
CLANG_ANALYZER_NONNULL = YES;
187+
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
188+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
189+
CLANG_CXX_LIBRARY = "libc++";
190+
CLANG_ENABLE_MODULES = YES;
191+
CLANG_ENABLE_OBJC_ARC = YES;
192+
CLANG_ENABLE_OBJC_WEAK = YES;
193+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
194+
CLANG_WARN_BOOL_CONVERSION = YES;
195+
CLANG_WARN_COMMA = YES;
196+
CLANG_WARN_CONSTANT_CONVERSION = YES;
197+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
198+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
199+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
200+
CLANG_WARN_EMPTY_BODY = YES;
201+
CLANG_WARN_ENUM_CONVERSION = YES;
202+
CLANG_WARN_INFINITE_RECURSION = YES;
203+
CLANG_WARN_INT_CONVERSION = YES;
204+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
205+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
206+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
207+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
208+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
209+
CLANG_WARN_STRICT_PROTOTYPES = YES;
210+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
211+
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
212+
CLANG_WARN_UNREACHABLE_CODE = YES;
213+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
214+
CODE_SIGN_IDENTITY = "iPhone Developer";
215+
COPY_PHASE_STRIP = NO;
216+
DEBUG_INFORMATION_FORMAT = dwarf;
217+
ENABLE_STRICT_OBJC_MSGSEND = YES;
218+
ENABLE_TESTABILITY = YES;
219+
GCC_C_LANGUAGE_STANDARD = gnu11;
220+
GCC_DYNAMIC_NO_PIC = NO;
221+
GCC_NO_COMMON_BLOCKS = YES;
222+
GCC_OPTIMIZATION_LEVEL = 0;
223+
GCC_PREPROCESSOR_DEFINITIONS = (
224+
"DEBUG=1",
225+
"$(inherited)",
226+
);
227+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
228+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
229+
GCC_WARN_UNDECLARED_SELECTOR = YES;
230+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
231+
GCC_WARN_UNUSED_FUNCTION = YES;
232+
GCC_WARN_UNUSED_VARIABLE = YES;
233+
IPHONEOS_DEPLOYMENT_TARGET = 11.4;
234+
MTL_ENABLE_DEBUG_INFO = YES;
235+
ONLY_ACTIVE_ARCH = YES;
236+
SDKROOT = iphoneos;
237+
};
238+
name = Debug;
239+
};
240+
425864A4213678D100D17E88 /* Release */ = {
241+
isa = XCBuildConfiguration;
242+
buildSettings = {
243+
ALWAYS_SEARCH_USER_PATHS = NO;
244+
CLANG_ANALYZER_NONNULL = YES;
245+
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
246+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
247+
CLANG_CXX_LIBRARY = "libc++";
248+
CLANG_ENABLE_MODULES = YES;
249+
CLANG_ENABLE_OBJC_ARC = YES;
250+
CLANG_ENABLE_OBJC_WEAK = YES;
251+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
252+
CLANG_WARN_BOOL_CONVERSION = YES;
253+
CLANG_WARN_COMMA = YES;
254+
CLANG_WARN_CONSTANT_CONVERSION = YES;
255+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
256+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
257+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
258+
CLANG_WARN_EMPTY_BODY = YES;
259+
CLANG_WARN_ENUM_CONVERSION = YES;
260+
CLANG_WARN_INFINITE_RECURSION = YES;
261+
CLANG_WARN_INT_CONVERSION = YES;
262+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
263+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
264+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
265+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
266+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
267+
CLANG_WARN_STRICT_PROTOTYPES = YES;
268+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
269+
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
270+
CLANG_WARN_UNREACHABLE_CODE = YES;
271+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
272+
CODE_SIGN_IDENTITY = "iPhone Developer";
273+
COPY_PHASE_STRIP = NO;
274+
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
275+
ENABLE_NS_ASSERTIONS = NO;
276+
ENABLE_STRICT_OBJC_MSGSEND = YES;
277+
GCC_C_LANGUAGE_STANDARD = gnu11;
278+
GCC_NO_COMMON_BLOCKS = YES;
279+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
280+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
281+
GCC_WARN_UNDECLARED_SELECTOR = YES;
282+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
283+
GCC_WARN_UNUSED_FUNCTION = YES;
284+
GCC_WARN_UNUSED_VARIABLE = YES;
285+
IPHONEOS_DEPLOYMENT_TARGET = 11.4;
286+
MTL_ENABLE_DEBUG_INFO = NO;
287+
SDKROOT = iphoneos;
288+
VALIDATE_PRODUCT = YES;
289+
};
290+
name = Release;
291+
};
292+
425864A6213678D100D17E88 /* Debug */ = {
293+
isa = XCBuildConfiguration;
294+
buildSettings = {
295+
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
296+
CODE_SIGN_STYLE = Automatic;
297+
DEVELOPMENT_TEAM = SBMZ7G7BQ8;
298+
INFOPLIST_FILE = "$(SRCROOT)/demo/Info.plist";
299+
LD_RUNPATH_SEARCH_PATHS = (
300+
"$(inherited)",
301+
"@executable_path/Frameworks",
302+
);
303+
PRODUCT_BUNDLE_IDENTIFIER = im.cc.www.changeColor;
304+
PRODUCT_NAME = "$(TARGET_NAME)";
305+
TARGETED_DEVICE_FAMILY = "1,2";
306+
};
307+
name = Debug;
308+
};
309+
425864A7213678D100D17E88 /* Release */ = {
310+
isa = XCBuildConfiguration;
311+
buildSettings = {
312+
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
313+
CODE_SIGN_STYLE = Automatic;
314+
DEVELOPMENT_TEAM = SBMZ7G7BQ8;
315+
INFOPLIST_FILE = "$(SRCROOT)/demo/Info.plist";
316+
LD_RUNPATH_SEARCH_PATHS = (
317+
"$(inherited)",
318+
"@executable_path/Frameworks",
319+
);
320+
PRODUCT_BUNDLE_IDENTIFIER = im.cc.www.changeColor;
321+
PRODUCT_NAME = "$(TARGET_NAME)";
322+
TARGETED_DEVICE_FAMILY = "1,2";
323+
};
324+
name = Release;
325+
};
326+
/* End XCBuildConfiguration section */
327+
328+
/* Begin XCConfigurationList section */
329+
4258648A213678CF00D17E88 /* Build configuration list for PBXProject "demo" */ = {
330+
isa = XCConfigurationList;
331+
buildConfigurations = (
332+
425864A3213678D100D17E88 /* Debug */,
333+
425864A4213678D100D17E88 /* Release */,
334+
);
335+
defaultConfigurationIsVisible = 0;
336+
defaultConfigurationName = Release;
337+
};
338+
425864A5213678D100D17E88 /* Build configuration list for PBXNativeTarget "changeColor" */ = {
339+
isa = XCConfigurationList;
340+
buildConfigurations = (
341+
425864A6213678D100D17E88 /* Debug */,
342+
425864A7213678D100D17E88 /* Release */,
343+
);
344+
defaultConfigurationIsVisible = 0;
345+
defaultConfigurationName = Release;
346+
};
347+
/* End XCConfigurationList section */
348+
};
349+
rootObject = 42586487213678CF00D17E88 /* Project object */;
350+
}

demo/demo.xcodeproj/project.xcworkspace/contents.xcworkspacedata

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>IDEDidComputeMac32BitWarning</key>
6+
<true/>
7+
</dict>
8+
</plist>

demo/demo/AppDelegate.h

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
//
2+
// AppDelegate.h
3+
// changeColor
4+
//
5+
// Created by 灬C灬C灬 on 2018/8/29.
6+
// Copyright © 2018年 灬C灬C灬. All rights reserved.
7+
//
8+
9+
#import <UIKit/UIKit.h>
10+
11+
@interface AppDelegate : UIResponder <UIApplicationDelegate>
12+
13+
@property (strong, nonatomic) UIWindow *window;
14+
15+
16+
@end
17+

0 commit comments

Comments
 (0)