¡@

Home 

2014/10/15 ¤U¤È 10:13:41

iphone Programming Glossary: searchoptionsselectionviewcontroller

How to save nsdictionary of a subview to a mainview based off tableviewcell selection

http://stackoverflow.com/questions/7922305/how-to-save-nsdictionary-of-a-subview-to-a-mainview-based-off-tableviewcell-sele

NSObject @optional void searchOptionsSelected NSArray selectedSearchOptions @end 2 Conform to that protocol in your SearchOptionsSelectionViewController which represents the table view controller that has a list of selections to choose from. Make sure to import or forward.. the protocol is defined in e.g. SearchParametersViewController . #import SearchParametersViewController.h @interface SearchOptionsSelectionViewController SearchParametersViewControllerDelegate 3 Define a delegate property in your SearchOptionsSelectionViewController assumes.. SearchOptionsSelectionViewController SearchParametersViewControllerDelegate 3 Define a delegate property in your SearchOptionsSelectionViewController assumes you are using ARC on iOS 5.0 4.x use unsafe_unretained instead of weak . Use assign if the project is using manual..