0

Is there a possibility for access to the array defined in Master View Controller from Detail View Controller? I have a Master-Detail Application in xCode. In Master View Controller an Array is defined. In Detail View Controller there are detail informations according to one entry from this array.

Is it possible to get access from Detail View Controller to the array and update them?

How can I pass the reference to the array from Master to Detail?

Alexander
  • 86
  • 1
  • 3
  • 17

1 Answers1

1

Is there any link whatsoever between your Master and Detail view?

If so, then you can expose access to the array via making it a "@property" of the Master View Controller that you can access from the Detail view controller.

Here is a related question with answers that may help you out. I can't give you more specific answers than this because you haven't said how you've set up your Master <-> Detail View Controller implementation.

Community
  • 1
  • 1
Michael Dautermann
  • 88,797
  • 17
  • 166
  • 215
  • here is an example: [link](http://www.file-upload.net/download-4294356/Simple_SplitView_Controller_Example.zip.html) How can I delete entries from array? – Alexander Apr 22 '12 at 20:08