• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Relation between Document based apps and Array Controllers in IB
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Relation between Document based apps and Array Controllers in IB


  • Subject: Relation between Document based apps and Array Controllers in IB
  • From: donbarvazo <email@hidden>
  • Date: Fri, 6 Feb 2009 22:40:16 +0200

Hi,

I have been spending the last couple of days trying to figure out if
there is a relation between the Document based application in Cocoa
and the ability to bind Array Controllers to the AppController.

Here goes:
Document Based app = works fine
1. I have created a Cocoa Document Based Application
2. Added an NSMutableArray member (persons)
3. Added a model class (person) with some properties
4. In IB : added an Array Controller, and fixed its binding to the
File's Owner content and all the UI elements
5. I run the app - and everything works as I expect.

Cocoa Application = Does not work
Did the same as above. It does not work, and I get the error :

"reason: '[<NSApplication 0x114720> valueForUndefinedKey:]: this class
is not key value coding-compliant for the key persons"

Can anyone please explain:
A. Can this be done with non-document app
B. What is the difference between the two kinds of app in relation to
binding Array Controllers.

Many Thanks,

D.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Relation between Document based apps and Array Controllers in IB
      • From: "I. Savant" <email@hidden>
  • Prev by Date: Job posting for Cocoa developer
  • Next by Date: ANN: Accessorizer 1.2 with support for Objective-C 2.0 properties and much more ...
  • Previous by thread: Job posting for Cocoa developer
  • Next by thread: Re: Relation between Document based apps and Array Controllers in IB
  • Index(es):
    • Date
    • Thread