summaryrefslogtreecommitdiffhomepage
path: root/objective-c.html.markdown
diff options
context:
space:
mode:
authorAndre Polykanine A.K.A. Menelion Elensúlë <andre@oire.org>2016-04-08 01:07:38 +0300
committerAndre Polykanine A.K.A. Menelion Elensúlë <andre@oire.org>2016-04-08 01:07:38 +0300
commit8c9bcf460f763987515f692e82b1c1aecc3f9f86 (patch)
treecbe84edf091582d4f0592b3792e0da62cd9c868f /objective-c.html.markdown
parentaafa5e78cdf74a77d6c552735415e7fbe6c65290 (diff)
parent591eab5e4f8f0a27306588d78964a4879368ca6c (diff)
Merge pull request #2226 from jesusjjf/master
[objective-c/en] Grammar + spelling errors
Diffstat (limited to 'objective-c.html.markdown')
-rw-r--r--objective-c.html.markdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/objective-c.html.markdown b/objective-c.html.markdown
index 097cb846..0dbb3ae3 100644
--- a/objective-c.html.markdown
+++ b/objective-c.html.markdown
@@ -110,7 +110,7 @@ int main (int argc, const char * argv[])
NSLog(@"%f", piDouble);
NSLog(@"%4.2f", piDouble); // prints => "3.14"
- // NSDecimalNumber is a fixed-point class that's more precise then float or double
+ // NSDecimalNumber is a fixed-point class that's more precise than float or double
NSDecimalNumber *oneDecNum = [NSDecimalNumber decimalNumberWithString:@"10.99"];
NSDecimalNumber *twoDecNum = [NSDecimalNumber decimalNumberWithString:@"5.002"];
// NSDecimalNumber isn't able to use standard +, -, *, / operators so it provides its own:
@@ -700,7 +700,7 @@ if ([myClass conformsToProtocol:@protocol(CarUtilities)]) {
// NOTE: If two or more protocols rely on each other, make sure to forward-declare them:
#import "Brother.h"
-@protocol Brother; // Forward-declare statement. Without it, compiler would through error.
+@protocol Brother; // Forward-declare statement. Without it, compiler will throw error.
@protocol Sister <NSObject>