• 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
Binding from document to app delegate?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Binding from document to app delegate?


  • Subject: Binding from document to app delegate?
  • From: Rick Mann <email@hidden>
  • Date: Sat, 07 Jul 2012 21:34:25 -0700

In Xc4.3.2, the bindings inspector offers auto completion and an indication if you mis-typed a binding.

In my simple Document-based app (just created from a template), I'd like a popup menu in my document UI to be populated from a list in the app delegate. I'm successfully doing this by binding an array controller to the Application, via "delegate.arrayOfStuff". It works, but IB doesn't like it.

Is there a way to let IB know about the keys available in my app delegate? What I need is a proxy object for the app delegate (or any external object in my app).

Thanks,

--
Rick


_______________________________________________

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

  • Prev by Date: ARC and reinterpret_cast?
  • Next by Date: Debugging bindings with -NSBindingDebugLogLevel 1
  • Previous by thread: Re: ARC and reinterpret_cast?
  • Next by thread: Debugging bindings with -NSBindingDebugLogLevel 1
  • Index(es):
    • Date
    • Thread