├── .gitignore
├── LICENSE
├── README.md
├── SampleX
├── AppDelegate.swift
├── Assets.xcassets
│ └── AppIcon.appiconset
│ │ ├── Contents.json
│ │ └── SampleX.png
├── Base.lproj
│ └── Main.storyboard
├── Info.plist
├── Shape.swift
├── ShapeView.swift
└── ViewController.swift
├── SampleY
├── Assets.xcassets
│ └── AppIcon.appiconset
│ │ ├── Contents.json
│ │ └── SampleY.png
└── Info.plist
├── ios9-dnd-demo.xcodeproj
├── project.pbxproj
└── project.xcworkspace
│ └── contents.xcworkspacedata
└── ios9-dnd.gif
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 |
3 | # Xcode
4 | #
5 | build/
6 | *.pbxuser
7 | !default.pbxuser
8 | *.mode1v3
9 | !default.mode1v3
10 | *.mode2v3
11 | !default.mode2v3
12 | *.perspectivev3
13 | !default.perspectivev3
14 | xcuserdata
15 | *.xccheckout
16 | *.moved-aside
17 | DerivedData
18 | *.hmap
19 | *.ipa
20 | *.xcuserstate
21 |
22 | # CocoaPods
23 | #
24 | # We recommend against adding the Pods directory to your .gitignore. However
25 | # you should judge for yourself, the pros and cons are mentioned at:
26 | # http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control
27 | #
28 | Pods/
29 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2015 safx
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # iOS9-InterApp-DnD-Demo
2 |
3 | 
4 |
--------------------------------------------------------------------------------
/SampleX/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | //
2 | // AppDelegate.swift
3 | // SampleX
4 | //
5 | // Created by Safx Developer on 2015/09/27.
6 | //
7 | //
8 |
9 | import UIKit
10 |
11 | @UIApplicationMain
12 | class AppDelegate: UIResponder, UIApplicationDelegate {
13 |
14 | var window: UIWindow?
15 |
16 |
17 | func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
18 | // Override point for customization after application launch.
19 | return true
20 | }
21 |
22 | func applicationWillResignActive(application: UIApplication) {
23 | // 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.
24 | // 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.
25 | }
26 |
27 | func applicationDidEnterBackground(application: UIApplication) {
28 | // 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.
29 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
30 | }
31 |
32 | func applicationWillEnterForeground(application: UIApplication) {
33 | // 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.
34 | }
35 |
36 | func applicationDidBecomeActive(application: UIApplication) {
37 | // 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.
38 | }
39 |
40 | func applicationWillTerminate(application: UIApplication) {
41 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
42 | }
43 |
44 |
45 | }
46 |
47 |
--------------------------------------------------------------------------------
/SampleX/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "ipad",
5 | "size" : "29x29",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "ipad",
10 | "size" : "29x29",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "ipad",
15 | "size" : "40x40",
16 | "scale" : "1x"
17 | },
18 | {
19 | "idiom" : "ipad",
20 | "size" : "40x40",
21 | "scale" : "2x"
22 | },
23 | {
24 | "idiom" : "ipad",
25 | "size" : "76x76",
26 | "scale" : "1x"
27 | },
28 | {
29 | "size" : "76x76",
30 | "idiom" : "ipad",
31 | "filename" : "SampleX.png",
32 | "scale" : "2x"
33 | }
34 | ],
35 | "info" : {
36 | "version" : 1,
37 | "author" : "xcode"
38 | }
39 | }
--------------------------------------------------------------------------------
/SampleX/Assets.xcassets/AppIcon.appiconset/SampleX.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/safx/iOS9-InterApp-DnD-Demo/5d266d5d7ca01d6c31cff6fe28f94e1187364615/SampleX/Assets.xcassets/AppIcon.appiconset/SampleX.png
--------------------------------------------------------------------------------
/SampleX/Base.lproj/Main.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
27 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
--------------------------------------------------------------------------------
/SampleX/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
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 | Main
27 | UIMainStoryboardFile
28 | Main
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UISupportedInterfaceOrientations~ipad
34 |
35 | UIInterfaceOrientationPortrait
36 | UIInterfaceOrientationPortraitUpsideDown
37 | UIInterfaceOrientationLandscapeLeft
38 | UIInterfaceOrientationLandscapeRight
39 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/SampleX/Shape.swift:
--------------------------------------------------------------------------------
1 | //
2 | // Shape.swift
3 | // ios9-dnd-demo
4 | //
5 | // Created by Safx Developer on 2015/09/27.
6 | //
7 | //
8 |
9 | import UIKit
10 |
11 | enum Shape {
12 | case Rectangle(pos: CGPoint, size: CGSize, color: UIColor)
13 | case Ellipse(pos: CGPoint, size: CGSize, color: UIColor)
14 |
15 | static func createShape(type: String, size: CGSize, color: String) -> Shape? {
16 | let pos = CGPointMake(-10000, -10000) // FIXME
17 | let color = Shape.stringToColor(color: color)
18 | switch type {
19 | case "rectangle": return .Rectangle(pos: pos, size: size, color: color)
20 | case "ellipse": return .Ellipse (pos: pos, size: size, color: color)
21 | default: return nil
22 | }
23 | }
24 |
25 | mutating func changePosition(pos: CGPoint) {
26 | switch self {
27 | case .Rectangle(let (_, size, color)):
28 | self = .Rectangle(pos: pos, size: size, color: color)
29 | case .Ellipse(let (_, size, color)):
30 | self = .Ellipse(pos: pos, size: size, color: color)
31 | }
32 | }
33 |
34 | static func colorToString(color: UIColor) -> String {
35 | var c = [CGFloat](count: 4, repeatedValue: 0.0)
36 | color.getRed(&c[0], green: &c[1], blue: &c[2], alpha: &c[3])
37 | return c[0...2].map{String(format:"%02X", Int(255 * $0))}.joinWithSeparator("")
38 | }
39 |
40 | static func stringToColor(color c: String) -> UIColor {
41 | precondition(c.characters.count == 6)
42 | let cs = [
43 | c[Range(start: c.startIndex, end: c.startIndex.advancedBy(2))],
44 | c[Range(start: c.startIndex.advancedBy(2), end: c.startIndex.advancedBy(4))],
45 | c[Range(start: c.startIndex.advancedBy(4), end: c.startIndex.advancedBy(6))]
46 | ].flatMap{ Int($0, radix: 16) }
47 | assert(cs.count == 3)
48 | let z = cs.map{ CGFloat($0) }
49 | return UIColor(red: z[0], green: z[1], blue: z[2], alpha: CGFloat(1.0))
50 | }
51 |
52 | var position: CGPoint {
53 | switch self {
54 | case .Rectangle(let (p, _, _)): return p
55 | case .Ellipse(let (p, _, _)): return p
56 | }
57 | }
58 |
59 | var string: String {
60 | switch self {
61 | case .Rectangle(let (_, s, c)): return "rectangle,\(Int(s.width)),\(Int(s.height)),\(Shape.colorToString(c))"
62 | case .Ellipse(let (_, s, c)): return "ellipse,\(Int(s.width)),\(Int(s.height)),\(Shape.colorToString(c))"
63 | }
64 | }
65 | }
66 |
67 | protocol Drawable {
68 | func draw()
69 | }
70 |
71 | extension Shape: Drawable {
72 | func draw() {
73 | color.setFill()
74 | path.fill()
75 | }
76 |
77 | private var color: UIColor {
78 | switch self {
79 | case .Rectangle(let (_, _, color)): return color
80 | case .Ellipse(let (_, _, color)): return color
81 | }
82 | }
83 |
84 | private var path: UIBezierPath {
85 | switch self {
86 | case .Rectangle(let (pos, size, _)):
87 | return UIBezierPath(rect: CGRect(origin: pos, size: size))
88 | case .Ellipse(let (pos, size, _)):
89 | return UIBezierPath(ovalInRect: CGRect(origin: pos, size: size))
90 | }
91 | }
92 | }
93 |
94 | extension Shape {
95 | func isClicked(pos: CGPoint) -> Bool {
96 | switch self {
97 | case .Rectangle(let (p, s, _)):
98 | let rect = CGRect(origin: p, size: s)
99 | return CGRectContainsPoint(rect, pos)
100 | case .Ellipse(let (p, s, _)):
101 | let rw = s.width / 2
102 | let rh = s.height / 2
103 | let c = CGPointMake(p.x + rw, p.y + rh)
104 | let x = pos.x - c.x
105 | let y = pos.y - c.y
106 | let w = rw * rw
107 | let h = rh * rh
108 | return (x * x) / w + (y * y) / h <= 1.0
109 | }
110 | }
111 | }
112 |
--------------------------------------------------------------------------------
/SampleX/ShapeView.swift:
--------------------------------------------------------------------------------
1 | //
2 | // ShapeView.swift
3 | // ios9-dnd-demo
4 | //
5 | // Created by Safx Developer on 2015/09/27.
6 | //
7 | //
8 |
9 | import UIKit
10 |
11 | protocol ShapeViewDelegate {
12 | func draw(rect: CGRect)
13 | }
14 |
15 | class ShapeView: UIView {
16 |
17 | var delegate: ShapeViewDelegate?
18 |
19 | override func drawRect(rect: CGRect) {
20 | super.drawRect(rect)
21 |
22 | guard let d = delegate else { return }
23 | d.draw(rect)
24 | }
25 |
26 | }
27 |
28 |
--------------------------------------------------------------------------------
/SampleX/ViewController.swift:
--------------------------------------------------------------------------------
1 | //
2 | // ViewController.swift
3 | // SampleX
4 | //
5 | // Created by Safx Developer on 2015/09/27.
6 | //
7 | //
8 |
9 | import UIKit
10 |
11 | class ViewController: UIViewController {
12 | @IBOutlet weak var bundleLabel: UILabel! {
13 | didSet { bundleLabel.text = myID.componentsSeparatedByString(".").last }
14 | }
15 | @IBOutlet weak var otherLabel: UILabel!
16 |
17 | private var previousData: String = ""
18 |
19 | private var queue: dispatch_queue_t!
20 | private var timer: dispatch_source_t!
21 |
22 | private var model: [Shape] = []
23 | private var draggingModelIndex: Int = -1
24 | private var dragOffset: CGPoint! = CGPointZero
25 | private var modelOfOtherProcess: Shape?
26 |
27 | private lazy var myPasteboard: UIPasteboard = {
28 | return UIPasteboard(name: self.myID, create: true)!
29 | }()
30 |
31 | private var myID: String = NSBundle.mainBundle().bundleIdentifier!
32 |
33 | private lazy var otherID: String = {
34 | return self.myID == "com.blogspot.safx-dev.SampleX" ? "com.blogspot.safx-dev.SampleY" : "com.blogspot.safx-dev.SampleX"
35 | }()
36 |
37 | deinit {
38 | UIPasteboard.removePasteboardWithName(myID)
39 | }
40 |
41 | override func viewDidLoad() {
42 | super.viewDidLoad()
43 |
44 | (view as! ShapeView).delegate = self
45 |
46 | if myID == "com.blogspot.safx-dev.SampleX" {
47 | model.append(.Rectangle(pos: CGPointMake(80, 280), size: CGSizeMake(80, 80), color: UIColor.blueColor()))
48 | model.append(.Ellipse(pos: CGPointMake(20, 220), size: CGSizeMake(50, 50), color: UIColor.redColor()))
49 | } else {
50 | model.append(.Rectangle(pos: CGPointMake(80, 320), size: CGSizeMake(50, 50), color: UIColor.greenColor()))
51 | model.append(.Ellipse(pos: CGPointMake(20, 220), size: CGSizeMake(80, 80), color: UIColor.cyanColor()))
52 | }
53 |
54 | queue = myID.withCString { dispatch_queue_create($0, nil) }
55 | timer = dispatch_source_create(DISPATCH_SOURCE_TYPE_TIMER, 0, 0, queue)
56 | dispatch_source_set_timer(timer, dispatch_time_t(DISPATCH_TIME_NOW), USEC_PER_SEC * 50, 0)
57 | dispatch_source_set_event_handler(timer) { () -> Void in
58 | self.updateModelOfOtherProcess()
59 | }
60 | dispatch_resume(timer)
61 | }
62 |
63 | private func updateModelOfOtherProcess() {
64 | assert(NSThread.mainThread() != NSThread.currentThread())
65 |
66 | if let otherpb = UIPasteboard(name: otherID, create: false), s = otherpb.string where s != previousData {
67 | previousData = s
68 |
69 | let ss = s.componentsSeparatedByString(",")
70 | switch (ss[0], ss.count) {
71 | case ("B", 7): // touchBegan
72 | let size = ss[2...3].flatMap{Int($0)}.flatMap{CGFloat($0)}
73 | let offset = ss[5...6].flatMap{Int($0)}.flatMap{CGFloat($0)}
74 | if let shape = Shape.createShape(ss[1], size: CGSizeMake(size[0], size[1]), color: ss[4]) {
75 | modelOfOtherProcess = shape
76 | dragOffset = CGPointMake(offset[0], offset[1])
77 | }
78 | case ("M", 3): // touchMoved
79 | if modelOfOtherProcess == nil { return }
80 | let ns = ss[1...2].flatMap{Int($0)}.flatMap{CGFloat($0)}
81 | let x = ns[0]
82 | let p = CGPointMake(x >= 0 ? x : view.frame.size.width + x, ns[1])
83 | modelOfOtherProcess!.changePosition(CGPointMake(dragOffset.x + p.x, dragOffset.y + p.y))
84 | case ("O", 1): // touchMoved but model is still contained in other view
85 | if modelOfOtherProcess == nil { return }
86 | let p = CGPointMake(-10000, -10000) // FIXME
87 | modelOfOtherProcess!.changePosition(p)
88 | case ("E", 1): // touchEnded
89 | if modelOfOtherProcess == nil { return }
90 | model.append(modelOfOtherProcess!)
91 | modelOfOtherProcess = nil
92 | case ("C", 1): fallthrough // touchCancelled
93 | default:
94 | modelOfOtherProcess = nil
95 | }
96 |
97 | dispatch_async(dispatch_get_main_queue()) { () -> Void in
98 | self.otherLabel.text = s
99 | self.view.setNeedsDisplay()
100 | }
101 | }
102 | }
103 |
104 | override func touchesBegan(touches: Set, withEvent event: UIEvent?) {
105 | super.touchesBegan(touches, withEvent: event)
106 |
107 | let p = touches.first!.locationInView(view)
108 | for (idx, e) in model.enumerate() {
109 | if e.isClicked(p) {
110 | draggingModelIndex = idx
111 | let m = model[draggingModelIndex]
112 |
113 | dragOffset = CGPointMake(m.position.x - p.x, m.position.y - p.y)
114 |
115 | myPasteboard.string = "B,\(m.string),\(Int(dragOffset.x)),\(Int(dragOffset.y))"
116 | return
117 | }
118 | }
119 | draggingModelIndex = -1
120 | }
121 |
122 | override func touchesMoved(touches: Set, withEvent event: UIEvent?) {
123 | super.touchesMoved(touches, withEvent: event)
124 |
125 | if 0 > draggingModelIndex || draggingModelIndex >= model.count { return }
126 |
127 | let p = touches.first!.locationInView(view)
128 | model[draggingModelIndex].changePosition(CGPointMake(dragOffset.x + p.x, dragOffset.y + p.y))
129 |
130 | let f = view.frame
131 | if p.x < f.minX {
132 | myPasteboard.string = "M,\(Int(p.x-0.5)),\(Int(p.y))"
133 | } else if f.maxX <= p.x {
134 | myPasteboard.string = "M,\(Int(p.x-f.maxX)),\(Int(p.y))"
135 | } else {
136 | myPasteboard.string = "O"
137 | }
138 | view.setNeedsDisplay()
139 | }
140 |
141 | override func touchesCancelled(touches: Set?, withEvent event: UIEvent?) {
142 | super.touchesCancelled(touches, withEvent: event)
143 |
144 | myPasteboard.string = "C"
145 | draggingModelIndex = -1
146 | }
147 |
148 | override func touchesEnded(touches: Set, withEvent event: UIEvent?) {
149 | super.touchesEnded(touches, withEvent: event)
150 |
151 | if 0 > draggingModelIndex || draggingModelIndex >= model.count { return }
152 |
153 | let p = touches.first!.locationInView(view)
154 | model[draggingModelIndex].changePosition(CGPointMake(dragOffset.x + p.x, dragOffset.y + p.y))
155 |
156 | if view.frame.contains(p) {
157 | myPasteboard.string = "C"
158 | } else {
159 | myPasteboard.string = "E"
160 | model.removeAtIndex(draggingModelIndex)
161 | }
162 | view.setNeedsDisplay()
163 |
164 | draggingModelIndex = -1
165 | }
166 |
167 | override func viewDidLayoutSubviews() {
168 | view.setNeedsDisplay()
169 | }
170 | }
171 |
172 | extension ViewController: ShapeViewDelegate {
173 | func draw(rect: CGRect) {
174 | model.forEach { $0.draw() }
175 | modelOfOtherProcess?.draw()
176 | }
177 | }
178 |
--------------------------------------------------------------------------------
/SampleY/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "ipad",
5 | "size" : "29x29",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "ipad",
10 | "size" : "29x29",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "ipad",
15 | "size" : "40x40",
16 | "scale" : "1x"
17 | },
18 | {
19 | "idiom" : "ipad",
20 | "size" : "40x40",
21 | "scale" : "2x"
22 | },
23 | {
24 | "idiom" : "ipad",
25 | "size" : "76x76",
26 | "scale" : "1x"
27 | },
28 | {
29 | "size" : "76x76",
30 | "idiom" : "ipad",
31 | "filename" : "SampleY.png",
32 | "scale" : "2x"
33 | }
34 | ],
35 | "info" : {
36 | "version" : 1,
37 | "author" : "xcode"
38 | }
39 | }
--------------------------------------------------------------------------------
/SampleY/Assets.xcassets/AppIcon.appiconset/SampleY.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/safx/iOS9-InterApp-DnD-Demo/5d266d5d7ca01d6c31cff6fe28f94e1187364615/SampleY/Assets.xcassets/AppIcon.appiconset/SampleY.png
--------------------------------------------------------------------------------
/SampleY/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
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 | Main
27 | UIMainStoryboardFile
28 | Main
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UISupportedInterfaceOrientations~ipad
34 |
35 | UIInterfaceOrientationPortrait
36 | UIInterfaceOrientationPortraitUpsideDown
37 | UIInterfaceOrientationLandscapeLeft
38 | UIInterfaceOrientationLandscapeRight
39 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/ios9-dnd-demo.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 8DB355131BB6EBF6007EE8A7 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8DB355121BB6EBF6007EE8A7 /* AppDelegate.swift */; };
11 | 8DB355151BB6EBF6007EE8A7 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8DB355141BB6EBF6007EE8A7 /* ViewController.swift */; };
12 | 8DB355181BB6EBF6007EE8A7 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 8DB355161BB6EBF6007EE8A7 /* Main.storyboard */; };
13 | 8DB3551A1BB6EBF6007EE8A7 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 8DB355191BB6EBF6007EE8A7 /* Assets.xcassets */; };
14 | 8DB355301BB6EC43007EE8A7 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 8DB3552F1BB6EC43007EE8A7 /* Assets.xcassets */; };
15 | 8DB355381BB6EC81007EE8A7 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 8DB355161BB6EBF6007EE8A7 /* Main.storyboard */; settings = {ASSET_TAGS = (); }; };
16 | 8DB355391BB6EC86007EE8A7 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8DB355121BB6EBF6007EE8A7 /* AppDelegate.swift */; settings = {ASSET_TAGS = (); }; };
17 | 8DB3553A1BB6EC86007EE8A7 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8DB355141BB6EBF6007EE8A7 /* ViewController.swift */; settings = {ASSET_TAGS = (); }; };
18 | 8DB3553C1BB6EED7007EE8A7 /* Shape.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8DB3553B1BB6EED7007EE8A7 /* Shape.swift */; settings = {ASSET_TAGS = (); }; };
19 | 8DB3553D1BB6EED7007EE8A7 /* Shape.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8DB3553B1BB6EED7007EE8A7 /* Shape.swift */; settings = {ASSET_TAGS = (); }; };
20 | 8DB3553F1BB6EEF9007EE8A7 /* ShapeView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8DB3553E1BB6EEF9007EE8A7 /* ShapeView.swift */; settings = {ASSET_TAGS = (); }; };
21 | 8DB355401BB6EEF9007EE8A7 /* ShapeView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8DB3553E1BB6EEF9007EE8A7 /* ShapeView.swift */; settings = {ASSET_TAGS = (); }; };
22 | /* End PBXBuildFile section */
23 |
24 | /* Begin PBXFileReference section */
25 | 8DB3550F1BB6EBF6007EE8A7 /* SampleX.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SampleX.app; sourceTree = BUILT_PRODUCTS_DIR; };
26 | 8DB355121BB6EBF6007EE8A7 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
27 | 8DB355141BB6EBF6007EE8A7 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; };
28 | 8DB355171BB6EBF6007EE8A7 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
29 | 8DB355191BB6EBF6007EE8A7 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
30 | 8DB3551E1BB6EBF6007EE8A7 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
31 | 8DB355261BB6EC43007EE8A7 /* SampleY.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SampleY.app; sourceTree = BUILT_PRODUCTS_DIR; };
32 | 8DB3552F1BB6EC43007EE8A7 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
33 | 8DB355341BB6EC44007EE8A7 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
34 | 8DB3553B1BB6EED7007EE8A7 /* Shape.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Shape.swift; sourceTree = ""; };
35 | 8DB3553E1BB6EEF9007EE8A7 /* ShapeView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ShapeView.swift; sourceTree = ""; };
36 | /* End PBXFileReference section */
37 |
38 | /* Begin PBXFrameworksBuildPhase section */
39 | 8DB3550C1BB6EBF6007EE8A7 /* Frameworks */ = {
40 | isa = PBXFrameworksBuildPhase;
41 | buildActionMask = 2147483647;
42 | files = (
43 | );
44 | runOnlyForDeploymentPostprocessing = 0;
45 | };
46 | 8DB355231BB6EC43007EE8A7 /* Frameworks */ = {
47 | isa = PBXFrameworksBuildPhase;
48 | buildActionMask = 2147483647;
49 | files = (
50 | );
51 | runOnlyForDeploymentPostprocessing = 0;
52 | };
53 | /* End PBXFrameworksBuildPhase section */
54 |
55 | /* Begin PBXGroup section */
56 | 8DB355041BB6EBDC007EE8A7 = {
57 | isa = PBXGroup;
58 | children = (
59 | 8DB355111BB6EBF6007EE8A7 /* SampleX */,
60 | 8DB355271BB6EC43007EE8A7 /* SampleY */,
61 | 8DB355101BB6EBF6007EE8A7 /* Products */,
62 | );
63 | sourceTree = "";
64 | };
65 | 8DB355101BB6EBF6007EE8A7 /* Products */ = {
66 | isa = PBXGroup;
67 | children = (
68 | 8DB3550F1BB6EBF6007EE8A7 /* SampleX.app */,
69 | 8DB355261BB6EC43007EE8A7 /* SampleY.app */,
70 | );
71 | name = Products;
72 | sourceTree = "";
73 | };
74 | 8DB355111BB6EBF6007EE8A7 /* SampleX */ = {
75 | isa = PBXGroup;
76 | children = (
77 | 8DB355121BB6EBF6007EE8A7 /* AppDelegate.swift */,
78 | 8DB355141BB6EBF6007EE8A7 /* ViewController.swift */,
79 | 8DB3553B1BB6EED7007EE8A7 /* Shape.swift */,
80 | 8DB3553E1BB6EEF9007EE8A7 /* ShapeView.swift */,
81 | 8DB355161BB6EBF6007EE8A7 /* Main.storyboard */,
82 | 8DB355191BB6EBF6007EE8A7 /* Assets.xcassets */,
83 | 8DB3551E1BB6EBF6007EE8A7 /* Info.plist */,
84 | );
85 | path = SampleX;
86 | sourceTree = "";
87 | };
88 | 8DB355271BB6EC43007EE8A7 /* SampleY */ = {
89 | isa = PBXGroup;
90 | children = (
91 | 8DB3552F1BB6EC43007EE8A7 /* Assets.xcassets */,
92 | 8DB355341BB6EC44007EE8A7 /* Info.plist */,
93 | );
94 | path = SampleY;
95 | sourceTree = "";
96 | };
97 | /* End PBXGroup section */
98 |
99 | /* Begin PBXNativeTarget section */
100 | 8DB3550E1BB6EBF6007EE8A7 /* SampleX */ = {
101 | isa = PBXNativeTarget;
102 | buildConfigurationList = 8DB3551F1BB6EBF6007EE8A7 /* Build configuration list for PBXNativeTarget "SampleX" */;
103 | buildPhases = (
104 | 8DB3550B1BB6EBF6007EE8A7 /* Sources */,
105 | 8DB3550C1BB6EBF6007EE8A7 /* Frameworks */,
106 | 8DB3550D1BB6EBF6007EE8A7 /* Resources */,
107 | );
108 | buildRules = (
109 | );
110 | dependencies = (
111 | );
112 | name = SampleX;
113 | productName = SampleX;
114 | productReference = 8DB3550F1BB6EBF6007EE8A7 /* SampleX.app */;
115 | productType = "com.apple.product-type.application";
116 | };
117 | 8DB355251BB6EC43007EE8A7 /* SampleY */ = {
118 | isa = PBXNativeTarget;
119 | buildConfigurationList = 8DB355351BB6EC44007EE8A7 /* Build configuration list for PBXNativeTarget "SampleY" */;
120 | buildPhases = (
121 | 8DB355221BB6EC43007EE8A7 /* Sources */,
122 | 8DB355231BB6EC43007EE8A7 /* Frameworks */,
123 | 8DB355241BB6EC43007EE8A7 /* Resources */,
124 | );
125 | buildRules = (
126 | );
127 | dependencies = (
128 | );
129 | name = SampleY;
130 | productName = SampleY;
131 | productReference = 8DB355261BB6EC43007EE8A7 /* SampleY.app */;
132 | productType = "com.apple.product-type.application";
133 | };
134 | /* End PBXNativeTarget section */
135 |
136 | /* Begin PBXProject section */
137 | 8DB355051BB6EBDC007EE8A7 /* Project object */ = {
138 | isa = PBXProject;
139 | attributes = {
140 | LastUpgradeCheck = 0700;
141 | TargetAttributes = {
142 | 8DB3550E1BB6EBF6007EE8A7 = {
143 | CreatedOnToolsVersion = 7.0;
144 | };
145 | 8DB355251BB6EC43007EE8A7 = {
146 | CreatedOnToolsVersion = 7.0;
147 | };
148 | };
149 | };
150 | buildConfigurationList = 8DB355081BB6EBDC007EE8A7 /* Build configuration list for PBXProject "ios9-dnd-demo" */;
151 | compatibilityVersion = "Xcode 3.2";
152 | developmentRegion = English;
153 | hasScannedForEncodings = 0;
154 | knownRegions = (
155 | en,
156 | Base,
157 | );
158 | mainGroup = 8DB355041BB6EBDC007EE8A7;
159 | productRefGroup = 8DB355101BB6EBF6007EE8A7 /* Products */;
160 | projectDirPath = "";
161 | projectRoot = "";
162 | targets = (
163 | 8DB3550E1BB6EBF6007EE8A7 /* SampleX */,
164 | 8DB355251BB6EC43007EE8A7 /* SampleY */,
165 | );
166 | };
167 | /* End PBXProject section */
168 |
169 | /* Begin PBXResourcesBuildPhase section */
170 | 8DB3550D1BB6EBF6007EE8A7 /* Resources */ = {
171 | isa = PBXResourcesBuildPhase;
172 | buildActionMask = 2147483647;
173 | files = (
174 | 8DB3551A1BB6EBF6007EE8A7 /* Assets.xcassets in Resources */,
175 | 8DB355181BB6EBF6007EE8A7 /* Main.storyboard in Resources */,
176 | );
177 | runOnlyForDeploymentPostprocessing = 0;
178 | };
179 | 8DB355241BB6EC43007EE8A7 /* Resources */ = {
180 | isa = PBXResourcesBuildPhase;
181 | buildActionMask = 2147483647;
182 | files = (
183 | 8DB355301BB6EC43007EE8A7 /* Assets.xcassets in Resources */,
184 | 8DB355381BB6EC81007EE8A7 /* Main.storyboard in Resources */,
185 | );
186 | runOnlyForDeploymentPostprocessing = 0;
187 | };
188 | /* End PBXResourcesBuildPhase section */
189 |
190 | /* Begin PBXSourcesBuildPhase section */
191 | 8DB3550B1BB6EBF6007EE8A7 /* Sources */ = {
192 | isa = PBXSourcesBuildPhase;
193 | buildActionMask = 2147483647;
194 | files = (
195 | 8DB355151BB6EBF6007EE8A7 /* ViewController.swift in Sources */,
196 | 8DB3553C1BB6EED7007EE8A7 /* Shape.swift in Sources */,
197 | 8DB3553F1BB6EEF9007EE8A7 /* ShapeView.swift in Sources */,
198 | 8DB355131BB6EBF6007EE8A7 /* AppDelegate.swift in Sources */,
199 | );
200 | runOnlyForDeploymentPostprocessing = 0;
201 | };
202 | 8DB355221BB6EC43007EE8A7 /* Sources */ = {
203 | isa = PBXSourcesBuildPhase;
204 | buildActionMask = 2147483647;
205 | files = (
206 | 8DB3553A1BB6EC86007EE8A7 /* ViewController.swift in Sources */,
207 | 8DB3553D1BB6EED7007EE8A7 /* Shape.swift in Sources */,
208 | 8DB355401BB6EEF9007EE8A7 /* ShapeView.swift in Sources */,
209 | 8DB355391BB6EC86007EE8A7 /* AppDelegate.swift in Sources */,
210 | );
211 | runOnlyForDeploymentPostprocessing = 0;
212 | };
213 | /* End PBXSourcesBuildPhase section */
214 |
215 | /* Begin PBXVariantGroup section */
216 | 8DB355161BB6EBF6007EE8A7 /* Main.storyboard */ = {
217 | isa = PBXVariantGroup;
218 | children = (
219 | 8DB355171BB6EBF6007EE8A7 /* Base */,
220 | );
221 | name = Main.storyboard;
222 | sourceTree = "";
223 | };
224 | /* End PBXVariantGroup section */
225 |
226 | /* Begin XCBuildConfiguration section */
227 | 8DB355091BB6EBDC007EE8A7 /* Debug */ = {
228 | isa = XCBuildConfiguration;
229 | buildSettings = {
230 | };
231 | name = Debug;
232 | };
233 | 8DB3550A1BB6EBDC007EE8A7 /* Release */ = {
234 | isa = XCBuildConfiguration;
235 | buildSettings = {
236 | };
237 | name = Release;
238 | };
239 | 8DB355201BB6EBF6007EE8A7 /* Debug */ = {
240 | isa = XCBuildConfiguration;
241 | buildSettings = {
242 | ALWAYS_SEARCH_USER_PATHS = NO;
243 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
244 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
245 | CLANG_CXX_LIBRARY = "libc++";
246 | CLANG_ENABLE_MODULES = YES;
247 | CLANG_ENABLE_OBJC_ARC = YES;
248 | CLANG_WARN_BOOL_CONVERSION = YES;
249 | CLANG_WARN_CONSTANT_CONVERSION = YES;
250 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
251 | CLANG_WARN_EMPTY_BODY = YES;
252 | CLANG_WARN_ENUM_CONVERSION = YES;
253 | CLANG_WARN_INT_CONVERSION = YES;
254 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
255 | CLANG_WARN_UNREACHABLE_CODE = YES;
256 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
257 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
258 | COPY_PHASE_STRIP = NO;
259 | DEBUG_INFORMATION_FORMAT = dwarf;
260 | ENABLE_STRICT_OBJC_MSGSEND = YES;
261 | ENABLE_TESTABILITY = YES;
262 | GCC_C_LANGUAGE_STANDARD = gnu99;
263 | GCC_DYNAMIC_NO_PIC = NO;
264 | GCC_NO_COMMON_BLOCKS = YES;
265 | GCC_OPTIMIZATION_LEVEL = 0;
266 | GCC_PREPROCESSOR_DEFINITIONS = (
267 | "DEBUG=1",
268 | "$(inherited)",
269 | );
270 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
271 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
272 | GCC_WARN_UNDECLARED_SELECTOR = YES;
273 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
274 | GCC_WARN_UNUSED_FUNCTION = YES;
275 | GCC_WARN_UNUSED_VARIABLE = YES;
276 | INFOPLIST_FILE = SampleX/Info.plist;
277 | IPHONEOS_DEPLOYMENT_TARGET = 9.0;
278 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
279 | MTL_ENABLE_DEBUG_INFO = YES;
280 | ONLY_ACTIVE_ARCH = YES;
281 | PRODUCT_BUNDLE_IDENTIFIER = "com.blogspot.safx-dev.SampleX";
282 | PRODUCT_NAME = "$(TARGET_NAME)";
283 | SDKROOT = iphoneos;
284 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
285 | TARGETED_DEVICE_FAMILY = 2;
286 | };
287 | name = Debug;
288 | };
289 | 8DB355211BB6EBF6007EE8A7 /* Release */ = {
290 | isa = XCBuildConfiguration;
291 | buildSettings = {
292 | ALWAYS_SEARCH_USER_PATHS = NO;
293 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
294 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
295 | CLANG_CXX_LIBRARY = "libc++";
296 | CLANG_ENABLE_MODULES = YES;
297 | CLANG_ENABLE_OBJC_ARC = YES;
298 | CLANG_WARN_BOOL_CONVERSION = YES;
299 | CLANG_WARN_CONSTANT_CONVERSION = YES;
300 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
301 | CLANG_WARN_EMPTY_BODY = YES;
302 | CLANG_WARN_ENUM_CONVERSION = YES;
303 | CLANG_WARN_INT_CONVERSION = YES;
304 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
305 | CLANG_WARN_UNREACHABLE_CODE = YES;
306 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
307 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
308 | COPY_PHASE_STRIP = NO;
309 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
310 | ENABLE_NS_ASSERTIONS = NO;
311 | ENABLE_STRICT_OBJC_MSGSEND = YES;
312 | GCC_C_LANGUAGE_STANDARD = gnu99;
313 | GCC_NO_COMMON_BLOCKS = YES;
314 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
315 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
316 | GCC_WARN_UNDECLARED_SELECTOR = YES;
317 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
318 | GCC_WARN_UNUSED_FUNCTION = YES;
319 | GCC_WARN_UNUSED_VARIABLE = YES;
320 | INFOPLIST_FILE = SampleX/Info.plist;
321 | IPHONEOS_DEPLOYMENT_TARGET = 9.0;
322 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
323 | MTL_ENABLE_DEBUG_INFO = NO;
324 | PRODUCT_BUNDLE_IDENTIFIER = "com.blogspot.safx-dev.SampleX";
325 | PRODUCT_NAME = "$(TARGET_NAME)";
326 | SDKROOT = iphoneos;
327 | TARGETED_DEVICE_FAMILY = 2;
328 | VALIDATE_PRODUCT = YES;
329 | };
330 | name = Release;
331 | };
332 | 8DB355361BB6EC44007EE8A7 /* Debug */ = {
333 | isa = XCBuildConfiguration;
334 | buildSettings = {
335 | ALWAYS_SEARCH_USER_PATHS = NO;
336 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
337 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
338 | CLANG_CXX_LIBRARY = "libc++";
339 | CLANG_ENABLE_MODULES = YES;
340 | CLANG_ENABLE_OBJC_ARC = YES;
341 | CLANG_WARN_BOOL_CONVERSION = YES;
342 | CLANG_WARN_CONSTANT_CONVERSION = YES;
343 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
344 | CLANG_WARN_EMPTY_BODY = YES;
345 | CLANG_WARN_ENUM_CONVERSION = YES;
346 | CLANG_WARN_INT_CONVERSION = YES;
347 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
348 | CLANG_WARN_UNREACHABLE_CODE = YES;
349 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
350 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
351 | COPY_PHASE_STRIP = NO;
352 | DEBUG_INFORMATION_FORMAT = dwarf;
353 | ENABLE_STRICT_OBJC_MSGSEND = YES;
354 | ENABLE_TESTABILITY = YES;
355 | GCC_C_LANGUAGE_STANDARD = gnu99;
356 | GCC_DYNAMIC_NO_PIC = NO;
357 | GCC_NO_COMMON_BLOCKS = YES;
358 | GCC_OPTIMIZATION_LEVEL = 0;
359 | GCC_PREPROCESSOR_DEFINITIONS = (
360 | "DEBUG=1",
361 | "$(inherited)",
362 | );
363 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
364 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
365 | GCC_WARN_UNDECLARED_SELECTOR = YES;
366 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
367 | GCC_WARN_UNUSED_FUNCTION = YES;
368 | GCC_WARN_UNUSED_VARIABLE = YES;
369 | INFOPLIST_FILE = SampleY/Info.plist;
370 | IPHONEOS_DEPLOYMENT_TARGET = 9.0;
371 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
372 | MTL_ENABLE_DEBUG_INFO = YES;
373 | ONLY_ACTIVE_ARCH = YES;
374 | PRODUCT_BUNDLE_IDENTIFIER = "com.blogspot.safx-dev.SampleY";
375 | PRODUCT_NAME = "$(TARGET_NAME)";
376 | SDKROOT = iphoneos;
377 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
378 | TARGETED_DEVICE_FAMILY = 2;
379 | };
380 | name = Debug;
381 | };
382 | 8DB355371BB6EC44007EE8A7 /* Release */ = {
383 | isa = XCBuildConfiguration;
384 | buildSettings = {
385 | ALWAYS_SEARCH_USER_PATHS = NO;
386 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
387 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
388 | CLANG_CXX_LIBRARY = "libc++";
389 | CLANG_ENABLE_MODULES = YES;
390 | CLANG_ENABLE_OBJC_ARC = YES;
391 | CLANG_WARN_BOOL_CONVERSION = YES;
392 | CLANG_WARN_CONSTANT_CONVERSION = YES;
393 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
394 | CLANG_WARN_EMPTY_BODY = YES;
395 | CLANG_WARN_ENUM_CONVERSION = YES;
396 | CLANG_WARN_INT_CONVERSION = YES;
397 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
398 | CLANG_WARN_UNREACHABLE_CODE = YES;
399 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
400 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
401 | COPY_PHASE_STRIP = NO;
402 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
403 | ENABLE_NS_ASSERTIONS = NO;
404 | ENABLE_STRICT_OBJC_MSGSEND = YES;
405 | GCC_C_LANGUAGE_STANDARD = gnu99;
406 | GCC_NO_COMMON_BLOCKS = YES;
407 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
408 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
409 | GCC_WARN_UNDECLARED_SELECTOR = YES;
410 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
411 | GCC_WARN_UNUSED_FUNCTION = YES;
412 | GCC_WARN_UNUSED_VARIABLE = YES;
413 | INFOPLIST_FILE = SampleY/Info.plist;
414 | IPHONEOS_DEPLOYMENT_TARGET = 9.0;
415 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
416 | MTL_ENABLE_DEBUG_INFO = NO;
417 | PRODUCT_BUNDLE_IDENTIFIER = "com.blogspot.safx-dev.SampleY";
418 | PRODUCT_NAME = "$(TARGET_NAME)";
419 | SDKROOT = iphoneos;
420 | TARGETED_DEVICE_FAMILY = 2;
421 | VALIDATE_PRODUCT = YES;
422 | };
423 | name = Release;
424 | };
425 | /* End XCBuildConfiguration section */
426 |
427 | /* Begin XCConfigurationList section */
428 | 8DB355081BB6EBDC007EE8A7 /* Build configuration list for PBXProject "ios9-dnd-demo" */ = {
429 | isa = XCConfigurationList;
430 | buildConfigurations = (
431 | 8DB355091BB6EBDC007EE8A7 /* Debug */,
432 | 8DB3550A1BB6EBDC007EE8A7 /* Release */,
433 | );
434 | defaultConfigurationIsVisible = 0;
435 | defaultConfigurationName = Release;
436 | };
437 | 8DB3551F1BB6EBF6007EE8A7 /* Build configuration list for PBXNativeTarget "SampleX" */ = {
438 | isa = XCConfigurationList;
439 | buildConfigurations = (
440 | 8DB355201BB6EBF6007EE8A7 /* Debug */,
441 | 8DB355211BB6EBF6007EE8A7 /* Release */,
442 | );
443 | defaultConfigurationIsVisible = 0;
444 | };
445 | 8DB355351BB6EC44007EE8A7 /* Build configuration list for PBXNativeTarget "SampleY" */ = {
446 | isa = XCConfigurationList;
447 | buildConfigurations = (
448 | 8DB355361BB6EC44007EE8A7 /* Debug */,
449 | 8DB355371BB6EC44007EE8A7 /* Release */,
450 | );
451 | defaultConfigurationIsVisible = 0;
452 | };
453 | /* End XCConfigurationList section */
454 | };
455 | rootObject = 8DB355051BB6EBDC007EE8A7 /* Project object */;
456 | }
457 |
--------------------------------------------------------------------------------
/ios9-dnd-demo.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ios9-dnd.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/safx/iOS9-InterApp-DnD-Demo/5d266d5d7ca01d6c31cff6fe28f94e1187364615/ios9-dnd.gif
--------------------------------------------------------------------------------