iPhone SDK Articles
iOS Tutorials

    NULL or nil?

    On August 29, 2011 · In Uncategorized

    In Cocoa both of them are typedef to zero. nil is an object pointer, whereas NULL is a c pointer.  If you want to set char * to 0 then you would set it to NULL and if you want to set a view controller to 0 then you would set it to nil. Cocoa [...]

    Continue Reading →
    • Categories

      • Application Preferences
      • iPhone Google Groups
      • iPhone SDK Tutorials
      • Localization
      • Parsing XML
      • SQLite
      • Touches
      • UIAlertView
      • UIPickerView
      • UITableView
      • UIToolbar
      • UIWebView
      • Uncategorized
    • Archives

      • August 2011
      • March 2009
      • February 2009
      • January 2009
      • December 2008
      • November 2008
      • October 2008
      • September 2008
      • August 2008
      • July 2008
    • Tags

    iPhone SDK Articles

    Pages

    • About
    • Contact

    The Latest

    • NULL or nil?
      In Cocoa both of them are typedef to zero. nil is an […]

    More

    © 2011 iPhone SDK Articles
    Platform by PageLines