-
What is the difference between using
@class&#import? I had a situation
where i was getting a build error,
and the solution was to use@class
instead of#importto import my
class. -
What does nonatomic mean? When do i
use nonatomic to define a property,
and when do i avoid it?
What is the difference between using @class & #import ? I had a situation
Share
@classallows you to create a stub for a class that you will later define. For example:MyOtherClass.h
MyOtherClass.m
#defineis used to define strings that will be replaced by the preprocessor. For example:will be rewritten by the pre-processor as: