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:35]
xuan [Git]
android-labs-s16:ios_tutorial_2 [2016/02/05 15:32] (current)
xuan [CocoaPod]
Line 11: Line 11:
 In the first lecture of the crash course you should have made a basic interface for the sample Instagram app. Since following lectures will build upon this content it would be nice if your code perfectly matches the sample code. In the first lecture of the crash course you should have made a basic interface for the sample Instagram app. Since following lectures will build upon this content it would be nice if your code perfectly matches the sample code.
  
-The app has been checkpointed at a finished state after lecture 1 and uploaded to GitHub as a repository. You should clone this repository for lecture 2. If you have never used GitHub or even Git, read about it [[http://​www.sbf5.com/​~cduan/​technical/​git/​|here (conceptual overview)]] when you have spare time. [[http://​stackoverflow.com/​questions/​315911/​git-for-beginners-the-definitive-practical-guide|This guide details Git's usage from a practical standpoint.]]+=====Git===== 
 +If you have never used GitHub or even Git, read about it [[http://​www.sbf5.com/​~cduan/​technical/​git/​|here (conceptual overview)]] when you have spare time. [[http://​stackoverflow.com/​questions/​315911/​git-for-beginners-the-definitive-practical-guide|This guide details Git's usage from a practical standpoint.]]
  
 Essentially Git and other revision control/​source code management tools allow you tremendous power when working on individual projects or collaborating with others. It protects you from mistakes, allows multiple people to work on the same project safely, and gives developers the ability to track their progress. Essentially Git and other revision control/​source code management tools allow you tremendous power when working on individual projects or collaborating with others. It protects you from mistakes, allows multiple people to work on the same project safely, and gives developers the ability to track their progress.
- 
-=====Git===== 
  
 The first thing you should do is to start with registering an account of Github : https://​github.com The first thing you should do is to start with registering an account of Github : https://​github.com
Line 55: 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 82: 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 262: Line 268:
  
 DONE!! DONE!!
- 
- 
android-labs-s16/ios_tutorial_2.1454704541.txt.gz · Last modified: 2016/02/05 14:35 by xuan