Objective-C (@ObjectiveCFacts) profile picture

when to use retainCount? always

Cuperinto
Joined July 2013
parameter names arent necessary, but you should because then maybe daddy will hug me
1
2
modern objective-c syntax include nsmaptable literal: @{^key^ : ^value^};
3
7
prevent race conditions by wrapping app in @synthesized. atomic propertie help too
2
3
@LxndrKvcs no, it like saying “don’t put toilet in every room”
1
our guide to kvo: don’t
1
22
14
the best thing about 64 bits? you are right: the 32 extra bits
27
11
for a #fun night out on the town go to any bar and ask for the objective c special to get kicked out immediately
3
3
kvo — just say no (kvno!)
3
6
the only data structure in flat objective c is array, no trees allowed (too skeuomorphic)
1
33
25
introducing objective c 3.0, now with a flatter design
1
9
6
nsmaptable? more like nsfaptable
3
8
Replying to @higheror
@higheror this is new in the arc programming guide
objective c is the german of programming languages
1
42
30
mark delegates as strong references to ensure they’re always around
2
12
6
key-value coding was originally called key-value trolling
10
6
macros are a great way to promote code reuse
1
3
use random number generator in your unit test to achieve good code coverage
3
5
namespaces are just poor mans class prefixes
13
8
dependency problems? just copy paste
7
3