Merge pull request #82 from kishikawakatsumi/sample-project

Fix sample project
This commit is contained in:
kishikawa katsumi
2015-04-04 00:09:59 +09:00
6 changed files with 47 additions and 78 deletions

View File

@@ -10,11 +10,9 @@
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 */; };
145BF4031A66C24500D01D0D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 145BF4011A66C24500D01D0D /* Main.storyboard */; };
145BF4051A66C24500D01D0D /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 145BF4041A66C24500D01D0D /* Images.xcassets */; };
145BF4081A66C24500D01D0D /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 145BF4061A66C24500D01D0D /* LaunchScreen.xib */; };
145BF4381A66C34C00D01D0D /* UICKeyChainStore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 145BF4291A66C32F00D01D0D /* UICKeyChainStore.framework */; };
145BF43A1A66C46400D01D0D /* UICKeyChainStore.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 145BF4291A66C32F00D01D0D /* UICKeyChainStore.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
147FA7E71ACECFE3008EEC3B /* libUICKeyChainStore.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 145BF4311A66C32F00D01D0D /* libUICKeyChainStore.a */; };
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
@@ -97,9 +95,7 @@
145BF3FC1A66C24500D01D0D /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
145BF3FE1A66C24500D01D0D /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = "<group>"; };
145BF3FF1A66C24500D01D0D /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = "<group>"; };
145BF4021A66C24500D01D0D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
145BF4041A66C24500D01D0D /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; };
145BF4071A66C24500D01D0D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = "<group>"; };
145BF41D1A66C32F00D01D0D /* UICKeyChainStore.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = UICKeyChainStore.xcodeproj; path = ../../Lib/UICKeyChainStore.xcodeproj; sourceTree = "<group>"; };
/* End PBXFileReference section */
@@ -108,7 +104,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
145BF4381A66C34C00D01D0D /* UICKeyChainStore.framework in Frameworks */,
147FA7E71ACECFE3008EEC3B /* libUICKeyChainStore.a in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -139,8 +135,6 @@
145BF3FC1A66C24500D01D0D /* AppDelegate.m */,
145BF3FE1A66C24500D01D0D /* ViewController.h */,
145BF3FF1A66C24500D01D0D /* ViewController.m */,
145BF4011A66C24500D01D0D /* Main.storyboard */,
145BF4061A66C24500D01D0D /* LaunchScreen.xib */,
145BF4041A66C24500D01D0D /* Images.xcassets */,
145BF3F71A66C24500D01D0D /* Supporting Files */,
);
@@ -294,8 +288,6 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
145BF4031A66C24500D01D0D /* Main.storyboard in Resources */,
145BF4081A66C24500D01D0D /* LaunchScreen.xib in Resources */,
145BF4051A66C24500D01D0D /* Images.xcassets in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
@@ -315,25 +307,6 @@
};
/* End PBXSourcesBuildPhase section */
/* Begin PBXVariantGroup section */
145BF4011A66C24500D01D0D /* Main.storyboard */ = {
isa = PBXVariantGroup;
children = (
145BF4021A66C24500D01D0D /* Base */,
);
name = Main.storyboard;
sourceTree = "<group>";
};
145BF4061A66C24500D01D0D /* LaunchScreen.xib */ = {
isa = PBXVariantGroup;
children = (
145BF4071A66C24500D01D0D /* Base */,
);
name = LaunchScreen.xib;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */
/* Begin XCBuildConfiguration section */
145BF4151A66C24500D01D0D /* Debug */ = {
isa = XCBuildConfiguration;
@@ -369,7 +342,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
IPHONEOS_DEPLOYMENT_TARGET = 6.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
@@ -404,7 +377,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
IPHONEOS_DEPLOYMENT_TARGET = 6.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
VALIDATE_PRODUCT = YES;
@@ -415,6 +388,7 @@
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_NAME = "$(TARGET_NAME)";
@@ -425,6 +399,7 @@
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_NAME = "$(TARGET_NAME)";

View File

@@ -7,6 +7,7 @@
//
#import "AppDelegate.h"
#import <UICKeyChainStore/UICKeyChainStore.h>
@interface AppDelegate ()
@@ -15,6 +16,9 @@
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
UICKeyChainStore *keychainStore = [UICKeyChainStore keyChainStore];
keychainStore[@"password"] = @"abcd1234";
NSLog(@"%@", keychainStore[@"a"]);
return YES;
}

View File

@@ -1,18 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="6254" systemVersion="14B25" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6247"/>
</dependencies>
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<view contentMode="scaleToFill" id="iN0-l3-epB">
<rect key="frame" x="0.0" y="0.0" width="480" height="480"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
<nil key="simulatedStatusBarMetrics"/>
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
<point key="canvasLocation" x="548" y="455"/>
</view>
</objects>
</document>

View File

@@ -1,25 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="6211" systemVersion="14A298i" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="vXZ-lx-hvc">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6204"/>
</dependencies>
<scenes>
<!--View Controller-->
<scene sceneID="ufC-wZ-h7g">
<objects>
<viewController id="vXZ-lx-hvc" customClass="ViewController" customModuleProvider="" sceneMemberID="viewController">
<layoutGuides>
<viewControllerLayoutGuide type="top" id="jyV-Pf-zRb"/>
<viewControllerLayoutGuide type="bottom" id="2fi-mo-0CV"/>
</layoutGuides>
<view key="view" contentMode="scaleToFill" id="kh9-bI-dsS">
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="x5A-6p-PRh" sceneMemberID="firstResponder"/>
</objects>
</scene>
</scenes>
</document>

View File

@@ -0,0 +1,37 @@
{
"images" : [
{
"orientation" : "portrait",
"idiom" : "iphone",
"minimum-system-version" : "7.0",
"subtype" : "retina4",
"scale" : "2x"
},
{
"idiom" : "iphone",
"scale" : "1x",
"orientation" : "portrait"
},
{
"idiom" : "iphone",
"scale" : "2x",
"orientation" : "portrait"
},
{
"orientation" : "portrait",
"idiom" : "iphone",
"subtype" : "retina4",
"scale" : "2x"
},
{
"orientation" : "portrait",
"idiom" : "iphone",
"minimum-system-version" : "7.0",
"scale" : "2x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}

View File

@@ -22,10 +22,6 @@
<string>1</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIMainStoryboardFile</key>
<string>Main</string>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>armv7</string>