Skip to content

Commit

Permalink
Clean up example project
Browse files Browse the repository at this point in the history
  • Loading branch information
kishikawakatsumi committed Oct 17, 2015
1 parent 2639979 commit d663404
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 40 deletions.
6 changes: 4 additions & 2 deletions Examples/Example-iOS/Example-iOS.xcodeproj/project.pbxproj
Expand Up @@ -7,6 +7,7 @@
objects = {

/* Begin PBXBuildFile section */
141851491BD2668E005DF9AB /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 141851481BD2668E005DF9AB /* LaunchScreen.storyboard */; settings = {ASSET_TAGS = (); }; };
145BF3FA1A66C24500D01D0D /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 145BF3F91A66C24500D01D0D /* main.m */; };
145BF3FD1A66C24500D01D0D /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 145BF3FC1A66C24500D01D0D /* AppDelegate.m */; };
145BF4001A66C24500D01D0D /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 145BF3FF1A66C24500D01D0D /* ViewController.m */; };
Expand Down Expand Up @@ -88,6 +89,7 @@
/* End PBXCopyFilesBuildPhase section */

/* Begin PBXFileReference section */
141851481BD2668E005DF9AB /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = LaunchScreen.storyboard; sourceTree = "<group>"; };
145BF3F41A66C24500D01D0D /* Example-iOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Example-iOS.app"; sourceTree = BUILT_PRODUCTS_DIR; };
145BF3F81A66C24500D01D0D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
145BF3F91A66C24500D01D0D /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
Expand Down Expand Up @@ -135,6 +137,7 @@
145BF3FC1A66C24500D01D0D /* AppDelegate.m */,
145BF3FE1A66C24500D01D0D /* ViewController.h */,
145BF3FF1A66C24500D01D0D /* ViewController.m */,
141851481BD2668E005DF9AB /* LaunchScreen.storyboard */,
145BF4041A66C24500D01D0D /* Images.xcassets */,
145BF3F71A66C24500D01D0D /* Supporting Files */,
);
Expand Down Expand Up @@ -289,6 +292,7 @@
buildActionMask = 2147483647;
files = (
145BF4051A66C24500D01D0D /* Images.xcassets in Resources */,
141851491BD2668E005DF9AB /* LaunchScreen.storyboard in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -389,7 +393,6 @@
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
INFOPLIST_FILE = "Example-iOS/Info.plist";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "com.kishikawakatsumi.$(PRODUCT_NAME:rfc1034identifier)";
Expand All @@ -401,7 +404,6 @@
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
INFOPLIST_FILE = "Example-iOS/Info.plist";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "com.kishikawakatsumi.$(PRODUCT_NAME:rfc1034identifier)";
Expand Down
2 changes: 1 addition & 1 deletion Examples/Example-iOS/Example-iOS/AppDelegate.m
Expand Up @@ -18,7 +18,7 @@ @implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
UICKeyChainStore *keychainStore = [UICKeyChainStore keyChainStore];
keychainStore[@"password"] = @"abcd1234";
NSLog(@"%@", keychainStore[@"a"]);

return YES;
}

Expand Down
@@ -0,0 +1,6 @@
{
"info" : {
"version" : 1,
"author" : "xcode"
}
}

This file was deleted.

2 changes: 2 additions & 0 deletions Examples/Example-iOS/Example-iOS/Info.plist
Expand Up @@ -22,6 +22,8 @@
<string>1</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>armv7</string>
Expand Down
28 changes: 28 additions & 0 deletions Examples/Example-iOS/Example-iOS/LaunchScreen.storyboard
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="8191" systemVersion="15A284" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" initialViewController="01J-lp-oVM">
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="8154"/>
</dependencies>
<scenes>
<!--View Controller-->
<scene sceneID="EHf-IW-A2E">
<objects>
<viewController id="01J-lp-oVM" sceneMemberID="viewController">
<layoutGuides>
<viewControllerLayoutGuide type="top" id="Llm-lL-Icb"/>
<viewControllerLayoutGuide type="bottom" id="xb3-aO-Qok"/>
</layoutGuides>
<view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<animations/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="53" y="375"/>
</scene>
</scenes>
</document>

0 comments on commit d663404

Please sign in to comment.