Skip to content

Commit fb475dd

Browse files
author
Alex Akers
committed
[React Native] Add preliminary animation API
1 parent b185cbd commit fb475dd

21 files changed

Lines changed: 1771 additions & 27 deletions

File tree

Lines changed: 357 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,357 @@
1+
// !$*UTF8*$!
2+
{
3+
archiveVersion = 1;
4+
classes = {
5+
};
6+
objectVersion = 46;
7+
objects = {
8+
9+
/* Begin PBXBuildFile section */
10+
13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; };
11+
13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB11A68108700A75B9A /* LaunchScreen.xib */; };
12+
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
13+
13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
14+
832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; };
15+
8323482C1A77B59500B55238 /* libReactKit.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832348291A77B50100B55238 /* libReactKit.a */; };
16+
/* End PBXBuildFile section */
17+
18+
/* Begin PBXContainerItemProxy section */
19+
832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */ = {
20+
isa = PBXContainerItemProxy;
21+
containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */;
22+
proxyType = 2;
23+
remoteGlobalIDString = 58B5119B1A9E6C1200147676;
24+
remoteInfo = RCTText;
25+
};
26+
832348281A77B50100B55238 /* PBXContainerItemProxy */ = {
27+
isa = PBXContainerItemProxy;
28+
containerPortal = 834D32361A76971A00F38302 /* ReactKit.xcodeproj */;
29+
proxyType = 2;
30+
remoteGlobalIDString = 83CBBA2E1A601D0E00E9B192;
31+
remoteInfo = ReactKit;
32+
};
33+
/* End PBXContainerItemProxy section */
34+
35+
/* Begin PBXFileReference section */
36+
13B07F961A680F5B00A75B9A /* 2048.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = 2048.app; sourceTree = BUILT_PRODUCTS_DIR; };
37+
13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
38+
13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
39+
13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = "<group>"; };
40+
13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; };
41+
13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
42+
13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
43+
832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = ../../Libraries/Text/RCTText.xcodeproj; sourceTree = "<group>"; };
44+
834D32361A76971A00F38302 /* ReactKit.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = ReactKit.xcodeproj; path = ../../ReactKit/ReactKit.xcodeproj; sourceTree = "<group>"; };
45+
/* End PBXFileReference section */
46+
47+
/* Begin PBXFrameworksBuildPhase section */
48+
13B07F8C1A680F5B00A75B9A /* Frameworks */ = {
49+
isa = PBXFrameworksBuildPhase;
50+
buildActionMask = 2147483647;
51+
files = (
52+
8323482C1A77B59500B55238 /* libReactKit.a in Frameworks */,
53+
832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */,
54+
);
55+
runOnlyForDeploymentPostprocessing = 0;
56+
};
57+
/* End PBXFrameworksBuildPhase section */
58+
59+
/* Begin PBXGroup section */
60+
13B07FAE1A68108700A75B9A /* 2048 */ = {
61+
isa = PBXGroup;
62+
children = (
63+
13B07FAF1A68108700A75B9A /* AppDelegate.h */,
64+
13B07FB01A68108700A75B9A /* AppDelegate.m */,
65+
13B07FB51A68108700A75B9A /* Images.xcassets */,
66+
13B07FB61A68108700A75B9A /* Info.plist */,
67+
13B07FB11A68108700A75B9A /* LaunchScreen.xib */,
68+
13B07FB71A68108700A75B9A /* main.m */,
69+
);
70+
name = 2048;
71+
sourceTree = "<group>";
72+
};
73+
832341AE1AAA6A7D00B99B32 /* Libraries */ = {
74+
isa = PBXGroup;
75+
children = (
76+
834D32361A76971A00F38302 /* ReactKit.xcodeproj */,
77+
832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */,
78+
);
79+
name = Libraries;
80+
sourceTree = "<group>";
81+
};
82+
832341B11AAA6A8300B99B32 /* Products */ = {
83+
isa = PBXGroup;
84+
children = (
85+
832341B51AAA6A8300B99B32 /* libRCTText.a */,
86+
);
87+
name = Products;
88+
sourceTree = "<group>";
89+
};
90+
832348241A77B50100B55238 /* Products */ = {
91+
isa = PBXGroup;
92+
children = (
93+
832348291A77B50100B55238 /* libReactKit.a */,
94+
);
95+
name = Products;
96+
sourceTree = "<group>";
97+
};
98+
83CBB9F61A601CBA00E9B192 = {
99+
isa = PBXGroup;
100+
children = (
101+
13B07FAE1A68108700A75B9A /* 2048 */,
102+
832341AE1AAA6A7D00B99B32 /* Libraries */,
103+
83CBBA001A601CBA00E9B192 /* Products */,
104+
);
105+
sourceTree = "<group>";
106+
};
107+
83CBBA001A601CBA00E9B192 /* Products */ = {
108+
isa = PBXGroup;
109+
children = (
110+
13B07F961A680F5B00A75B9A /* 2048.app */,
111+
);
112+
name = Products;
113+
sourceTree = "<group>";
114+
};
115+
/* End PBXGroup section */
116+
117+
/* Begin PBXNativeTarget section */
118+
13B07F861A680F5B00A75B9A /* 2048 */ = {
119+
isa = PBXNativeTarget;
120+
buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "2048" */;
121+
buildPhases = (
122+
13B07F871A680F5B00A75B9A /* Sources */,
123+
13B07F8C1A680F5B00A75B9A /* Frameworks */,
124+
13B07F8E1A680F5B00A75B9A /* Resources */,
125+
);
126+
buildRules = (
127+
);
128+
dependencies = (
129+
);
130+
name = 2048;
131+
productName = "Hello World";
132+
productReference = 13B07F961A680F5B00A75B9A /* 2048.app */;
133+
productType = "com.apple.product-type.application";
134+
};
135+
/* End PBXNativeTarget section */
136+
137+
/* Begin PBXProject section */
138+
83CBB9F71A601CBA00E9B192 /* Project object */ = {
139+
isa = PBXProject;
140+
attributes = {
141+
LastUpgradeCheck = 0610;
142+
ORGANIZATIONNAME = Facebook;
143+
};
144+
buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "2048" */;
145+
compatibilityVersion = "Xcode 3.2";
146+
developmentRegion = English;
147+
hasScannedForEncodings = 0;
148+
knownRegions = (
149+
en,
150+
Base,
151+
);
152+
mainGroup = 83CBB9F61A601CBA00E9B192;
153+
productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */;
154+
projectDirPath = "";
155+
projectReferences = (
156+
{
157+
ProductGroup = 832341B11AAA6A8300B99B32 /* Products */;
158+
ProjectRef = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */;
159+
},
160+
{
161+
ProductGroup = 832348241A77B50100B55238 /* Products */;
162+
ProjectRef = 834D32361A76971A00F38302 /* ReactKit.xcodeproj */;
163+
},
164+
);
165+
projectRoot = "";
166+
targets = (
167+
13B07F861A680F5B00A75B9A /* 2048 */,
168+
);
169+
};
170+
/* End PBXProject section */
171+
172+
/* Begin PBXReferenceProxy section */
173+
832341B51AAA6A8300B99B32 /* libRCTText.a */ = {
174+
isa = PBXReferenceProxy;
175+
fileType = archive.ar;
176+
path = libRCTText.a;
177+
remoteRef = 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */;
178+
sourceTree = BUILT_PRODUCTS_DIR;
179+
};
180+
832348291A77B50100B55238 /* libReactKit.a */ = {
181+
isa = PBXReferenceProxy;
182+
fileType = archive.ar;
183+
path = libReactKit.a;
184+
remoteRef = 832348281A77B50100B55238 /* PBXContainerItemProxy */;
185+
sourceTree = BUILT_PRODUCTS_DIR;
186+
};
187+
/* End PBXReferenceProxy section */
188+
189+
/* Begin PBXResourcesBuildPhase section */
190+
13B07F8E1A680F5B00A75B9A /* Resources */ = {
191+
isa = PBXResourcesBuildPhase;
192+
buildActionMask = 2147483647;
193+
files = (
194+
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
195+
13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */,
196+
);
197+
runOnlyForDeploymentPostprocessing = 0;
198+
};
199+
/* End PBXResourcesBuildPhase section */
200+
201+
/* Begin PBXSourcesBuildPhase section */
202+
13B07F871A680F5B00A75B9A /* Sources */ = {
203+
isa = PBXSourcesBuildPhase;
204+
buildActionMask = 2147483647;
205+
files = (
206+
13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */,
207+
13B07FC11A68108700A75B9A /* main.m in Sources */,
208+
);
209+
runOnlyForDeploymentPostprocessing = 0;
210+
};
211+
/* End PBXSourcesBuildPhase section */
212+
213+
/* Begin PBXVariantGroup section */
214+
13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = {
215+
isa = PBXVariantGroup;
216+
children = (
217+
13B07FB21A68108700A75B9A /* Base */,
218+
);
219+
name = LaunchScreen.xib;
220+
sourceTree = "<group>";
221+
};
222+
/* End PBXVariantGroup section */
223+
224+
/* Begin XCBuildConfiguration section */
225+
13B07F941A680F5B00A75B9A /* Debug */ = {
226+
isa = XCBuildConfiguration;
227+
buildSettings = {
228+
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
229+
INFOPLIST_FILE = "$(SRCROOT)/Info.plist";
230+
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
231+
OTHER_LDFLAGS = "-ObjC";
232+
PRODUCT_NAME = 2048;
233+
};
234+
name = Debug;
235+
};
236+
13B07F951A680F5B00A75B9A /* Release */ = {
237+
isa = XCBuildConfiguration;
238+
buildSettings = {
239+
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
240+
INFOPLIST_FILE = "$(SRCROOT)/Info.plist";
241+
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
242+
OTHER_LDFLAGS = "-ObjC";
243+
PRODUCT_NAME = 2048;
244+
};
245+
name = Release;
246+
};
247+
83CBBA201A601CBA00E9B192 /* Debug */ = {
248+
isa = XCBuildConfiguration;
249+
buildSettings = {
250+
ALWAYS_SEARCH_USER_PATHS = NO;
251+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
252+
CLANG_CXX_LIBRARY = "libc++";
253+
CLANG_ENABLE_MODULES = YES;
254+
CLANG_ENABLE_OBJC_ARC = YES;
255+
CLANG_WARN_BOOL_CONVERSION = YES;
256+
CLANG_WARN_CONSTANT_CONVERSION = YES;
257+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
258+
CLANG_WARN_EMPTY_BODY = YES;
259+
CLANG_WARN_ENUM_CONVERSION = YES;
260+
CLANG_WARN_INT_CONVERSION = YES;
261+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
262+
CLANG_WARN_UNREACHABLE_CODE = YES;
263+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
264+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
265+
COPY_PHASE_STRIP = NO;
266+
ENABLE_STRICT_OBJC_MSGSEND = YES;
267+
GCC_C_LANGUAGE_STANDARD = gnu99;
268+
GCC_DYNAMIC_NO_PIC = NO;
269+
GCC_OPTIMIZATION_LEVEL = 0;
270+
GCC_PREPROCESSOR_DEFINITIONS = (
271+
"DEBUG=1",
272+
"$(inherited)",
273+
);
274+
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
275+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
276+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
277+
GCC_WARN_UNDECLARED_SELECTOR = YES;
278+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
279+
GCC_WARN_UNUSED_FUNCTION = YES;
280+
GCC_WARN_UNUSED_VARIABLE = YES;
281+
HEADER_SEARCH_PATHS = (
282+
"$(inherited)",
283+
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
284+
"$(SRCROOT)/../../ReactKit/**",
285+
);
286+
IPHONEOS_DEPLOYMENT_TARGET = 7.0;
287+
MTL_ENABLE_DEBUG_INFO = YES;
288+
ONLY_ACTIVE_ARCH = YES;
289+
SDKROOT = iphoneos;
290+
};
291+
name = Debug;
292+
};
293+
83CBBA211A601CBA00E9B192 /* Release */ = {
294+
isa = XCBuildConfiguration;
295+
buildSettings = {
296+
ALWAYS_SEARCH_USER_PATHS = NO;
297+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
298+
CLANG_CXX_LIBRARY = "libc++";
299+
CLANG_ENABLE_MODULES = YES;
300+
CLANG_ENABLE_OBJC_ARC = YES;
301+
CLANG_WARN_BOOL_CONVERSION = YES;
302+
CLANG_WARN_CONSTANT_CONVERSION = YES;
303+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
304+
CLANG_WARN_EMPTY_BODY = YES;
305+
CLANG_WARN_ENUM_CONVERSION = YES;
306+
CLANG_WARN_INT_CONVERSION = YES;
307+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
308+
CLANG_WARN_UNREACHABLE_CODE = YES;
309+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
310+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
311+
COPY_PHASE_STRIP = YES;
312+
ENABLE_NS_ASSERTIONS = NO;
313+
ENABLE_STRICT_OBJC_MSGSEND = YES;
314+
GCC_C_LANGUAGE_STANDARD = gnu99;
315+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
316+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
317+
GCC_WARN_UNDECLARED_SELECTOR = YES;
318+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
319+
GCC_WARN_UNUSED_FUNCTION = YES;
320+
GCC_WARN_UNUSED_VARIABLE = YES;
321+
HEADER_SEARCH_PATHS = (
322+
"$(inherited)",
323+
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
324+
"$(SRCROOT)/../../ReactKit/**",
325+
);
326+
IPHONEOS_DEPLOYMENT_TARGET = 7.0;
327+
MTL_ENABLE_DEBUG_INFO = NO;
328+
SDKROOT = iphoneos;
329+
VALIDATE_PRODUCT = YES;
330+
};
331+
name = Release;
332+
};
333+
/* End XCBuildConfiguration section */
334+
335+
/* Begin XCConfigurationList section */
336+
13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "2048" */ = {
337+
isa = XCConfigurationList;
338+
buildConfigurations = (
339+
13B07F941A680F5B00A75B9A /* Debug */,
340+
13B07F951A680F5B00A75B9A /* Release */,
341+
);
342+
defaultConfigurationIsVisible = 0;
343+
defaultConfigurationName = Release;
344+
};
345+
83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "2048" */ = {
346+
isa = XCConfigurationList;
347+
buildConfigurations = (
348+
83CBBA201A601CBA00E9B192 /* Debug */,
349+
83CBBA211A601CBA00E9B192 /* Release */,
350+
);
351+
defaultConfigurationIsVisible = 0;
352+
defaultConfigurationName = Release;
353+
};
354+
/* End XCConfigurationList section */
355+
};
356+
rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */;
357+
}

Examples/2048/AppDelegate.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// Copyright 2004-present Facebook. All Rights Reserved.
2+
3+
#import <UIKit/UIKit.h>
4+
5+
@interface AppDelegate : UIResponder <UIApplicationDelegate>
6+
7+
@property (nonatomic, strong) UIWindow *window;
8+
9+
@end

0 commit comments

Comments
 (0)