On Jul 31, 2008, at 14:04, Pete Callaway wrote:
I don't think I'm doing anything behind Core Data's back particularly.
"selectedPage" is a property of the NSPersistentDocument, not of an
NSManagedObject. I have several view controllers and they each need to
know which entity to show the detail o
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;
>>
>>[self willChangeValueForKey:@"selectedPa
On Jul 31, 2008, at 13:02, Pete Callaway wrote:
- (void)setSelectedPage:(PageEntity*)newPage
{
if (newPage == _selectedPage)
return;
[self willChangeValueForKey:@"selectedPage"];
_selectedPage = newPage;
[self didChangeValueForKey:
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
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 solution should work. I do not know, why it doesn't.
This is because Pete
Am Mi,30.07.2008 um 22:36 schrieb 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".
I
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