3 ms·
I never learned Objective-C, but I just read that in that language: "NULL is a void *, nil is an id, and Nil is a Class pointer" ...and apparently there is al
by perl4ever 7y ago
I never learned Objective-C, but I just read that in that language:
"NULL is a void *, nil is an id, and Nil is a Class pointer"
...and apparently there is also NSNull.
https://nshipster.com/nil/ https://nshipster.com/nil/
- fingerlocks 7y agoFascinating. I wrote objective-c for years and cannot recall ever encountering the proper-noun form of Nil. The other three are quite common.