Where dose this code go?
I'm making a App to quickly tweet how Im feeling about something and im not sure where the set of code below gose.
I know somewhere in "InstatwitViewController.m", but my book dosnt show where in the file I'm suppost to put it?
- (NSInteger)numberOfComponentsInPickerView:(UIPickerView *)
pickerView {
return2;
}
- (NSInteger)PickerView:(UIPickerView *)
pickerViewnumberOfRowsInComponent :(NSInteger)component {
if (component == 0) {
return [activities count];
}
else {
return [feelings count];
}
}
I'm sorry im so dumb and can't figure it out, but help WILL be greatly appreciated! 🙂