summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLevi Bostian <levi.bostian@gmail.com>2014-01-06 20:28:42 -0600
committerLevi Bostian <levi.bostian@gmail.com>2014-01-06 20:28:42 -0600
commitbfa623ac4997cadf132676c49cb92975173ce741 (patch)
treefe0a706abfbd7d1d9d5e20b8d88213aa73023ae5
parentdcf6331eec9faeefc91eb53f90f17408b7d01857 (diff)
Removed NSLog() statements inside @implementation where not allowed.
-rw-r--r--objective-c.html.markdown2
1 files changed, 0 insertions, 2 deletions
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