• 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: Programmatic Binding
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Programmatic Binding


  • Subject: Re: Programmatic Binding
  • From: Richard Somers <email@hidden>
  • Date: Tue, 18 May 2010 20:52:54 -0600

On May 18, 2010, at 4:44 PM, Quincey Morris wrote:

1. Setting the frame on a layer that doesn't have a view yet doesn't do anything useful. This happens because the 'bind:...' invocation is going to cause the setter to be invoked initially, and in your non-working case, the view's layer hasn't been set yet.

Oops, I made an error. There was a dependency between the view and the layer initialization. Only took me about 1.5 days to find it. It is amazing how sometimes you can be blind to your own code. Without help from this forum I may have never found the mistake. I think my debugging skills have improved and so I want to say thanks for the help.


--Richard

_______________________________________________

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


References: 
 >Programmatic Binding (From: Richard Somers <email@hidden>)
 >Re: Programmatic Binding (From: Quincey Morris <email@hidden>)
 >Re: Programmatic Binding (From: Richard Somers <email@hidden>)
 >Re: Programmatic Binding (From: Quincey Morris <email@hidden>)
 >Re: Programmatic Binding (From: Richard Somers <email@hidden>)
 >Re: Programmatic Binding (From: Quincey Morris <email@hidden>)

  • Prev by Date: custom formatters and preparedCellAtColumn:row:
  • Next by Date: Custom View Binding, Arrays, and observeValueForKeyPath
  • Previous by thread: Re: Programmatic Binding
  • Next by thread: Re: Programmatic Binding
  • Index(es):
    • Date
    • Thread