NSString* docPath = [NSHomeDirectory() stringByAppendingPathComponent:@"Documents"];
Thursday, August 30, 2012
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.
Subscribe to:
Posts (Atom)
Create a list in SwiftUI with sticky section headers
Sample Code import SwiftUI struct ContentView : View { @State var isCustomViewControllerDisplayed = false @State private va...
-
Sample Code import SwiftUI struct ContentView : View { @State var isCustomViewControllerDisplayed = false @State private va...
-
#import < CoreTelephony/CTCarrier.h > #import < CoreTelephony/CTTelephonyNetworkInfo.h > // Setup the Network Info and crea...
-
Radians to Degrees #define RADIANS_TO_DEGREES(radians) ((radians) * (180.0 / M_PI)) ... NSLog ( @ "Output radians as degrees: ...
