Design Patterns: Key-Value Observing

Key-Value Observing (KVO) is a design pattern related to KVC which allows you to build more complex applications. By de-coupling models and controllers, you can have a single model power many controllers, allowing larger applications without added complexities.

Mutable vs. Immutable Strings

Both mutable and immutable strings allow you to reassign them to new values, but only immutable strings let you change the value itself in a relatively efficient manner.

An Update

So, it’s been a few weeks since I’ve have time to post here. Unfortunately this busy-ness will last for a few more days, so there won’t be any new content until then. But more importantly, the content on this site—at this point, the Objective-C portion is mostly completed. Over the next few weeks, then, I’ll [...]

WWDC 2011—Initial Impressions

Today Apple began the annual WWDC week with a keynote that introduced OS X Lion, iOS 5, and iCloud. If you haven’t done so yet, check out the keynote stream. Rather than just re-iterate the new features, I’d like to share some of my thoughts. Lion At first, I have to say that as far [...]

Objective-C Lesson 10: Memory Management

On any platform, specifically the memory-constrained iOS platform, memory management is an important topic to keep in mind. It requires diligence on the part of the programmer—but the alternative is slow performance and/or crashes, both of which must be avoided. Following the simple rules is the fool-proof way to keep track of your memory management.

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.

iOS 4.2 Beta 3 Now Available!

iOS 4.2 Beta 3 is out…go download!

Shameless Self-Promotion

Some shameless self-promotion

Objective-C Lesson 2: Basic Variables

In any program, values are expected to change, or vary. Variables are easy to use in Objective-C—it’s as simple as declare, initialize, and go!

Get a Copy of Xcode (It’s Free)

Download Xcode to begin.

  • 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