@synthesize bob
Auto generates Getters and Setters for 'bob'
notesField.text= @"new value";
This is how you set a property.
[sender setTitle:@"i've been clicked!!" forState:UIControlStateNormal];
This is how you call a method - The Apple term is 'selector' when used it becomes a 'message'. We use the notation:
[object argument1:value argument2:value]
Note that argument1 replaces / is the method name
No comments:
Post a Comment