Extended Bibliotheca Example
Extended Bibliotheca Example
- Subject: Extended Bibliotheca Example
- From: "Krys Malak" <email@hidden>
- Date: Mon, 11 Feb 2008 09:25:43 +0100
Hi,
I was trying to extend the Bibliotheca example
(http://www.macdevcenter.com/pub/a/mac/2004/04/06/cocoa.html?page=1) and add
a kind of remember function to it.
What i intend to have is a further window that shows the same information as
the first one basically, but with an indepent controller.
The Master Window (from the Example) should get a button that, selects the
current entry in the table and adds it to the second window.
To achieve this, i have this second window and attached to it also a second
controller (with the same fields as the one from the example). The
"remember" Button should then perform an "add" Function into the second
window (respecitvley the underlying controller). I tried to do this by
target action binding, as argument i use the Book Controller and selection
as Controller Key, as selector i used "addObject:". The target was the
second controller and again selection as Controller Key and "addObject:" as
Selector.
But there's something wrong or something i missed why this doesn't work,
especially because it's a pretty simple function.
I'd be glad if somebody could point out my error to me or give me a link to
the tutorial i need to understand what i'm doing wrong, i really read a
about bindings lot, but could not find anything appropriate.
Cheers,
Krys
_______________________________________________
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