From bfa623ac4997cadf132676c49cb92975173ce741 Mon Sep 17 00:00:00 2001 From: Levi Bostian Date: Mon, 6 Jan 2014 20:28:42 -0600 Subject: Removed NSLog() statements inside @implementation where not allowed. --- objective-c.html.markdown | 2 -- 1 file changed, 2 deletions(-) (limited to 'objective-c.html.markdown') diff --git a/objective-c.html.markdown b/objective-c.html.markdown index 98179f97..886f80e2 100644 --- a/objective-c.html.markdown +++ b/objective-c.html.markdown @@ -336,10 +336,8 @@ NSLog(@"%i", myClass.count); // prints => 45 // To access public variable from the interface file, use '_' followed by variable name: _count = 5; // References "int count" from MyClass interface. -NSLog(@"%d", _count); // prints => 5 // Access variables defined in implementation file: distance = 18; // References "long distance" from MyClass implementation. -NSLog(@"%li", distance); // prints => 18 // Call when the object is releasing - (void)dealloc -- cgit v1.2.3