• 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
Re: Should I be trying to use bindings for this?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Should I be trying to use bindings for this?


  • Subject: Re: Should I be trying to use bindings for this?
  • From: "I. Savant" <email@hidden>
  • Date: Wed, 3 Oct 2007 11:27:52 -0400

On 10/3/07, Paul Bruneau <email@hidden> wrote:
> I'm about to give up on bindings for a part of my user interface.
> This is a non-document-based application.

  It's not a perfect fit for everything.

> But now I have found that the objects in the operationTypes instance
> variable array are not the same objects that are in my "global"
> operationTypes array as I expected them to be. They are some kind of
> copy, or created objects that must be being created by my binding.
> This is a problem for me.

  Why is this a problem? Are you aware that NSArrayController passes
you a *proxy* object that represents your actual object? What are you
trying to do that requires them to be the exact same object (maybe we
can suggest a better way of getting at it)?

> Is it advisable to use bindings for this? From my readings it seems
> so, but I have spent days and days and my stomach hurts :(

  I don't see what you've described as being too difficult a problem
but the part you left out is what you're doing that you need the
objects to be exactly the same (why the proxy won't do and how you're
trying to access the objects).

--
I.S.
_______________________________________________

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: Should I be trying to use bindings for this?
      • From: Paul Bruneau <email@hidden>
References: 
 >Should I be trying to use bindings for this? (From: Paul Bruneau <email@hidden>)

  • Prev by Date: Re: 'kASAppleScriptSuite' undeclared
  • Next by Date: Re: Nib & retainCount confusion
  • Previous by thread: Should I be trying to use bindings for this?
  • Next by thread: Re: Should I be trying to use bindings for this?
  • Index(es):
    • Date
    • Thread