-
Notifications
You must be signed in to change notification settings - Fork 810
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7d53f60
commit 5279bff
Showing
24 changed files
with
1,318 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
.DS_Store | ||
*.swp | ||
*.lock | ||
profile | ||
build/ | ||
*.pbxuser | ||
*.mode1v3 | ||
*.mode2v3 | ||
*.perspectivev3 | ||
!default.pbxuser | ||
!default.mode1v3 | ||
!default.mode2v3 | ||
!default.perspectivev3 | ||
xcuserdata | ||
*.xcodeproj/project.xcworkspace | ||
*.xcodeproj/xcuserdata | ||
*.xccheckout |
314 changes: 314 additions & 0 deletions
314
Objective-C/admob/NativeExpressExample/NativeExpressExample.xcodeproj/project.pbxproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,314 @@ | ||
// !$*UTF8*$! | ||
{ | ||
archiveVersion = 1; | ||
classes = { | ||
}; | ||
objectVersion = 46; | ||
objects = { | ||
|
||
/* Begin PBXBuildFile section */ | ||
26A008CF1CE0ECBB00EEFC56 /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 26A008CE1CE0ECBB00EEFC56 /* GoogleService-Info.plist */; }; | ||
26FD8D891C7CE2260089F0B5 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 26FD8D881C7CE2260089F0B5 /* main.m */; }; | ||
26FD8D8C1C7CE2260089F0B5 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 26FD8D8B1C7CE2260089F0B5 /* AppDelegate.m */; }; | ||
26FD8D8F1C7CE2260089F0B5 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 26FD8D8E1C7CE2260089F0B5 /* ViewController.m */; }; | ||
26FD8D921C7CE2260089F0B5 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 26FD8D901C7CE2260089F0B5 /* Main.storyboard */; }; | ||
26FD8D941C7CE2260089F0B5 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 26FD8D931C7CE2260089F0B5 /* Assets.xcassets */; }; | ||
26FD8D971C7CE2260089F0B5 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 26FD8D951C7CE2260089F0B5 /* LaunchScreen.storyboard */; }; | ||
/* End PBXBuildFile section */ | ||
|
||
/* Begin PBXFileReference section */ | ||
26A008CE1CE0ECBB00EEFC56 /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; sourceTree = "<group>"; }; | ||
26FD8D841C7CE2260089F0B5 /* NativeExpressExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = NativeExpressExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; | ||
26FD8D881C7CE2260089F0B5 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; }; | ||
26FD8D8A1C7CE2260089F0B5 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; }; | ||
26FD8D8B1C7CE2260089F0B5 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; }; | ||
26FD8D8D1C7CE2260089F0B5 /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = "<group>"; }; | ||
26FD8D8E1C7CE2260089F0B5 /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = "<group>"; }; | ||
26FD8D911C7CE2260089F0B5 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; }; | ||
26FD8D931C7CE2260089F0B5 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; }; | ||
26FD8D961C7CE2260089F0B5 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; }; | ||
26FD8D981C7CE2260089F0B5 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; }; | ||
/* End PBXFileReference section */ | ||
|
||
/* Begin PBXFrameworksBuildPhase section */ | ||
26FD8D811C7CE2260089F0B5 /* Frameworks */ = { | ||
isa = PBXFrameworksBuildPhase; | ||
buildActionMask = 2147483647; | ||
files = ( | ||
); | ||
runOnlyForDeploymentPostprocessing = 0; | ||
}; | ||
/* End PBXFrameworksBuildPhase section */ | ||
|
||
/* Begin PBXGroup section */ | ||
26FD8D7B1C7CE2260089F0B5 = { | ||
isa = PBXGroup; | ||
children = ( | ||
26FD8D861C7CE2260089F0B5 /* NativeExpressExample */, | ||
26FD8D851C7CE2260089F0B5 /* Products */, | ||
); | ||
sourceTree = "<group>"; | ||
}; | ||
26FD8D851C7CE2260089F0B5 /* Products */ = { | ||
isa = PBXGroup; | ||
children = ( | ||
26FD8D841C7CE2260089F0B5 /* NativeExpressExample.app */, | ||
); | ||
name = Products; | ||
sourceTree = "<group>"; | ||
}; | ||
26FD8D861C7CE2260089F0B5 /* NativeExpressExample */ = { | ||
isa = PBXGroup; | ||
children = ( | ||
26A008CE1CE0ECBB00EEFC56 /* GoogleService-Info.plist */, | ||
26FD8D8A1C7CE2260089F0B5 /* AppDelegate.h */, | ||
26FD8D8B1C7CE2260089F0B5 /* AppDelegate.m */, | ||
26FD8D8D1C7CE2260089F0B5 /* ViewController.h */, | ||
26FD8D8E1C7CE2260089F0B5 /* ViewController.m */, | ||
26FD8D901C7CE2260089F0B5 /* Main.storyboard */, | ||
26FD8D931C7CE2260089F0B5 /* Assets.xcassets */, | ||
26FD8D951C7CE2260089F0B5 /* LaunchScreen.storyboard */, | ||
26FD8D981C7CE2260089F0B5 /* Info.plist */, | ||
26FD8D871C7CE2260089F0B5 /* Supporting Files */, | ||
); | ||
path = NativeExpressExample; | ||
sourceTree = "<group>"; | ||
}; | ||
26FD8D871C7CE2260089F0B5 /* Supporting Files */ = { | ||
isa = PBXGroup; | ||
children = ( | ||
26FD8D881C7CE2260089F0B5 /* main.m */, | ||
); | ||
name = "Supporting Files"; | ||
sourceTree = "<group>"; | ||
}; | ||
/* End PBXGroup section */ | ||
|
||
/* Begin PBXNativeTarget section */ | ||
26FD8D831C7CE2260089F0B5 /* NativeExpressExample */ = { | ||
isa = PBXNativeTarget; | ||
buildConfigurationList = 26FD8D9B1C7CE2260089F0B5 /* Build configuration list for PBXNativeTarget "NativeExpressExample" */; | ||
buildPhases = ( | ||
26FD8D801C7CE2260089F0B5 /* Sources */, | ||
26FD8D811C7CE2260089F0B5 /* Frameworks */, | ||
26FD8D821C7CE2260089F0B5 /* Resources */, | ||
); | ||
buildRules = ( | ||
); | ||
dependencies = ( | ||
); | ||
name = NativeExpressExample; | ||
productName = NativeExpressExample; | ||
productReference = 26FD8D841C7CE2260089F0B5 /* NativeExpressExample.app */; | ||
productType = "com.apple.product-type.application"; | ||
}; | ||
/* End PBXNativeTarget section */ | ||
|
||
/* Begin PBXProject section */ | ||
26FD8D7C1C7CE2260089F0B5 /* Project object */ = { | ||
isa = PBXProject; | ||
attributes = { | ||
LastUpgradeCheck = 0720; | ||
ORGANIZATIONNAME = "Google, Inc."; | ||
TargetAttributes = { | ||
26FD8D831C7CE2260089F0B5 = { | ||
CreatedOnToolsVersion = 7.2.1; | ||
}; | ||
}; | ||
}; | ||
buildConfigurationList = 26FD8D7F1C7CE2260089F0B5 /* Build configuration list for PBXProject "NativeExpressExample" */; | ||
compatibilityVersion = "Xcode 3.2"; | ||
developmentRegion = English; | ||
hasScannedForEncodings = 0; | ||
knownRegions = ( | ||
en, | ||
Base, | ||
); | ||
mainGroup = 26FD8D7B1C7CE2260089F0B5; | ||
productRefGroup = 26FD8D851C7CE2260089F0B5 /* Products */; | ||
projectDirPath = ""; | ||
projectRoot = ""; | ||
targets = ( | ||
26FD8D831C7CE2260089F0B5 /* NativeExpressExample */, | ||
); | ||
}; | ||
/* End PBXProject section */ | ||
|
||
/* Begin PBXResourcesBuildPhase section */ | ||
26FD8D821C7CE2260089F0B5 /* Resources */ = { | ||
isa = PBXResourcesBuildPhase; | ||
buildActionMask = 2147483647; | ||
files = ( | ||
26FD8D971C7CE2260089F0B5 /* LaunchScreen.storyboard in Resources */, | ||
26A008CF1CE0ECBB00EEFC56 /* GoogleService-Info.plist in Resources */, | ||
26FD8D941C7CE2260089F0B5 /* Assets.xcassets in Resources */, | ||
26FD8D921C7CE2260089F0B5 /* Main.storyboard in Resources */, | ||
); | ||
runOnlyForDeploymentPostprocessing = 0; | ||
}; | ||
/* End PBXResourcesBuildPhase section */ | ||
|
||
/* Begin PBXSourcesBuildPhase section */ | ||
26FD8D801C7CE2260089F0B5 /* Sources */ = { | ||
isa = PBXSourcesBuildPhase; | ||
buildActionMask = 2147483647; | ||
files = ( | ||
26FD8D8F1C7CE2260089F0B5 /* ViewController.m in Sources */, | ||
26FD8D8C1C7CE2260089F0B5 /* AppDelegate.m in Sources */, | ||
26FD8D891C7CE2260089F0B5 /* main.m in Sources */, | ||
); | ||
runOnlyForDeploymentPostprocessing = 0; | ||
}; | ||
/* End PBXSourcesBuildPhase section */ | ||
|
||
/* Begin PBXVariantGroup section */ | ||
26FD8D901C7CE2260089F0B5 /* Main.storyboard */ = { | ||
isa = PBXVariantGroup; | ||
children = ( | ||
26FD8D911C7CE2260089F0B5 /* Base */, | ||
); | ||
name = Main.storyboard; | ||
sourceTree = "<group>"; | ||
}; | ||
26FD8D951C7CE2260089F0B5 /* LaunchScreen.storyboard */ = { | ||
isa = PBXVariantGroup; | ||
children = ( | ||
26FD8D961C7CE2260089F0B5 /* Base */, | ||
); | ||
name = LaunchScreen.storyboard; | ||
sourceTree = "<group>"; | ||
}; | ||
/* End PBXVariantGroup section */ | ||
|
||
/* Begin XCBuildConfiguration section */ | ||
26FD8D991C7CE2260089F0B5 /* Debug */ = { | ||
isa = XCBuildConfiguration; | ||
buildSettings = { | ||
ALWAYS_SEARCH_USER_PATHS = NO; | ||
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; | ||
CLANG_CXX_LIBRARY = "libc++"; | ||
CLANG_ENABLE_MODULES = YES; | ||
CLANG_ENABLE_OBJC_ARC = YES; | ||
CLANG_WARN_BOOL_CONVERSION = YES; | ||
CLANG_WARN_CONSTANT_CONVERSION = YES; | ||
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; | ||
CLANG_WARN_EMPTY_BODY = YES; | ||
CLANG_WARN_ENUM_CONVERSION = YES; | ||
CLANG_WARN_INT_CONVERSION = YES; | ||
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; | ||
CLANG_WARN_UNREACHABLE_CODE = YES; | ||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; | ||
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; | ||
COPY_PHASE_STRIP = NO; | ||
DEBUG_INFORMATION_FORMAT = dwarf; | ||
ENABLE_STRICT_OBJC_MSGSEND = YES; | ||
ENABLE_TESTABILITY = YES; | ||
GCC_C_LANGUAGE_STANDARD = gnu99; | ||
GCC_DYNAMIC_NO_PIC = NO; | ||
GCC_NO_COMMON_BLOCKS = YES; | ||
GCC_OPTIMIZATION_LEVEL = 0; | ||
GCC_PREPROCESSOR_DEFINITIONS = ( | ||
"DEBUG=1", | ||
"$(inherited)", | ||
); | ||
GCC_WARN_64_TO_32_BIT_CONVERSION = YES; | ||
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; | ||
GCC_WARN_UNDECLARED_SELECTOR = YES; | ||
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; | ||
GCC_WARN_UNUSED_FUNCTION = YES; | ||
GCC_WARN_UNUSED_VARIABLE = YES; | ||
IPHONEOS_DEPLOYMENT_TARGET = 9.2; | ||
MTL_ENABLE_DEBUG_INFO = YES; | ||
ONLY_ACTIVE_ARCH = YES; | ||
SDKROOT = iphoneos; | ||
TARGETED_DEVICE_FAMILY = "1,2"; | ||
}; | ||
name = Debug; | ||
}; | ||
26FD8D9A1C7CE2260089F0B5 /* Release */ = { | ||
isa = XCBuildConfiguration; | ||
buildSettings = { | ||
ALWAYS_SEARCH_USER_PATHS = NO; | ||
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; | ||
CLANG_CXX_LIBRARY = "libc++"; | ||
CLANG_ENABLE_MODULES = YES; | ||
CLANG_ENABLE_OBJC_ARC = YES; | ||
CLANG_WARN_BOOL_CONVERSION = YES; | ||
CLANG_WARN_CONSTANT_CONVERSION = YES; | ||
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; | ||
CLANG_WARN_EMPTY_BODY = YES; | ||
CLANG_WARN_ENUM_CONVERSION = YES; | ||
CLANG_WARN_INT_CONVERSION = YES; | ||
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; | ||
CLANG_WARN_UNREACHABLE_CODE = YES; | ||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; | ||
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; | ||
COPY_PHASE_STRIP = NO; | ||
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; | ||
ENABLE_NS_ASSERTIONS = NO; | ||
ENABLE_STRICT_OBJC_MSGSEND = YES; | ||
GCC_C_LANGUAGE_STANDARD = gnu99; | ||
GCC_NO_COMMON_BLOCKS = YES; | ||
GCC_WARN_64_TO_32_BIT_CONVERSION = YES; | ||
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; | ||
GCC_WARN_UNDECLARED_SELECTOR = YES; | ||
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; | ||
GCC_WARN_UNUSED_FUNCTION = YES; | ||
GCC_WARN_UNUSED_VARIABLE = YES; | ||
IPHONEOS_DEPLOYMENT_TARGET = 9.2; | ||
MTL_ENABLE_DEBUG_INFO = NO; | ||
SDKROOT = iphoneos; | ||
TARGETED_DEVICE_FAMILY = "1,2"; | ||
VALIDATE_PRODUCT = YES; | ||
}; | ||
name = Release; | ||
}; | ||
26FD8D9C1C7CE2260089F0B5 /* Debug */ = { | ||
isa = XCBuildConfiguration; | ||
buildSettings = { | ||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; | ||
FRAMEWORK_SEARCH_PATHS = "$(inherited)"; | ||
INFOPLIST_FILE = NativeExpressExample/Info.plist; | ||
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; | ||
PRODUCT_BUNDLE_IDENTIFIER = com.google.example.NativeExpressExample; | ||
PRODUCT_NAME = "$(TARGET_NAME)"; | ||
}; | ||
name = Debug; | ||
}; | ||
26FD8D9D1C7CE2260089F0B5 /* Release */ = { | ||
isa = XCBuildConfiguration; | ||
buildSettings = { | ||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; | ||
FRAMEWORK_SEARCH_PATHS = "$(inherited)"; | ||
INFOPLIST_FILE = NativeExpressExample/Info.plist; | ||
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; | ||
PRODUCT_BUNDLE_IDENTIFIER = com.google.example.NativeExpressExample; | ||
PRODUCT_NAME = "$(TARGET_NAME)"; | ||
}; | ||
name = Release; | ||
}; | ||
/* End XCBuildConfiguration section */ | ||
|
||
/* Begin XCConfigurationList section */ | ||
26FD8D7F1C7CE2260089F0B5 /* Build configuration list for PBXProject "NativeExpressExample" */ = { | ||
isa = XCConfigurationList; | ||
buildConfigurations = ( | ||
26FD8D991C7CE2260089F0B5 /* Debug */, | ||
26FD8D9A1C7CE2260089F0B5 /* Release */, | ||
); | ||
defaultConfigurationIsVisible = 0; | ||
defaultConfigurationName = Release; | ||
}; | ||
26FD8D9B1C7CE2260089F0B5 /* Build configuration list for PBXNativeTarget "NativeExpressExample" */ = { | ||
isa = XCConfigurationList; | ||
buildConfigurations = ( | ||
26FD8D9C1C7CE2260089F0B5 /* Debug */, | ||
26FD8D9D1C7CE2260089F0B5 /* Release */, | ||
); | ||
defaultConfigurationIsVisible = 0; | ||
defaultConfigurationName = Release; | ||
}; | ||
/* End XCConfigurationList section */ | ||
}; | ||
rootObject = 26FD8D7C1C7CE2260089F0B5 /* Project object */; | ||
} |
21 changes: 21 additions & 0 deletions
21
Objective-C/admob/NativeExpressExample/NativeExpressExample/AppDelegate.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// Copyright (C) 2016 Google, Inc. | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
#import <UIKit/UIKit.h> | ||
|
||
@interface AppDelegate : UIResponder<UIApplicationDelegate> | ||
|
||
@property(strong, nonatomic) UIWindow *window; | ||
|
||
@end |
33 changes: 33 additions & 0 deletions
33
Objective-C/admob/NativeExpressExample/NativeExpressExample/AppDelegate.m
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
// Copyright (C) 2016 Google, Inc. | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
#import "AppDelegate.h" | ||
|
||
@import Firebase; | ||
|
||
@interface AppDelegate () | ||
|
||
@end | ||
|
||
@implementation AppDelegate | ||
|
||
- (BOOL)application:(UIApplication *)application | ||
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { | ||
// Use Firebase library to configure APIs | ||
[FIRApp configure]; | ||
|
||
return YES; | ||
} | ||
|
||
@end |
Oops, something went wrong.