Right. You can still use a property rather than manually defining a getter and setter in the header file, and under the covers you can implement the getter and setter as you see fit. The real difference is not having to define the getter and setter in the header and just relying on a standard property.

Envoyé de mon iPhone

Le 2013-05-11 à 7:07 PM, Julian Nadeau <notifications@github.com> a écrit :

> In Testasaurus Rex/Testasaurus Rex/View/TREXStepsTableViewCell.h:
> 
> > +- (void)stepDidRequestDelete:(id)cell;
> > +
> > +@end
> > +
> > +
> > +@interface TREXStepsTableViewCell : NSTableCellView
> > +
> > +@property (nonatomic, weak) id<TREXStepsTableViewCellDelegate> delegate;
> > +
> > +- (void)layoutSubviews;
> > +- (void)setLabel:(NSString*)labelText;
> > +- (void)setStep:(NSString*)stepText;
> > +- (void)setTextFieldDelegate:(id)delegate;
> > +- (NSString*)getStep;
> > +
> > +- (void)setTag:(NSInteger)tag;
> We aren't using an iVar... its doing this: textField.tag = tag;
> 
> —
> Reply to this email directly or view it on GitHub.