1 / 15

OOP Boot Camp

Learn the basics of Object-Oriented Programming (OOP) for developing applications on Xcode and iPhone. Topics covered include variables, datatypes, control flow, OOP concepts, methods, memory management, symbols, files, and more. Get additional help from iTunes U, Stanford iPhone Application Development course, online resources, and networking opportunities.

stanleyf
Download Presentation

OOP Boot Camp

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. OOP Boot Camp Prep for Xcode and iPhone Development

  2. Variables • Information storage • Should be well named • Case sensitive • “Camel Case”

  3. Variables • Datatypes • BOOL • int • float / double • char • http://www.techotopia.com/index.php/Objective-C_2.0_Data_Types

  4. Variables • Datatypes • Array • Dictionary • String • Enum • Struct • Id • Pointer

  5. Control • If / Then / Else • For Loop • While Loop

  6. OOP • Object – *IS* a thing

  7. OOP • Class – Describes a thing • Holds information • Knows how to do things

  8. OOP • Instance – is a specific thing that has the properties of our Class

  9. Methods • How your object DOES WORK • Should be well named • Parameters • Return value

  10. Methods • - Instance Methods • You need to have an instantiated instance to call this method • (This is used most of the time) • + Class Methods • No instance required • Constructor

  11. Memory • If you allocate it, you need to release it

  12. Symbols • Math: + - * / % • Relation: > < >= <= != == • Assignment: = • Logic: && || !

  13. Files • Interface • Implementation

  14. More help • iTunes U • Stanford iPhone Application Development • First 3 lessons

  15. Connection • Google • Blogs • Twitter • Meetups • Relationships

More Related