¡@

Home 

2014/10/15 ¤U¤È 10:05:51

iphone Programming Glossary: customerdelegate

Passing Values Between Master and Detail in UISplitViewController Using Storyboards

http://stackoverflow.com/questions/10019422/passing-values-between-master-and-detail-in-uisplitviewcontroller-using-storyboa

Using Storyboards I have defined the protocol in Customer.h file which is shown below @class Customer @protocol CustomerDelegate NSObject void didSelectCustomer Customer customer @end @interface Customer NSObject @property nonatomic copy NSString name.. Now I need to tell the DetailViewController right side to do something. The DetailViewController complies with the CustomerDelegate protocol. @interface DetailViewController UIViewController UISplitViewControllerDelegate CustomerDelegate void didSelectCustomer.. with the CustomerDelegate protocol. @interface DetailViewController UIViewController UISplitViewControllerDelegate CustomerDelegate void didSelectCustomer Customer customer NSLog @ sssdasdasdasd The didSelectCustomer method is never invoked. I think I..