Thursday, August 30, 2012

Find The Documents Directory

NSString* docPath = [NSHomeDirectory() stringByAppendingPathComponent:@"Documents"];

Thursday, August 23, 2012

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.

Create a list in SwiftUI with sticky section headers

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