Skip to content

Commit

Permalink
Move AppDelegate+notification to SampleApp Folder.
Browse files Browse the repository at this point in the history
  • Loading branch information
lazaronixon committed Apr 29, 2015
1 parent 6b4ebb2 commit af08fde
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions Examples/SampleApp/SampleApp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
146834051AC3E58100842450 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; };
832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; };
8375F9A91AF06BAB001DA3F7 /* AppDelegate+notification.m in Sources */ = {isa = PBXBuildFile; fileRef = 8375F9A71AF06BAB001DA3F7 /* AppDelegate+notification.m */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand Down Expand Up @@ -127,6 +128,8 @@
146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = ../../React/React.xcodeproj; sourceTree = "<group>"; };
78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = ../../Libraries/LinkingIOS/RCTLinking.xcodeproj; sourceTree = "<group>"; };
832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = ../../Libraries/Text/RCTText.xcodeproj; sourceTree = "<group>"; };
8375F9A71AF06BAB001DA3F7 /* AppDelegate+notification.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = "AppDelegate+notification.m"; path = "iOS/AppDelegate+notification.m"; sourceTree = "<group>"; };
8375F9A81AF06BAB001DA3F7 /* AppDelegate+notification.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "AppDelegate+notification.h"; path = "iOS/AppDelegate+notification.h"; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand Down Expand Up @@ -233,6 +236,8 @@
13B07FAE1A68108700A75B9A /* SampleApp */ = {
isa = PBXGroup;
children = (
8375F9A71AF06BAB001DA3F7 /* AppDelegate+notification.m */,
8375F9A81AF06BAB001DA3F7 /* AppDelegate+notification.h */,
008F07F21AC5B25A0029DE68 /* main.jsbundle */,
13B07FAF1A68108700A75B9A /* AppDelegate.h */,
13B07FB01A68108700A75B9A /* AppDelegate.m */,
Expand Down Expand Up @@ -528,6 +533,7 @@
files = (
13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */,
13B07FC11A68108700A75B9A /* main.m in Sources */,
8375F9A91AF06BAB001DA3F7 /* AppDelegate+notification.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
* of patent rights can be found in the PATENTS file in the same directory.
*/

#if __has_include("../../../iOS/AppDelegate.h")
#if __has_include("RCTPushNotificationManager.h")

#import "../../../iOS/AppDelegate.h"
#import "AppDelegate.h"

@interface AppDelegate (notification)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* of patent rights can be found in the PATENTS file in the same directory.
*/

#if __has_include("../../../iOS/AppDelegate.h")
#if __has_include("RCTPushNotificationManager.h")

#import "AppDelegate+notification.h"
#import "RCTPushNotificationManager.h"
Expand All @@ -33,4 +33,4 @@ - (void)application:(UIApplication *)application didFailToRegisterForRemoteNotif

@end

#endif
#endif

0 comments on commit af08fde

Please sign in to comment.