diff options
author | Andre Polykanine A.K.A. Menelion ElensĂșlĂ« <andre@oire.org> | 2017-08-24 01:41:51 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-24 01:41:51 +0300 |
commit | 2694c89c3322b730b5635960e893323aa6524114 (patch) | |
tree | e910f541ae5e55042990459d029404c148ba1051 /objective-c.html.markdown | |
parent | 1058ecc7d4d966788e5d963caf9f8c27dd2ac330 (diff) | |
parent | 985d23a52b76593a120adff5381c2df3a80fe298 (diff) |
Merge pull request #2807 from HairyFotr/typos
[all/en] Fix a bunch of typos
Diffstat (limited to 'objective-c.html.markdown')
-rw-r--r-- | objective-c.html.markdown | 2 |
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, |