Skip to content

Commit 3763df1

Browse files
Hannah Troisiappleguy
authored andcommitted
[Example] Resolved ASTextNode bugs (test app to reproduce issues, do regression testing) (facebookarchive#1803)
* [Examples] text node known inconsistencies with UILabel * addressed @appleguy's comments
1 parent c20f452 commit 3763df1

12 files changed

Lines changed: 743 additions & 0 deletions

File tree

17.1 KB
Loading
17.9 KB
Loading
22.8 KB
Loading
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
source 'https://github.com/CocoaPods/Specs.git'
2+
platform :ios, '7.0'
3+
target 'Sample' do
4+
pod 'AsyncDisplayKit', :path => '../..'
5+
end
6+
Lines changed: 364 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,364 @@
1+
// !$*UTF8*$!
2+
{
3+
archiveVersion = 1;
4+
classes = {
5+
};
6+
objectVersion = 46;
7+
objects = {
8+
9+
/* Begin PBXBuildFile section */
10+
0585428019D4DBE100606EA6 /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 0585427F19D4DBE100606EA6 /* Default-568h@2x.png */; };
11+
05E2128719D4DB510098F589 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 05E2128619D4DB510098F589 /* main.m */; };
12+
05E2128A19D4DB510098F589 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 05E2128919D4DB510098F589 /* AppDelegate.m */; };
13+
05E2128D19D4DB510098F589 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 05E2128C19D4DB510098F589 /* ViewController.m */; };
14+
6C2C82AC19EE274300767484 /* Default-667h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 6C2C82AA19EE274300767484 /* Default-667h@2x.png */; };
15+
6C2C82AD19EE274300767484 /* Default-736h@3x.png in Resources */ = {isa = PBXBuildFile; fileRef = 6C2C82AB19EE274300767484 /* Default-736h@3x.png */; };
16+
92F1263CECFE3FFCC7A5F936 /* libPods-Sample.a in Frameworks */ = {isa = PBXBuildFile; fileRef = E8EC8300ABAAEA079224272A /* libPods-Sample.a */; };
17+
/* End PBXBuildFile section */
18+
19+
/* Begin PBXFileReference section */
20+
0585427F19D4DBE100606EA6 /* Default-568h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "Default-568h@2x.png"; path = "../Default-568h@2x.png"; sourceTree = "<group>"; };
21+
05E2128119D4DB510098F589 /* Sample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Sample.app; sourceTree = BUILT_PRODUCTS_DIR; };
22+
05E2128519D4DB510098F589 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
23+
05E2128619D4DB510098F589 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
24+
05E2128819D4DB510098F589 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
25+
05E2128919D4DB510098F589 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
26+
05E2128B19D4DB510098F589 /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = "<group>"; };
27+
05E2128C19D4DB510098F589 /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = "<group>"; };
28+
0CDEE995962D3E4584D302EE /* Pods-Sample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Sample.debug.xcconfig"; path = "Pods/Target Support Files/Pods-Sample/Pods-Sample.debug.xcconfig"; sourceTree = "<group>"; };
29+
6C2C82AA19EE274300767484 /* Default-667h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-667h@2x.png"; sourceTree = SOURCE_ROOT; };
30+
6C2C82AB19EE274300767484 /* Default-736h@3x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-736h@3x.png"; sourceTree = SOURCE_ROOT; };
31+
A950870A2154F92D5DC91F1A /* Pods-Sample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Sample.release.xcconfig"; path = "Pods/Target Support Files/Pods-Sample/Pods-Sample.release.xcconfig"; sourceTree = "<group>"; };
32+
E8EC8300ABAAEA079224272A /* libPods-Sample.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Sample.a"; sourceTree = BUILT_PRODUCTS_DIR; };
33+
/* End PBXFileReference section */
34+
35+
/* Begin PBXFrameworksBuildPhase section */
36+
05E2127E19D4DB510098F589 /* Frameworks */ = {
37+
isa = PBXFrameworksBuildPhase;
38+
buildActionMask = 2147483647;
39+
files = (
40+
92F1263CECFE3FFCC7A5F936 /* libPods-Sample.a in Frameworks */,
41+
);
42+
runOnlyForDeploymentPostprocessing = 0;
43+
};
44+
/* End PBXFrameworksBuildPhase section */
45+
46+
/* Begin PBXGroup section */
47+
05E2127819D4DB510098F589 = {
48+
isa = PBXGroup;
49+
children = (
50+
05E2128319D4DB510098F589 /* Sample */,
51+
05E2128219D4DB510098F589 /* Products */,
52+
6DE0E5D094594AB09140EF84 /* Pods */,
53+
F5DF5EAD6C1B97F91D1C830F /* Frameworks */,
54+
);
55+
indentWidth = 2;
56+
sourceTree = "<group>";
57+
tabWidth = 2;
58+
usesTabs = 0;
59+
};
60+
05E2128219D4DB510098F589 /* Products */ = {
61+
isa = PBXGroup;
62+
children = (
63+
05E2128119D4DB510098F589 /* Sample.app */,
64+
);
65+
name = Products;
66+
sourceTree = "<group>";
67+
};
68+
05E2128319D4DB510098F589 /* Sample */ = {
69+
isa = PBXGroup;
70+
children = (
71+
05E2128819D4DB510098F589 /* AppDelegate.h */,
72+
05E2128919D4DB510098F589 /* AppDelegate.m */,
73+
05E2128B19D4DB510098F589 /* ViewController.h */,
74+
05E2128C19D4DB510098F589 /* ViewController.m */,
75+
05E2128419D4DB510098F589 /* Supporting Files */,
76+
);
77+
path = Sample;
78+
sourceTree = "<group>";
79+
};
80+
05E2128419D4DB510098F589 /* Supporting Files */ = {
81+
isa = PBXGroup;
82+
children = (
83+
0585427F19D4DBE100606EA6 /* Default-568h@2x.png */,
84+
6C2C82AA19EE274300767484 /* Default-667h@2x.png */,
85+
6C2C82AB19EE274300767484 /* Default-736h@3x.png */,
86+
05E2128519D4DB510098F589 /* Info.plist */,
87+
05E2128619D4DB510098F589 /* main.m */,
88+
);
89+
name = "Supporting Files";
90+
sourceTree = "<group>";
91+
};
92+
6DE0E5D094594AB09140EF84 /* Pods */ = {
93+
isa = PBXGroup;
94+
children = (
95+
0CDEE995962D3E4584D302EE /* Pods-Sample.debug.xcconfig */,
96+
A950870A2154F92D5DC91F1A /* Pods-Sample.release.xcconfig */,
97+
);
98+
name = Pods;
99+
sourceTree = "<group>";
100+
};
101+
F5DF5EAD6C1B97F91D1C830F /* Frameworks */ = {
102+
isa = PBXGroup;
103+
children = (
104+
E8EC8300ABAAEA079224272A /* libPods-Sample.a */,
105+
);
106+
name = Frameworks;
107+
sourceTree = "<group>";
108+
};
109+
/* End PBXGroup section */
110+
111+
/* Begin PBXNativeTarget section */
112+
05E2128019D4DB510098F589 /* Sample */ = {
113+
isa = PBXNativeTarget;
114+
buildConfigurationList = 05E212A419D4DB510098F589 /* Build configuration list for PBXNativeTarget "Sample" */;
115+
buildPhases = (
116+
77F6A2B5E8DA12933E6365CE /* [CP] Check Pods Manifest.lock */,
117+
05E2127D19D4DB510098F589 /* Sources */,
118+
05E2127E19D4DB510098F589 /* Frameworks */,
119+
05E2127F19D4DB510098F589 /* Resources */,
120+
96436DA0C1AFF84D8041B522 /* [CP] Embed Pods Frameworks */,
121+
D17B5BD4AA634EFE93D71E9F /* [CP] Copy Pods Resources */,
122+
);
123+
buildRules = (
124+
);
125+
dependencies = (
126+
);
127+
name = Sample;
128+
productName = Sample;
129+
productReference = 05E2128119D4DB510098F589 /* Sample.app */;
130+
productType = "com.apple.product-type.application";
131+
};
132+
/* End PBXNativeTarget section */
133+
134+
/* Begin PBXProject section */
135+
05E2127919D4DB510098F589 /* Project object */ = {
136+
isa = PBXProject;
137+
attributes = {
138+
LastUpgradeCheck = 0730;
139+
ORGANIZATIONNAME = Facebook;
140+
TargetAttributes = {
141+
05E2128019D4DB510098F589 = {
142+
CreatedOnToolsVersion = 6.0.1;
143+
};
144+
};
145+
};
146+
buildConfigurationList = 05E2127C19D4DB510098F589 /* Build configuration list for PBXProject "Sample" */;
147+
compatibilityVersion = "Xcode 3.2";
148+
developmentRegion = English;
149+
hasScannedForEncodings = 0;
150+
knownRegions = (
151+
en,
152+
Base,
153+
);
154+
mainGroup = 05E2127819D4DB510098F589;
155+
productRefGroup = 05E2128219D4DB510098F589 /* Products */;
156+
projectDirPath = "";
157+
projectRoot = "";
158+
targets = (
159+
05E2128019D4DB510098F589 /* Sample */,
160+
);
161+
};
162+
/* End PBXProject section */
163+
164+
/* Begin PBXResourcesBuildPhase section */
165+
05E2127F19D4DB510098F589 /* Resources */ = {
166+
isa = PBXResourcesBuildPhase;
167+
buildActionMask = 2147483647;
168+
files = (
169+
0585428019D4DBE100606EA6 /* Default-568h@2x.png in Resources */,
170+
6C2C82AC19EE274300767484 /* Default-667h@2x.png in Resources */,
171+
6C2C82AD19EE274300767484 /* Default-736h@3x.png in Resources */,
172+
);
173+
runOnlyForDeploymentPostprocessing = 0;
174+
};
175+
/* End PBXResourcesBuildPhase section */
176+
177+
/* Begin PBXShellScriptBuildPhase section */
178+
77F6A2B5E8DA12933E6365CE /* [CP] Check Pods Manifest.lock */ = {
179+
isa = PBXShellScriptBuildPhase;
180+
buildActionMask = 2147483647;
181+
files = (
182+
);
183+
inputPaths = (
184+
);
185+
name = "[CP] Check Pods Manifest.lock";
186+
outputPaths = (
187+
);
188+
runOnlyForDeploymentPostprocessing = 0;
189+
shellPath = /bin/sh;
190+
shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n";
191+
showEnvVarsInLog = 0;
192+
};
193+
96436DA0C1AFF84D8041B522 /* [CP] Embed Pods Frameworks */ = {
194+
isa = PBXShellScriptBuildPhase;
195+
buildActionMask = 2147483647;
196+
files = (
197+
);
198+
inputPaths = (
199+
);
200+
name = "[CP] Embed Pods Frameworks";
201+
outputPaths = (
202+
);
203+
runOnlyForDeploymentPostprocessing = 0;
204+
shellPath = /bin/sh;
205+
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Sample/Pods-Sample-frameworks.sh\"\n";
206+
showEnvVarsInLog = 0;
207+
};
208+
D17B5BD4AA634EFE93D71E9F /* [CP] Copy Pods Resources */ = {
209+
isa = PBXShellScriptBuildPhase;
210+
buildActionMask = 2147483647;
211+
files = (
212+
);
213+
inputPaths = (
214+
);
215+
name = "[CP] Copy Pods Resources";
216+
outputPaths = (
217+
);
218+
runOnlyForDeploymentPostprocessing = 0;
219+
shellPath = /bin/sh;
220+
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Sample/Pods-Sample-resources.sh\"\n";
221+
showEnvVarsInLog = 0;
222+
};
223+
/* End PBXShellScriptBuildPhase section */
224+
225+
/* Begin PBXSourcesBuildPhase section */
226+
05E2127D19D4DB510098F589 /* Sources */ = {
227+
isa = PBXSourcesBuildPhase;
228+
buildActionMask = 2147483647;
229+
files = (
230+
05E2128D19D4DB510098F589 /* ViewController.m in Sources */,
231+
05E2128A19D4DB510098F589 /* AppDelegate.m in Sources */,
232+
05E2128719D4DB510098F589 /* main.m in Sources */,
233+
);
234+
runOnlyForDeploymentPostprocessing = 0;
235+
};
236+
/* End PBXSourcesBuildPhase section */
237+
238+
/* Begin XCBuildConfiguration section */
239+
05E212A219D4DB510098F589 /* Debug */ = {
240+
isa = XCBuildConfiguration;
241+
buildSettings = {
242+
ALWAYS_SEARCH_USER_PATHS = NO;
243+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
244+
CLANG_CXX_LIBRARY = "libc++";
245+
CLANG_ENABLE_MODULES = YES;
246+
CLANG_ENABLE_OBJC_ARC = YES;
247+
CLANG_WARN_BOOL_CONVERSION = YES;
248+
CLANG_WARN_CONSTANT_CONVERSION = YES;
249+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
250+
CLANG_WARN_EMPTY_BODY = YES;
251+
CLANG_WARN_ENUM_CONVERSION = YES;
252+
CLANG_WARN_INT_CONVERSION = YES;
253+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
254+
CLANG_WARN_UNREACHABLE_CODE = YES;
255+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
256+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
257+
COPY_PHASE_STRIP = NO;
258+
ENABLE_STRICT_OBJC_MSGSEND = YES;
259+
ENABLE_TESTABILITY = YES;
260+
GCC_C_LANGUAGE_STANDARD = gnu99;
261+
GCC_DYNAMIC_NO_PIC = NO;
262+
GCC_OPTIMIZATION_LEVEL = 0;
263+
GCC_PREPROCESSOR_DEFINITIONS = (
264+
"DEBUG=1",
265+
"$(inherited)",
266+
);
267+
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
268+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
269+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
270+
GCC_WARN_UNDECLARED_SELECTOR = YES;
271+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
272+
GCC_WARN_UNUSED_FUNCTION = YES;
273+
GCC_WARN_UNUSED_VARIABLE = YES;
274+
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
275+
MTL_ENABLE_DEBUG_INFO = YES;
276+
ONLY_ACTIVE_ARCH = YES;
277+
SDKROOT = iphoneos;
278+
};
279+
name = Debug;
280+
};
281+
05E212A319D4DB510098F589 /* Release */ = {
282+
isa = XCBuildConfiguration;
283+
buildSettings = {
284+
ALWAYS_SEARCH_USER_PATHS = NO;
285+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
286+
CLANG_CXX_LIBRARY = "libc++";
287+
CLANG_ENABLE_MODULES = YES;
288+
CLANG_ENABLE_OBJC_ARC = YES;
289+
CLANG_WARN_BOOL_CONVERSION = YES;
290+
CLANG_WARN_CONSTANT_CONVERSION = YES;
291+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
292+
CLANG_WARN_EMPTY_BODY = YES;
293+
CLANG_WARN_ENUM_CONVERSION = YES;
294+
CLANG_WARN_INT_CONVERSION = YES;
295+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
296+
CLANG_WARN_UNREACHABLE_CODE = YES;
297+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
298+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
299+
COPY_PHASE_STRIP = YES;
300+
ENABLE_NS_ASSERTIONS = NO;
301+
ENABLE_STRICT_OBJC_MSGSEND = YES;
302+
GCC_C_LANGUAGE_STANDARD = gnu99;
303+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
304+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
305+
GCC_WARN_UNDECLARED_SELECTOR = YES;
306+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
307+
GCC_WARN_UNUSED_FUNCTION = YES;
308+
GCC_WARN_UNUSED_VARIABLE = YES;
309+
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
310+
MTL_ENABLE_DEBUG_INFO = NO;
311+
SDKROOT = iphoneos;
312+
VALIDATE_PRODUCT = YES;
313+
};
314+
name = Release;
315+
};
316+
05E212A519D4DB510098F589 /* Debug */ = {
317+
isa = XCBuildConfiguration;
318+
baseConfigurationReference = 0CDEE995962D3E4584D302EE /* Pods-Sample.debug.xcconfig */;
319+
buildSettings = {
320+
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
321+
INFOPLIST_FILE = Sample/Info.plist;
322+
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
323+
PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.AsyncDisplayKit.$(PRODUCT_NAME:rfc1034identifier)";
324+
PRODUCT_NAME = "$(TARGET_NAME)";
325+
};
326+
name = Debug;
327+
};
328+
05E212A619D4DB510098F589 /* Release */ = {
329+
isa = XCBuildConfiguration;
330+
baseConfigurationReference = A950870A2154F92D5DC91F1A /* Pods-Sample.release.xcconfig */;
331+
buildSettings = {
332+
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
333+
INFOPLIST_FILE = Sample/Info.plist;
334+
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
335+
PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.AsyncDisplayKit.$(PRODUCT_NAME:rfc1034identifier)";
336+
PRODUCT_NAME = "$(TARGET_NAME)";
337+
};
338+
name = Release;
339+
};
340+
/* End XCBuildConfiguration section */
341+
342+
/* Begin XCConfigurationList section */
343+
05E2127C19D4DB510098F589 /* Build configuration list for PBXProject "Sample" */ = {
344+
isa = XCConfigurationList;
345+
buildConfigurations = (
346+
05E212A219D4DB510098F589 /* Debug */,
347+
05E212A319D4DB510098F589 /* Release */,
348+
);
349+
defaultConfigurationIsVisible = 0;
350+
defaultConfigurationName = Release;
351+
};
352+
05E212A419D4DB510098F589 /* Build configuration list for PBXNativeTarget "Sample" */ = {
353+
isa = XCConfigurationList;
354+
buildConfigurations = (
355+
05E212A519D4DB510098F589 /* Debug */,
356+
05E212A619D4DB510098F589 /* Release */,
357+
);
358+
defaultConfigurationIsVisible = 0;
359+
defaultConfigurationName = Release;
360+
};
361+
/* End XCConfigurationList section */
362+
};
363+
rootObject = 05E2127919D4DB510098F589 /* Project object */;
364+
}

0 commit comments

Comments
 (0)