Extension: Rotation

Not all apps support or need rotation, but it can add an extra dimension. There’s an easy way to do it, but it might not be perfect. For more complex views, you can manually perform the rotation.

Extension: Advanced Tables

iOS tables have a lot more to offer. In this post we explore some of the more common features.

Objective-C Lesson 12: Exception Handling

Exceptions provide a powerful and flexible way to handle issues in your code. Use them wisely—don’t make the runtime system a massive juggling round.

Data Encapsulation

Instance variables should not be “exposed.”

Objects (Part 2): Properties

Properties provide a very convenient way to access instance variables in a object.

Supplement: CS193P

CS193P has become the ubiquitous source of iOS development knowledge; however, it is significantly less useful for non-students. As such, I will be occasionally referring to the lectures, because they do contain a good wealth of knowledge, but they will not hold any exclusive position.

Extension 7: Loop Aids

break and continue are two keywords that let you control the flow of a loop based on certain conditions.

Extension 6: Incrementation

There are two distinct ways to increment the value of a variable, and they are both very concise. It’s a good idea to learn them.

Happy holidays!

Objective-C Lesson 5: Loops

Loops allow you to allow your computer to do a lot of the grunt work. Computers were built to do things over and over again—and it will make your code a lot easier, too.

Extension 5: The switch Statement

The switch() statement is designed to replace a complex if()…else if()…else if()…else block. Is it actually that much more useful? You decide.

  • Welcome

    Xcode App Icon (Glow) (Icon)

    My goal is to make CupsOfCocoa into a beautiful source for beginners to the iPhone platform to get started. Subscribe below for more, and stay tuned!

  • Contact Me

    If you need to contact me for any reason, feel free to send me an email.
  • The Giving Spirit

    If you've found this site helpful, would you consider donating a little sum? Any amount is appreciated...Thanks so much!

  • StackOverflow

  • Roadmap

  • Enter your email address to follow this blog and receive notifications of new posts by email.

    Join 88 other followers

  • Back to the Past

    May 2012
    S M T W T F S
    « Apr    
     12345
    6789101112
    13141516171819
    20212223242526
    2728293031  
  • Time Machine

  • You count!

    • 174,053 views
  • Worldwide Stats

    free counters
Follow

Get every new post delivered to your Inbox.

Join 88 other followers