Re: Problem binding NSTextView's attributedString

2008-07-31 Thread Pete Callaway
On Thu, Jul 31, 2008 at 9:42 PM, Quincey Morris <[EMAIL PROTECTED]> wrote: > On Jul 31, 2008, at 13:02, Pete Callaway wrote: > >> - (void)setSelectedPage:(PageEntity*)newPage >> { >>if (newPage == _selectedPage) >>return; >

Re: Problem binding NSTextView's attributedString

2008-07-31 Thread Pete Callaway
On Thu, Jul 31, 2008 at 4:04 PM, I. Savant <[EMAIL PROTECTED]> wrote: > On Thu, Jul 31, 2008 at 2:26 AM, Negm-Awad Amin <[EMAIL PROTECTED]> wrote: > >>> I've checked changes to selectedPage can be observed OK so I'm not >>> sure what I'm missing from the equation. Any tips? >> >> I think, that your

Problem binding NSTextView's attributedString

2008-07-30 Thread Pete Callaway
Hi, This is probably a simple question, but I'm having a spot of bother with a bound NSTextView. In IB I've set the text view's attributedString to be bound to the file's owner with a model key path of "document.selectedPage.stringContent". This is fine but when my document's selectedPage propert

CALayer retain count problem when changing geometry

2008-05-04 Thread Pete Callaway
Hi, I'm having a problem with the retain count of CALayers. It seems that when changing geometry related properties, such as bounds or position, the retain count is decremented. Below is a simple example that exhibits the problem. In the example, if changeName is called, the retain count of the la