Commit Graph

75 Commits

Author SHA1 Message Date
Mikhail Koviazin
6cf903f44e
Add forgotten asterisk in MyClass implementation (#4289)
Without it, the program doesn't compile:
```
Interface type cannot be statically allocated
```

Co-authored-by: Reverend Homer <mk.43.ecko@gmail.com>
2023-12-14 16:35:29 +01:00
Борис Верховский
a502f8d723
Rename OS X to macOS (#4166) 2021-05-25 13:42:50 +02:00
Christopher Dusovic
2e7ecbae8a Add missing block referred to in comment 2018-03-25 17:46:45 -07:00
HairyFotr
985d23a52b
Fix a bunch of typos 2017-08-23 10:14:39 +02:00
ven
8f99c7ab7e fix #2308 2016-07-12 19:14:38 +02:00
ven
1311f4dbb2 manually merge #1838 2016-06-26 14:41:30 +02:00
jesusjjf
591eab5e4f grammar + spelling errors 2016-04-05 20:02:46 -07:00
Fernando Valverde Arredondo
dbe6184519 Update contributor list 2015-11-01 01:48:44 +01:00
Adam Bard
d7b6cd5166 Merge pull request #1916 from fdoxyz/patch-2
Added pragma mark information
2015-10-31 18:28:11 +08:00
Ben Pious
4508ee45d8 Adds description of how to define generic classes in Xcode 7.0 2015-10-30 21:40:19 -07:00
Fernando Valverde
0717fcfdc7 Added pragma mark information
`#pragma mark` is very useful and widely recommended to "abuse" it for method/variable grouping since it improves readability.
2015-10-30 22:57:55 +01:00
Levi Bostian
3a968a826b Fix issue with calling block code.
Fixes https://github.com/adambard/learnxinyminutes-docs/issues/1598
2015-10-18 12:22:33 -05:00
Tolga Beser
b78a67c9fc Mutable And Immutable Changing
Added how to switch objects between the two types with examples.
2015-10-15 14:09:36 -07:00
Andy B
1e90e7da1d [objective-c/en-fr-ru-tr-vn] Enable syntax highlighting 2015-10-09 15:34:27 +01:00
Gabriel Halley
960ee4a185 removing whitespace all over 2015-10-07 23:11:24 -04:00
Clayton Walker
f53f50aad1 Added additional reading for both iOS and OS X for Objective-C from Apple Developer site. Added contribution line. 2015-10-06 23:06:21 -04:00
Adam Bard
27b9ee85fb Fixes #1196 2015-08-12 06:38:17 +09:00
Nicholas Hrynuik
d406057dc7 Further fix of typos in objective-c doc 2015-01-31 22:18:02 -05:00
Nicholas Hrynuik
df0dbef198 Fix typos in objective-c doc 2015-01-31 21:38:24 -05:00
Adam
eab554a7a7 Review docs for added rouge lexers and update those with new highlighters 2014-09-08 13:08:28 +02:00
Levi Bostian
58bd9cbdaf Remove duplicate Categories section.
Fix small typo.
2014-03-19 12:49:51 -05:00
Levi Bostian
dcf7cd620d Add to exceptions section. Add NSError reference. 2014-03-19 12:49:51 -05:00
Levi Bostian
25fb918e9c Merge with master. 2014-03-19 12:49:51 -05:00
Adam Bard
a51a09a0b2 Merge pull request #486 from levibostian/objective-c-protocols
Objective-C protocols, categories, and extensions
2014-01-29 22:05:55 -08:00
Adam
4a9b80d5f5 No objc highlighting, use cpp to fix errors 2014-01-29 22:05:08 -08:00
Levi Bostian
57c16ffb5c Add much more to the protocols section. 2014-01-29 21:45:34 -06:00
Levi Bostian
4b44b03a07 Add extensions description with example. 2014-01-29 21:44:05 -06:00
Levi Bostian
e3853e564b Add description and example of how to simulate protected methods. 2014-01-29 21:43:59 -06:00
Levi Bostian
e3b20c7e26 Add categories description and Car example. 2014-01-29 21:42:27 -06:00
Yannick
d5c4e851da [REMOVE] dots at the end of the comments 2014-01-11 19:51:41 +01:00
Yannick
01e3455d90 [UPDATE] Import Details 2014-01-11 19:30:47 +01:00
Levi Bostian
eab35e826e Organize branch changes. 2014-01-08 13:03:31 -06:00
Levi Bostian
a16841e049 Add selector and @synthesize examples. 2014-01-08 12:45:40 -06:00
Levi Bostian
7496526cf4 Add more examples of methods available to objects. 2014-01-08 12:45:40 -06:00
Levi Bostian
5ad738af38 Add example of calling instance and class methods. 2014-01-08 12:44:16 -06:00
Levi Bostian
afa93d54ad Fix typos. 2014-01-07 08:42:08 -06:00
Levi Bostian
bfa623ac49 Removed NSLog() statements inside @implementation where not allowed. 2014-01-06 20:28:42 -06:00
Levi Bostian
dcf6331eec Add name and github page to contributors list. 2014-01-06 20:21:29 -06:00
Levi Bostian
d935f8fd4e Edit code for all snippets to compile properly. Re-word some descriptions. 2014-01-06 19:25:31 -06:00
Levi Bostian
527fc37efa Remove broken Apple website link to Learning Objective-C and replaced with Programming with Objective-C Apple book link. 2014-01-03 12:52:23 -06:00
Levi Bostian
db691596bb Move statements out of @interface that did not allow file to compile. Fix various typos/confusing wording. 2014-01-03 12:50:35 -06:00
Levi Bostian
fff847f09e Add @autoreleasepool as alternative to NSAutoreleasePool object. 2014-01-01 19:01:50 -06:00
Levi Bostian
8e04611520 Add automatic reference counting examples. 2013-12-31 14:59:51 -06:00
Levi Bostian
dff26a28af Add memory management examples. 2013-12-31 14:59:51 -06:00
Levi Bostian
ce770c61df Add simple NSSet example. 2013-12-31 14:59:48 -06:00
Levi Bostian
03ada8d975 Add instance variable definition examples. 2013-12-30 18:14:04 -06:00
Levi Bostian
f15a2b5f78 Add more data type examples.
Add NSMutableSet examples.
2013-12-30 18:14:04 -06:00
Levi Bostian
18f669089e Add examples of methods to work with NSSets.
Add note of NSSets being unordered.

Remove for loop to iterate on NSSet. Moved for loop to loop section.
2013-12-30 18:14:04 -06:00
Levi Bostian
0b73244aa3 Add data types with examples. 2013-12-30 18:14:04 -06:00
Levi Bostian
643a3ec67b Add getters and setters examples. 2013-12-30 18:14:04 -06:00