ios - Initializing IBOutletCollection Issue in ViewController -
ios - Initializing IBOutletCollection Issue in ViewController -
i have iboutletcollection of uilabel , store property so:
@property (strong, nonatomic) iboutletcollection (uilabel) nsmutablearray *labelcollection. this isn't root view controller , i'm bouncing between controller , main controller when event occurs. when said event occurs, segue main controller view controller. whenever happens, collection becomes new collection , info before erased. when initialization occurs in init or initwithnibname method, end accessing , working null iboutletcollection. how go creating collection , storing , accessing info optimally without declaring in main view controller? ideas?
ios iphone objective-c
Comments
Post a Comment