-
-
Change
id
toinstancetype
in appropriate places -
Change
enum
toNS_ENUM
orNS_OPTIONS
- The
NS_ENUM
macro helps define both the name and type of the enumeration, in this case namedUITableViewCellStyle
of typeNSInteger
. The type for enumerations should beNSInteger
.
- The
-
Update to the
@property
syntax
-
-
-
Converting to literals, so a statement like
[NSNumber numberWithInt:3]
becomes@3
. -
Using subscripting, so a statement like
[dictionary setObject:@3 forKey:key]
becomesdictionary[key] = @3
.
-