Intro to iOS Development | The Basics

By Trilby Goouch January 5, 2016
Share

learn how to build an app

Want to get a taste of our part-time Intro to iOS Development course in Toronto? Here’s a quick rundown of what you’ll learn from Tony Goold, Lead iOS Developer for Wattpad.

Best Practice for iOS Developers
  • Backwards compatibility 
  • Universal vs. iPad/iPhone
  • Internationalization – do you want to translate your app to other languages?
  • Responsive design with auto layout – changes across devices automatically
  • Frequent updates – updated frequently pushes you upward on the AppStore
  • Feedback loops: talk to your users and see what works and what doesn’t
    • push notifications, app reviews, analytics
What You’ll Need
  • Find a niche
    • Research app store categories & keywords
  • Design and prototyping tools (InVision, Zeplin)
    • Test prototypes with family and friends
  • Softare development (XCode)
  • Push notifications (Parse, Urban Airship)
  • Feedback service (Apptentive)
Getting Started with XCode
  • Every app is contained in a “project”
  • Templates are provided to get started quickly
  • “Playgrounds” are for testing out bits of code – you cannot make apps in a playground
  • User interface designs go in “storyboards”
  • Instructions (what you want app to do) go in “swift files”
  • To test your app, just hit “play”
Swift Basics
  • Variables and constants
    • 2 slashes at the beginning acts as a comment 
    • “var” means we can change the value after it’s set 
    • “let” means we can’t change the value once it’s set
  • Every value has an implicit or explicit type
    • “Int” means non-fractional numbers
    • “String” means text
    • An “optional” type might not have a value and it is indicated with a question mark
    • “nil” represents the absence of a value
    • We can also assume it will have a value, indicated with an exclamation mark (!)
    • Functions are chunks of code that you can run over and over by name
    • Conditionals are how you make  program do different thing in different circumstances (“if”, “else if”, “else”)
    • A class is a new type of thing
PS. Our workshops will teach you how to create a soundboard app to learn and apply XCode and learn first-hand how to use it.