Diff nil & Nil Objective-c

Type

Definition

nil

A null object pointer, (id)0.

Nil

A null class pointer, (Class)0.

NO

A boolean false value, (BOOL)0.

YES

A boolean true value, (BOOL)1.

Post a Comment