iOS Bootcamp: learning to create awesome apps on iOS using Swift (Lecture 01)
This is the second lecture in my mobile apps development course. This lectures consists of a very high level discussion of the tools needed to develop for iOS (e.g. Xcode). We also talk very briefly about iOS's Model/View/Controller architecture. The course is an intensive and very compressed deep dive into iOS development in Swift. Visit the course web page to get copies of the course outline, lecture notes, sample code, etc. Course website: http://www.themobilemontage.com/2015/05/12/ios-bootcamp-learning-to-create-awesome-apps-on-ios-using-swift/
YouTube Link to lecture: https://youtu.be/XchvSH4EYEk
CREATING USER INTERFACES
• We have two options on iOS:
• Use “nib” ﬁles to instantiate UI:
• *.storyboard: Storyboards contains multiple screens
as well as the segues between them.
• *.xib: Contain a single screen layout.
• Programmatically create user interface.
WHICH APPROACH IS BEST?
• Storyboards are easiest to work with but…
• When multiple developers edit the same storyboard
simultaneously, merging those changes can be problematic.
• Many shops use *.xib’s and avoid *.storyboards.
• Highly custom user interfaces may avoid using nib
instantiated user-interfaces altogether! (Games, etc. )