I have an NSMutable Array in FirstViewController class, I want to Pass that array to SecondViewController class. And I want to use that in SecondViewController class. I am doing this in Xcode 4.2.1 with ARC... How can I...? and what are the attributes i want to use when setting property... (OR) Explain me using Appdelegate files also...
相关问题
- CALayer - backgroundColor flipped?
- Core Data lightweight migration crashes after App
- Core Data lightweight migration crashes after App
- How can I implement password recovery in an iPhone
- back button text does not change
相关文章
- 现在使用swift开发ios应用好还是swift?
- Could I create “Call” button in HTML 5 IPhone appl
- TCC __TCCAccessRequest_block_invoke
- xcode 4 garbage collection removed?
- Unable to process app at this time due to a genera
- How can I add media attachments to my push notific
- Popover segue to static cell UITableView causes co
- How do you detect key up / key down events from a
in current class
in second class .h
in second class .m
There are two ways to do this.
1: Make a property for NSMutableArray in appdelegate, set the value for array in FirstViewController and retrieve value in SecondViewController.
2: Make a property for NSMutableArray in SecondViewController, and call this property for FirstViewController but making the object of SecondViewController, and calling the property via object reference of secondViewController from FirstViewController.