Wednesday, August 01, 2012

Nil - NULL - NSNULL

There are 3 ways to represent a null value in Objective-C.

Nil            -> Absence of value with Objective-C object variables.
Null          -> Absence of value with C- style pointers.
NSNULL -> A nil boxed as an object for storage in a collection.

No comments:

Create a list in SwiftUI with sticky section headers

 Sample Code import SwiftUI struct ContentView : View {     @State var isCustomViewControllerDisplayed = false     @State private va...