I am following some examples from a text book regarding an objects but somehow along the way I completely missed some sort of syntax style or rule and I am not sure of what I'm looking at here.
These two methods are what I'm a bit stuck on. I'm not sure how I should be reading them in the literal sense.
Is this a string function that accepts a pointer to a string object we call lastTimeString
-(NSString *)lastTimeString;
and
I'm not sure what the colon is for. Is this a method that accepts a pointer to a NSTimer object ?
-(void)updateLastTime: (NSTimer *)t;
Please help. The formatting or style is just a little jarring to me at the moment.
#import <Foundation/Foundation.h>
@interface BNRLogger : NSObject
@property (nonatomic) NSDate *lastTime;
-(NSString *)lastTimeString;
-(void)updateLastTime: (NSTimer *)t;
@end