iOS SDK Tips
[Home Page]
;
[index]
;
Difference Between nil and NULL
nil
is the literal null value for Objective-C objects
,
NULL
is the literal null value for arbitrary C pointers
.
Main difference between nil & NULL is that you can send messages to nil, so you can use it in some places where NULL can't work.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment