¡@

Home 

2014/10/15 ¤U¤È 10:12:35

iphone Programming Glossary: pickedstr

How to use Protocols objective-c

http://stackoverflow.com/questions/13930883/how-to-use-protocols-objective-c

check the code Picker1.h #import UIKit UIKit.h @protocol pickerDelegate NSObject void didFinishPicking NSString pickedStr @end @interface @property nonatomic retain id pickerDelegate delegate picker.m void pickerView UIPickerView pickerView didSelectRow.. @ self.delegate1.string delegate1 Picker1 alloc init delegate1 setDelegate self void didFinishPicking NSString pickedStr self setStr pickedStr iphone ios ios5 inheritance protocols share improve this question You are printing out a value.. delegate1 Picker1 alloc init delegate1 setDelegate self void didFinishPicking NSString pickedStr self setStr pickedStr iphone ios ios5 inheritance protocols share improve this question You are printing out a value of a delegate just..