objective c - How to set the "sent event" when using picker view in storyboard? -
i studying example of [date cell] (http://developer.apple.com/library/ios/#samplecode/datecell/introduction/intro.html#//apple_ref/doc/uid/dts40008866-intro-dontlinkelementid_2). added pickerview in storyboard, can't add events pickerview. in example, there bunch of "sent events" shown in connections inspector, including value changed. can't find these options or drag events ".m" file in project. has solutions?
the sent events actions. make one, there bunch of ways: simplest this: first create action handler in view controller's class, drag event in connections inspector (or control-drag picker view) view controller in storyboard.
any simple tutorial on creating actions in nib or storyboard show in detail. here's relevant section book:
http://www.apeth.com/iosbook/ch07.html#_action_connections
you're in storyboard, not nib, there's no file's owner; instead, there's owning view controller. else same.
Comments
Post a Comment