summaryrefslogtreecommitdiffhomepage
path: root/objective-c.html.markdown
diff options
context:
space:
mode:
authorHairyFotr <hairyfotr@gmail.com>2017-08-23 10:14:39 +0200
committerHairyFotr <hairyfotr@gmail.com>2017-08-23 10:14:39 +0200
commit985d23a52b76593a120adff5381c2df3a80fe298 (patch)
tree0eeec5a7b13a110e18f319d1fe1c4568b68385a7 /objective-c.html.markdown
parent9c5a67ca0f3c989ef31141f83d64fba10b93b059 (diff)
Fix a bunch of typos
Diffstat (limited to 'objective-c.html.markdown')
-rw-r--r--objective-c.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/objective-c.html.markdown b/objective-c.html.markdown
index 2b599378..04c4e529 100644
--- a/objective-c.html.markdown
+++ b/objective-c.html.markdown
@@ -786,7 +786,7 @@ MyClass *newVar = [classVar retain]; // If classVar is released, object is still
// Automatic Reference Counting (ARC)
// Because memory management can be a pain, Xcode 4.2 and iOS 4 introduced Automatic Reference Counting (ARC).
// ARC is a compiler feature that inserts retain, release, and autorelease automatically for you, so when using ARC,
-// you must not use retain, relase, or autorelease
+// you must not use retain, release, or autorelease
MyClass *arcMyClass = [[MyClass alloc] init];
// ... code using arcMyClass
// Without ARC, you will need to call: [arcMyClass release] after you're done using arcMyClass. But with ARC,