User Tools

Site Tools


android-labs-s16:ios_tutorial_2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
android-labs-s16:ios_tutorial_2 [2016/02/05 14:37]
xuan
android-labs-s16:ios_tutorial_2 [2016/02/05 15:32] (current)
xuan [CocoaPod]
Line 54: Line 54:
 and do **pod init** and do **pod init**
  
-go on with the **GET STARTED** section **BUT**+open the **Podfile** in the folder
  
-instead of using the example Podfile in the GET STARTED section, use the following+add the following ​text
  
     target '​P2'​ do     target '​P2'​ do
-    pod '​AFBlurSegue',​ '~> 1.2.1' end+    ​ 
 +    ​pod '​AFBlurSegue',​ '~> 1.2.1' 
 +     
 +    ​end
  
-after pod install go to you project, from now on you **should use XXX.xcworkspace**+after **pod install** or **pod update** ​go to you project, from now on you **should use XXX.xcworkspace** 
 + 
 +OSX 10.11 BUG? 
 + 
 +http://​stackoverflow.com/​questions/​32810808/​can-not-perform-pod-install-under-el-capitan-15a279b
  
 {{:​android-labs-s16:​w2-5.png}} {{:​android-labs-s16:​w2-5.png}}
Line 81: Line 88:
 Also by using Also by using
  
-    override func prepareForSegue(segue:​ UIStoryboardSegue!, sender: AnyObject!) ​+    override func prepareForSegue(segue:​ UIStoryboardSegue,​ sender: AnyObject!) ​
     if (segue.identifier == "​XX"​) ​     if (segue.identifier == "​XX"​) ​
  
Line 261: Line 268:
  
 DONE!! DONE!!
- 
android-labs-s16/ios_tutorial_2.1454704632.txt.gz · Last modified: 2016/02/05 14:37 by xuan