iphone - plist data to a second view -
I have a view (text type) and a view shows a text view and label. I have got data from the same record in plist though it is the first opinion that links to a different view and want to have an info UIButton on some data displays from the same plist.
I have all the work, but I am not able to pass that data in another view.
Any sign / assistance is highly appreciated,
Thanks you can open the same plast in the next scene and read the data in the same way:
NSString * path = [[NSBundle main bundle] bundle path]; NSString * Lastpath = [Path Stringbacking Padding Contract: @ "Info.plist"]; NSDictionary * plistData = [[NSDictionary dictionary: true contentoff: lastpath] has been maintained;);
You can create a singleton
accessor class for your dictionary, and both view requests to gain access to the same data.
Or if you create your thoughts program, you can create only one setter in your new view controller and you can pass a reference to your dictionary from the original view controller.
Comments
Post a Comment