├── README.md
├── swipeView.xcodeproj
├── xcuserdata
│ └── kaiogita.xcuserdatad
│ │ ├── xcdebugger
│ │ └── Breakpoints_v2.xcbkptlist
│ │ └── xcschemes
│ │ ├── xcschememanagement.plist
│ │ └── swipeView.xcscheme
├── project.xcworkspace
│ ├── contents.xcworkspacedata
│ └── xcshareddata
│ │ └── swipeView.xccheckout
└── project.pbxproj
├── swipeView
├── swipeView.xcdatamodeld
│ ├── .xccurrentversion
│ └── swipeView.xcdatamodel
│ │ └── contents
├── Images.xcassets
│ └── AppIcon.appiconset
│ │ └── Contents.json
├── Info.plist
├── Base.lproj
│ ├── Main.storyboard
│ └── LaunchScreen.xib
├── ViewController.swift
└── AppDelegate.swift
└── swipeViewTests
├── Info.plist
└── swipeViewTests.swift
/README.md:
--------------------------------------------------------------------------------
1 | # swift-tinderUI-swipeUI
2 |
3 |
4 |
5 | 
6 |
--------------------------------------------------------------------------------
/swipeView.xcodeproj/xcuserdata/kaiogita.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
--------------------------------------------------------------------------------
/swipeView.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/swipeView/swipeView.xcdatamodeld/.xccurrentversion:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | _XCCurrentVersionName
6 | swipeView.xcdatamodel
7 |
8 |
9 |
--------------------------------------------------------------------------------
/swipeView/swipeView.xcdatamodeld/swipeView.xcdatamodel/contents:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/swipeView.xcodeproj/xcuserdata/kaiogita.xcuserdatad/xcschemes/xcschememanagement.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SchemeUserState
6 |
7 | swipeView.xcscheme
8 |
9 | orderHint
10 | 0
11 |
12 |
13 | SuppressBuildableAutocreation
14 |
15 | 99F13FBF1A76770F0056925C
16 |
17 | primary
18 |
19 |
20 | 99F13FD71A7677100056925C
21 |
22 | primary
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/swipeView/Images.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "iphone",
5 | "size" : "29x29",
6 | "scale" : "2x"
7 | },
8 | {
9 | "idiom" : "iphone",
10 | "size" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | }
33 | ],
34 | "info" : {
35 | "version" : 1,
36 | "author" : "xcode"
37 | }
38 | }
--------------------------------------------------------------------------------
/swipeViewTests/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | com.sample.$(PRODUCT_NAME:rfc1034identifier)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | BNDL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 |
24 |
25 |
--------------------------------------------------------------------------------
/swipeViewTests/swipeViewTests.swift:
--------------------------------------------------------------------------------
1 | //
2 | // swipeViewTests.swift
3 | // swipeViewTests
4 | //
5 | // Created by kai ogita on 2015/01/26.
6 | // Copyright (c) 2015年 kai ogita. All rights reserved.
7 | //
8 |
9 | import UIKit
10 | import XCTest
11 |
12 | class swipeViewTests: XCTestCase {
13 |
14 | override func setUp() {
15 | super.setUp()
16 | // Put setup code here. This method is called before the invocation of each test method in the class.
17 | }
18 |
19 | override func tearDown() {
20 | // Put teardown code here. This method is called after the invocation of each test method in the class.
21 | super.tearDown()
22 | }
23 |
24 | func testExample() {
25 | // This is an example of a functional test case.
26 | XCTAssert(true, "Pass")
27 | }
28 |
29 | func testPerformanceExample() {
30 | // This is an example of a performance test case.
31 | self.measureBlock() {
32 | // Put the code you want to measure the time of here.
33 | }
34 | }
35 |
36 | }
37 |
--------------------------------------------------------------------------------
/swipeView/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | com.sample.$(PRODUCT_NAME:rfc1034identifier)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 | UIInterfaceOrientationLandscapeLeft
37 | UIInterfaceOrientationLandscapeRight
38 |
39 |
40 |
41 |
--------------------------------------------------------------------------------
/swipeView/Base.lproj/Main.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/swipeView.xcodeproj/project.xcworkspace/xcshareddata/swipeView.xccheckout:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDESourceControlProjectFavoriteDictionaryKey
6 |
7 | IDESourceControlProjectIdentifier
8 | 5185EBA9-3D13-4CE3-9E71-F119CA8F90A3
9 | IDESourceControlProjectName
10 | swipeView
11 | IDESourceControlProjectOriginsDictionary
12 |
13 | 5C64FCEC8196106785EEB9DFB85FC01377E2BEFF
14 | https://github.com/hotsplus/swift-tinderUI-swipeUI.git
15 |
16 | IDESourceControlProjectPath
17 | swipeView.xcodeproj
18 | IDESourceControlProjectRelativeInstallPathDictionary
19 |
20 | 5C64FCEC8196106785EEB9DFB85FC01377E2BEFF
21 | ../..
22 |
23 | IDESourceControlProjectURL
24 | https://github.com/hotsplus/swift-tinderUI-swipeUI.git
25 | IDESourceControlProjectVersion
26 | 111
27 | IDESourceControlProjectWCCIdentifier
28 | 5C64FCEC8196106785EEB9DFB85FC01377E2BEFF
29 | IDESourceControlProjectWCConfigurations
30 |
31 |
32 | IDESourceControlRepositoryExtensionIdentifierKey
33 | public.vcs.git
34 | IDESourceControlWCCIdentifierKey
35 | 5C64FCEC8196106785EEB9DFB85FC01377E2BEFF
36 | IDESourceControlWCCName
37 | swipeView
38 |
39 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/swipeView/ViewController.swift:
--------------------------------------------------------------------------------
1 | //
2 | // ViewController.swift
3 | // swipeView
4 | //
5 | // Created by kai ogita on 2015/01/26.
6 | // Copyright (c) 2015年 kai ogita. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | class ViewController: UIViewController {
12 | var v = UIView()
13 | var snap2: UISnapBehavior?
14 | var animator: UIDynamicAnimator!
15 |
16 | override func viewDidLoad() {
17 | super.viewDidLoad()
18 | // Do any additional setup after loading the view, typically from a nib.
19 |
20 |
21 | Makebox()
22 |
23 | }
24 | func Makebox(){
25 | self.v.frame = CGRectMake(0, 0, self.view.bounds.size.width/2, self.view.bounds.size.height/2)
26 | self.v.center = self.view.center
27 | self.v.backgroundColor = UIColor.redColor()
28 | let myPan = UIPanGestureRecognizer(target: self, action: "dragged:")
29 | self.v.addGestureRecognizer(myPan)
30 | animator = UIDynamicAnimator(referenceView: view)
31 | self.view.addSubview(v)
32 |
33 | self.snap2 = UISnapBehavior(item: self.v, snapToPoint: CGPointMake(CGRectGetMidX(self.view.bounds), CGRectGetMidY(self.view.bounds)))
34 | }
35 |
36 | override func didReceiveMemoryWarning() {
37 | super.didReceiveMemoryWarning()
38 | // Dispose of any resources that can be recreated.
39 |
40 | }
41 |
42 | func dragged(sender: UIPanGestureRecognizer){
43 |
44 | var dragview = sender.view
45 | animator.removeAllBehaviors()
46 | if(sender.state == UIGestureRecognizerState.Ended){
47 | self.animator.addBehavior(self.snap2);
48 |
49 | }else{
50 |
51 | var delta: CGPoint = sender.translationInView(dragview!)
52 | var move: CGPoint = CGPointMake(dragview!.center.x + delta.x, dragview!.center.y + delta.y)
53 | println(dragview!.center.x)
54 |
55 | dragview!.center = move
56 | sender.setTranslation(CGPointZero, inView: dragview)
57 | if (dragview!.center.x < 60 || dragview!.center.x > 390) {
58 | self.v.removeFromSuperview()
59 | Makebox()
60 | }
61 | }
62 | }
63 | func snap(){
64 | animator.removeBehavior(snap2)
65 | var cent: CGPoint = CGPointMake(self.view.center.x, self.view.center.y)
66 | //println(self.view.center.x/2)
67 | snap2 = UISnapBehavior(item: self.v, snapToPoint: cent)
68 | animator.addBehavior(snap2)
69 | //println(snap2)
70 | }
71 | }
72 |
73 |
--------------------------------------------------------------------------------
/swipeView/Base.lproj/LaunchScreen.xib:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
20 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/swipeView.xcodeproj/xcuserdata/kaiogita.xcuserdatad/xcschemes/swipeView.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
29 |
35 |
36 |
37 |
38 |
39 |
44 |
45 |
47 |
53 |
54 |
55 |
56 |
57 |
63 |
64 |
65 |
66 |
75 |
77 |
83 |
84 |
85 |
86 |
87 |
88 |
94 |
96 |
102 |
103 |
104 |
105 |
107 |
108 |
111 |
112 |
113 |
--------------------------------------------------------------------------------
/swipeView/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | //
2 | // AppDelegate.swift
3 | // swipeView
4 | //
5 | // Created by kai ogita on 2015/01/26.
6 | // Copyright (c) 2015年 kai ogita. All rights reserved.
7 | //
8 |
9 | import UIKit
10 | import CoreData
11 |
12 | @UIApplicationMain
13 | class AppDelegate: UIResponder, UIApplicationDelegate {
14 |
15 | var window: UIWindow?
16 |
17 |
18 | func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
19 | // Override point for customization after application launch.
20 | return true
21 | }
22 |
23 | func applicationWillResignActive(application: UIApplication) {
24 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
25 | // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
26 | }
27 |
28 | func applicationDidEnterBackground(application: UIApplication) {
29 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
30 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
31 | }
32 |
33 | func applicationWillEnterForeground(application: UIApplication) {
34 | // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
35 | }
36 |
37 | func applicationDidBecomeActive(application: UIApplication) {
38 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
39 | }
40 |
41 | func applicationWillTerminate(application: UIApplication) {
42 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
43 | // Saves changes in the application's managed object context before the application terminates.
44 | self.saveContext()
45 | }
46 |
47 | // MARK: - Core Data stack
48 |
49 | lazy var applicationDocumentsDirectory: NSURL = {
50 | // The directory the application uses to store the Core Data store file. This code uses a directory named "com.sample.swipeView" in the application's documents Application Support directory.
51 | let urls = NSFileManager.defaultManager().URLsForDirectory(.DocumentDirectory, inDomains: .UserDomainMask)
52 | return urls[urls.count-1] as NSURL
53 | }()
54 |
55 | lazy var managedObjectModel: NSManagedObjectModel = {
56 | // The managed object model for the application. This property is not optional. It is a fatal error for the application not to be able to find and load its model.
57 | let modelURL = NSBundle.mainBundle().URLForResource("swipeView", withExtension: "momd")!
58 | return NSManagedObjectModel(contentsOfURL: modelURL)!
59 | }()
60 |
61 | lazy var persistentStoreCoordinator: NSPersistentStoreCoordinator? = {
62 | // The persistent store coordinator for the application. This implementation creates and return a coordinator, having added the store for the application to it. This property is optional since there are legitimate error conditions that could cause the creation of the store to fail.
63 | // Create the coordinator and store
64 | var coordinator: NSPersistentStoreCoordinator? = NSPersistentStoreCoordinator(managedObjectModel: self.managedObjectModel)
65 | let url = self.applicationDocumentsDirectory.URLByAppendingPathComponent("swipeView.sqlite")
66 | var error: NSError? = nil
67 | var failureReason = "There was an error creating or loading the application's saved data."
68 | if coordinator!.addPersistentStoreWithType(NSSQLiteStoreType, configuration: nil, URL: url, options: nil, error: &error) == nil {
69 | coordinator = nil
70 | // Report any error we got.
71 | var dict = [String: AnyObject]()
72 | dict[NSLocalizedDescriptionKey] = "Failed to initialize the application's saved data"
73 | dict[NSLocalizedFailureReasonErrorKey] = failureReason
74 | dict[NSUnderlyingErrorKey] = error
75 | error = NSError(domain: "YOUR_ERROR_DOMAIN", code: 9999, userInfo: dict)
76 | // Replace this with code to handle the error appropriately.
77 | // abort() causes the application to generate a crash log and terminate. You should not use this function in a shipping application, although it may be useful during development.
78 | NSLog("Unresolved error \(error), \(error!.userInfo)")
79 | abort()
80 | }
81 |
82 | return coordinator
83 | }()
84 |
85 | lazy var managedObjectContext: NSManagedObjectContext? = {
86 | // Returns the managed object context for the application (which is already bound to the persistent store coordinator for the application.) This property is optional since there are legitimate error conditions that could cause the creation of the context to fail.
87 | let coordinator = self.persistentStoreCoordinator
88 | if coordinator == nil {
89 | return nil
90 | }
91 | var managedObjectContext = NSManagedObjectContext()
92 | managedObjectContext.persistentStoreCoordinator = coordinator
93 | return managedObjectContext
94 | }()
95 |
96 | // MARK: - Core Data Saving support
97 |
98 | func saveContext () {
99 | if let moc = self.managedObjectContext {
100 | var error: NSError? = nil
101 | if moc.hasChanges && !moc.save(&error) {
102 | // Replace this implementation with code to handle the error appropriately.
103 | // abort() causes the application to generate a crash log and terminate. You should not use this function in a shipping application, although it may be useful during development.
104 | NSLog("Unresolved error \(error), \(error!.userInfo)")
105 | abort()
106 | }
107 | }
108 | }
109 |
110 | }
111 |
112 |
--------------------------------------------------------------------------------
/swipeView.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 99F13FC61A7677100056925C /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99F13FC51A7677100056925C /* AppDelegate.swift */; };
11 | 99F13FC91A7677100056925C /* swipeView.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = 99F13FC71A7677100056925C /* swipeView.xcdatamodeld */; };
12 | 99F13FCB1A7677100056925C /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99F13FCA1A7677100056925C /* ViewController.swift */; };
13 | 99F13FCE1A7677100056925C /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 99F13FCC1A7677100056925C /* Main.storyboard */; };
14 | 99F13FD01A7677100056925C /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 99F13FCF1A7677100056925C /* Images.xcassets */; };
15 | 99F13FD31A7677100056925C /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 99F13FD11A7677100056925C /* LaunchScreen.xib */; };
16 | 99F13FDF1A7677100056925C /* swipeViewTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99F13FDE1A7677100056925C /* swipeViewTests.swift */; };
17 | /* End PBXBuildFile section */
18 |
19 | /* Begin PBXContainerItemProxy section */
20 | 99F13FD91A7677100056925C /* PBXContainerItemProxy */ = {
21 | isa = PBXContainerItemProxy;
22 | containerPortal = 99F13FB81A76770F0056925C /* Project object */;
23 | proxyType = 1;
24 | remoteGlobalIDString = 99F13FBF1A76770F0056925C;
25 | remoteInfo = swipeView;
26 | };
27 | /* End PBXContainerItemProxy section */
28 |
29 | /* Begin PBXFileReference section */
30 | 99F13FC01A76770F0056925C /* swipeView.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = swipeView.app; sourceTree = BUILT_PRODUCTS_DIR; };
31 | 99F13FC41A76770F0056925C /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
32 | 99F13FC51A7677100056925C /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
33 | 99F13FC81A7677100056925C /* swipeView.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = swipeView.xcdatamodel; sourceTree = ""; };
34 | 99F13FCA1A7677100056925C /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; };
35 | 99F13FCD1A7677100056925C /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
36 | 99F13FCF1A7677100056925C /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; };
37 | 99F13FD21A7677100056925C /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; };
38 | 99F13FD81A7677100056925C /* swipeViewTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = swipeViewTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
39 | 99F13FDD1A7677100056925C /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
40 | 99F13FDE1A7677100056925C /* swipeViewTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = swipeViewTests.swift; sourceTree = ""; };
41 | /* End PBXFileReference section */
42 |
43 | /* Begin PBXFrameworksBuildPhase section */
44 | 99F13FBD1A76770F0056925C /* Frameworks */ = {
45 | isa = PBXFrameworksBuildPhase;
46 | buildActionMask = 2147483647;
47 | files = (
48 | );
49 | runOnlyForDeploymentPostprocessing = 0;
50 | };
51 | 99F13FD51A7677100056925C /* Frameworks */ = {
52 | isa = PBXFrameworksBuildPhase;
53 | buildActionMask = 2147483647;
54 | files = (
55 | );
56 | runOnlyForDeploymentPostprocessing = 0;
57 | };
58 | /* End PBXFrameworksBuildPhase section */
59 |
60 | /* Begin PBXGroup section */
61 | 99F13FB71A76770F0056925C = {
62 | isa = PBXGroup;
63 | children = (
64 | 99F13FC21A76770F0056925C /* swipeView */,
65 | 99F13FDB1A7677100056925C /* swipeViewTests */,
66 | 99F13FC11A76770F0056925C /* Products */,
67 | );
68 | sourceTree = "";
69 | };
70 | 99F13FC11A76770F0056925C /* Products */ = {
71 | isa = PBXGroup;
72 | children = (
73 | 99F13FC01A76770F0056925C /* swipeView.app */,
74 | 99F13FD81A7677100056925C /* swipeViewTests.xctest */,
75 | );
76 | name = Products;
77 | sourceTree = "";
78 | };
79 | 99F13FC21A76770F0056925C /* swipeView */ = {
80 | isa = PBXGroup;
81 | children = (
82 | 99F13FC51A7677100056925C /* AppDelegate.swift */,
83 | 99F13FCA1A7677100056925C /* ViewController.swift */,
84 | 99F13FCC1A7677100056925C /* Main.storyboard */,
85 | 99F13FCF1A7677100056925C /* Images.xcassets */,
86 | 99F13FD11A7677100056925C /* LaunchScreen.xib */,
87 | 99F13FC71A7677100056925C /* swipeView.xcdatamodeld */,
88 | 99F13FC31A76770F0056925C /* Supporting Files */,
89 | );
90 | path = swipeView;
91 | sourceTree = "";
92 | };
93 | 99F13FC31A76770F0056925C /* Supporting Files */ = {
94 | isa = PBXGroup;
95 | children = (
96 | 99F13FC41A76770F0056925C /* Info.plist */,
97 | );
98 | name = "Supporting Files";
99 | sourceTree = "";
100 | };
101 | 99F13FDB1A7677100056925C /* swipeViewTests */ = {
102 | isa = PBXGroup;
103 | children = (
104 | 99F13FDE1A7677100056925C /* swipeViewTests.swift */,
105 | 99F13FDC1A7677100056925C /* Supporting Files */,
106 | );
107 | path = swipeViewTests;
108 | sourceTree = "";
109 | };
110 | 99F13FDC1A7677100056925C /* Supporting Files */ = {
111 | isa = PBXGroup;
112 | children = (
113 | 99F13FDD1A7677100056925C /* Info.plist */,
114 | );
115 | name = "Supporting Files";
116 | sourceTree = "";
117 | };
118 | /* End PBXGroup section */
119 |
120 | /* Begin PBXNativeTarget section */
121 | 99F13FBF1A76770F0056925C /* swipeView */ = {
122 | isa = PBXNativeTarget;
123 | buildConfigurationList = 99F13FE21A7677100056925C /* Build configuration list for PBXNativeTarget "swipeView" */;
124 | buildPhases = (
125 | 99F13FBC1A76770F0056925C /* Sources */,
126 | 99F13FBD1A76770F0056925C /* Frameworks */,
127 | 99F13FBE1A76770F0056925C /* Resources */,
128 | );
129 | buildRules = (
130 | );
131 | dependencies = (
132 | );
133 | name = swipeView;
134 | productName = swipeView;
135 | productReference = 99F13FC01A76770F0056925C /* swipeView.app */;
136 | productType = "com.apple.product-type.application";
137 | };
138 | 99F13FD71A7677100056925C /* swipeViewTests */ = {
139 | isa = PBXNativeTarget;
140 | buildConfigurationList = 99F13FE51A7677100056925C /* Build configuration list for PBXNativeTarget "swipeViewTests" */;
141 | buildPhases = (
142 | 99F13FD41A7677100056925C /* Sources */,
143 | 99F13FD51A7677100056925C /* Frameworks */,
144 | 99F13FD61A7677100056925C /* Resources */,
145 | );
146 | buildRules = (
147 | );
148 | dependencies = (
149 | 99F13FDA1A7677100056925C /* PBXTargetDependency */,
150 | );
151 | name = swipeViewTests;
152 | productName = swipeViewTests;
153 | productReference = 99F13FD81A7677100056925C /* swipeViewTests.xctest */;
154 | productType = "com.apple.product-type.bundle.unit-test";
155 | };
156 | /* End PBXNativeTarget section */
157 |
158 | /* Begin PBXProject section */
159 | 99F13FB81A76770F0056925C /* Project object */ = {
160 | isa = PBXProject;
161 | attributes = {
162 | LastUpgradeCheck = 0620;
163 | ORGANIZATIONNAME = "kai ogita";
164 | TargetAttributes = {
165 | 99F13FBF1A76770F0056925C = {
166 | CreatedOnToolsVersion = 6.2;
167 | };
168 | 99F13FD71A7677100056925C = {
169 | CreatedOnToolsVersion = 6.2;
170 | TestTargetID = 99F13FBF1A76770F0056925C;
171 | };
172 | };
173 | };
174 | buildConfigurationList = 99F13FBB1A76770F0056925C /* Build configuration list for PBXProject "swipeView" */;
175 | compatibilityVersion = "Xcode 3.2";
176 | developmentRegion = English;
177 | hasScannedForEncodings = 0;
178 | knownRegions = (
179 | en,
180 | Base,
181 | );
182 | mainGroup = 99F13FB71A76770F0056925C;
183 | productRefGroup = 99F13FC11A76770F0056925C /* Products */;
184 | projectDirPath = "";
185 | projectRoot = "";
186 | targets = (
187 | 99F13FBF1A76770F0056925C /* swipeView */,
188 | 99F13FD71A7677100056925C /* swipeViewTests */,
189 | );
190 | };
191 | /* End PBXProject section */
192 |
193 | /* Begin PBXResourcesBuildPhase section */
194 | 99F13FBE1A76770F0056925C /* Resources */ = {
195 | isa = PBXResourcesBuildPhase;
196 | buildActionMask = 2147483647;
197 | files = (
198 | 99F13FCE1A7677100056925C /* Main.storyboard in Resources */,
199 | 99F13FD31A7677100056925C /* LaunchScreen.xib in Resources */,
200 | 99F13FD01A7677100056925C /* Images.xcassets in Resources */,
201 | );
202 | runOnlyForDeploymentPostprocessing = 0;
203 | };
204 | 99F13FD61A7677100056925C /* Resources */ = {
205 | isa = PBXResourcesBuildPhase;
206 | buildActionMask = 2147483647;
207 | files = (
208 | );
209 | runOnlyForDeploymentPostprocessing = 0;
210 | };
211 | /* End PBXResourcesBuildPhase section */
212 |
213 | /* Begin PBXSourcesBuildPhase section */
214 | 99F13FBC1A76770F0056925C /* Sources */ = {
215 | isa = PBXSourcesBuildPhase;
216 | buildActionMask = 2147483647;
217 | files = (
218 | 99F13FCB1A7677100056925C /* ViewController.swift in Sources */,
219 | 99F13FC61A7677100056925C /* AppDelegate.swift in Sources */,
220 | 99F13FC91A7677100056925C /* swipeView.xcdatamodeld in Sources */,
221 | );
222 | runOnlyForDeploymentPostprocessing = 0;
223 | };
224 | 99F13FD41A7677100056925C /* Sources */ = {
225 | isa = PBXSourcesBuildPhase;
226 | buildActionMask = 2147483647;
227 | files = (
228 | 99F13FDF1A7677100056925C /* swipeViewTests.swift in Sources */,
229 | );
230 | runOnlyForDeploymentPostprocessing = 0;
231 | };
232 | /* End PBXSourcesBuildPhase section */
233 |
234 | /* Begin PBXTargetDependency section */
235 | 99F13FDA1A7677100056925C /* PBXTargetDependency */ = {
236 | isa = PBXTargetDependency;
237 | target = 99F13FBF1A76770F0056925C /* swipeView */;
238 | targetProxy = 99F13FD91A7677100056925C /* PBXContainerItemProxy */;
239 | };
240 | /* End PBXTargetDependency section */
241 |
242 | /* Begin PBXVariantGroup section */
243 | 99F13FCC1A7677100056925C /* Main.storyboard */ = {
244 | isa = PBXVariantGroup;
245 | children = (
246 | 99F13FCD1A7677100056925C /* Base */,
247 | );
248 | name = Main.storyboard;
249 | sourceTree = "";
250 | };
251 | 99F13FD11A7677100056925C /* LaunchScreen.xib */ = {
252 | isa = PBXVariantGroup;
253 | children = (
254 | 99F13FD21A7677100056925C /* Base */,
255 | );
256 | name = LaunchScreen.xib;
257 | sourceTree = "";
258 | };
259 | /* End PBXVariantGroup section */
260 |
261 | /* Begin XCBuildConfiguration section */
262 | 99F13FE01A7677100056925C /* Debug */ = {
263 | isa = XCBuildConfiguration;
264 | buildSettings = {
265 | ALWAYS_SEARCH_USER_PATHS = NO;
266 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
267 | CLANG_CXX_LIBRARY = "libc++";
268 | CLANG_ENABLE_MODULES = YES;
269 | CLANG_ENABLE_OBJC_ARC = YES;
270 | CLANG_WARN_BOOL_CONVERSION = YES;
271 | CLANG_WARN_CONSTANT_CONVERSION = YES;
272 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
273 | CLANG_WARN_EMPTY_BODY = YES;
274 | CLANG_WARN_ENUM_CONVERSION = YES;
275 | CLANG_WARN_INT_CONVERSION = YES;
276 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
277 | CLANG_WARN_UNREACHABLE_CODE = YES;
278 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
279 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
280 | COPY_PHASE_STRIP = NO;
281 | ENABLE_STRICT_OBJC_MSGSEND = YES;
282 | GCC_C_LANGUAGE_STANDARD = gnu99;
283 | GCC_DYNAMIC_NO_PIC = NO;
284 | GCC_OPTIMIZATION_LEVEL = 0;
285 | GCC_PREPROCESSOR_DEFINITIONS = (
286 | "DEBUG=1",
287 | "$(inherited)",
288 | );
289 | GCC_SYMBOLS_PRIVATE_EXTERN = NO;
290 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
291 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
292 | GCC_WARN_UNDECLARED_SELECTOR = YES;
293 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
294 | GCC_WARN_UNUSED_FUNCTION = YES;
295 | GCC_WARN_UNUSED_VARIABLE = YES;
296 | IPHONEOS_DEPLOYMENT_TARGET = 8.2;
297 | MTL_ENABLE_DEBUG_INFO = YES;
298 | ONLY_ACTIVE_ARCH = YES;
299 | SDKROOT = iphoneos;
300 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
301 | };
302 | name = Debug;
303 | };
304 | 99F13FE11A7677100056925C /* Release */ = {
305 | isa = XCBuildConfiguration;
306 | buildSettings = {
307 | ALWAYS_SEARCH_USER_PATHS = NO;
308 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
309 | CLANG_CXX_LIBRARY = "libc++";
310 | CLANG_ENABLE_MODULES = YES;
311 | CLANG_ENABLE_OBJC_ARC = YES;
312 | CLANG_WARN_BOOL_CONVERSION = YES;
313 | CLANG_WARN_CONSTANT_CONVERSION = YES;
314 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
315 | CLANG_WARN_EMPTY_BODY = YES;
316 | CLANG_WARN_ENUM_CONVERSION = YES;
317 | CLANG_WARN_INT_CONVERSION = YES;
318 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
319 | CLANG_WARN_UNREACHABLE_CODE = YES;
320 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
321 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
322 | COPY_PHASE_STRIP = NO;
323 | ENABLE_NS_ASSERTIONS = NO;
324 | ENABLE_STRICT_OBJC_MSGSEND = YES;
325 | GCC_C_LANGUAGE_STANDARD = gnu99;
326 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
327 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
328 | GCC_WARN_UNDECLARED_SELECTOR = YES;
329 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
330 | GCC_WARN_UNUSED_FUNCTION = YES;
331 | GCC_WARN_UNUSED_VARIABLE = YES;
332 | IPHONEOS_DEPLOYMENT_TARGET = 8.2;
333 | MTL_ENABLE_DEBUG_INFO = NO;
334 | SDKROOT = iphoneos;
335 | VALIDATE_PRODUCT = YES;
336 | };
337 | name = Release;
338 | };
339 | 99F13FE31A7677100056925C /* Debug */ = {
340 | isa = XCBuildConfiguration;
341 | buildSettings = {
342 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
343 | INFOPLIST_FILE = swipeView/Info.plist;
344 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
345 | PRODUCT_NAME = "$(TARGET_NAME)";
346 | };
347 | name = Debug;
348 | };
349 | 99F13FE41A7677100056925C /* Release */ = {
350 | isa = XCBuildConfiguration;
351 | buildSettings = {
352 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
353 | INFOPLIST_FILE = swipeView/Info.plist;
354 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
355 | PRODUCT_NAME = "$(TARGET_NAME)";
356 | };
357 | name = Release;
358 | };
359 | 99F13FE61A7677100056925C /* Debug */ = {
360 | isa = XCBuildConfiguration;
361 | buildSettings = {
362 | BUNDLE_LOADER = "$(TEST_HOST)";
363 | FRAMEWORK_SEARCH_PATHS = (
364 | "$(SDKROOT)/Developer/Library/Frameworks",
365 | "$(inherited)",
366 | );
367 | GCC_PREPROCESSOR_DEFINITIONS = (
368 | "DEBUG=1",
369 | "$(inherited)",
370 | );
371 | INFOPLIST_FILE = swipeViewTests/Info.plist;
372 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
373 | PRODUCT_NAME = "$(TARGET_NAME)";
374 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/swipeView.app/swipeView";
375 | };
376 | name = Debug;
377 | };
378 | 99F13FE71A7677100056925C /* Release */ = {
379 | isa = XCBuildConfiguration;
380 | buildSettings = {
381 | BUNDLE_LOADER = "$(TEST_HOST)";
382 | FRAMEWORK_SEARCH_PATHS = (
383 | "$(SDKROOT)/Developer/Library/Frameworks",
384 | "$(inherited)",
385 | );
386 | INFOPLIST_FILE = swipeViewTests/Info.plist;
387 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
388 | PRODUCT_NAME = "$(TARGET_NAME)";
389 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/swipeView.app/swipeView";
390 | };
391 | name = Release;
392 | };
393 | /* End XCBuildConfiguration section */
394 |
395 | /* Begin XCConfigurationList section */
396 | 99F13FBB1A76770F0056925C /* Build configuration list for PBXProject "swipeView" */ = {
397 | isa = XCConfigurationList;
398 | buildConfigurations = (
399 | 99F13FE01A7677100056925C /* Debug */,
400 | 99F13FE11A7677100056925C /* Release */,
401 | );
402 | defaultConfigurationIsVisible = 0;
403 | defaultConfigurationName = Release;
404 | };
405 | 99F13FE21A7677100056925C /* Build configuration list for PBXNativeTarget "swipeView" */ = {
406 | isa = XCConfigurationList;
407 | buildConfigurations = (
408 | 99F13FE31A7677100056925C /* Debug */,
409 | 99F13FE41A7677100056925C /* Release */,
410 | );
411 | defaultConfigurationIsVisible = 0;
412 | };
413 | 99F13FE51A7677100056925C /* Build configuration list for PBXNativeTarget "swipeViewTests" */ = {
414 | isa = XCConfigurationList;
415 | buildConfigurations = (
416 | 99F13FE61A7677100056925C /* Debug */,
417 | 99F13FE71A7677100056925C /* Release */,
418 | );
419 | defaultConfigurationIsVisible = 0;
420 | };
421 | /* End XCConfigurationList section */
422 |
423 | /* Begin XCVersionGroup section */
424 | 99F13FC71A7677100056925C /* swipeView.xcdatamodeld */ = {
425 | isa = XCVersionGroup;
426 | children = (
427 | 99F13FC81A7677100056925C /* swipeView.xcdatamodel */,
428 | );
429 | currentVersion = 99F13FC81A7677100056925C /* swipeView.xcdatamodel */;
430 | path = swipeView.xcdatamodeld;
431 | sourceTree = "";
432 | versionGroupType = wrapper.xcdatamodel;
433 | };
434 | /* End XCVersionGroup section */
435 | };
436 | rootObject = 99F13FB81A76770F0056925C /* Project object */;
437 | }
438 |
--------------------------------------------------------------------------------