Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Tips & Tricks for iPhone Application Development

Tips & Tricks for iPhone Application Development

Presentation shown in Copenhagen, Denmark.

Avatar for Adrian Kosmaczewski

Adrian Kosmaczewski

August 27, 2009
Tweet

More Decks by Adrian Kosmaczewski

Other Decks in Technology

Transcript

  1. • Thin layer around C • Message-dispatch runtime • Static

    and dynamic (you choose) • The “real” father of Java: • http://cs.gmu.edu/~sean/stuff/java-objc.html
  2. • Single inheritance + interfaces (“@protocols”) • @protocols can have

    optional methods • Fields protected by default • All methods are virtual and overridable • Methods can be added to existing classes • Full introspection / reflection • Messages can be intercepted and forwarded • à la AOP!
  3. // C++ // Memory freed when out of scope std::string

    name(“Adrian”); std::string *name = NULL; name = new std::string(“Adrian”); delete name;