Send Cocoa-dev mailing list submissions to
email@hidden
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.apple.com/mailman/listinfo/cocoa-dev
or, via email, send a message with subject or body 'help' to
email@hidden
You can reach the person managing the list at
email@hidden
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Cocoa-dev digest..."
Today's Topics:
1. Re: observing a controller for changes (Ole Vo?)
2. [SOLVED] Re: NSScrollView scroll notifications? (Nick Zitzmann)
3. Re: observing a controller for changes (mmalcolm crawford)
----------------------------------------------------------------------
Message: 1
Date: Tue, 02 Nov 2004 18:05:42 +0100
From: Ole Vo? <email@hidden>
Subject: Re: observing a controller for changes
To: Theodore Petrosky <email@hidden>
Cc: email@hidden
Message-ID: <email@hidden>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
From my studies on 'Cocoa programming for Mac OS X' from Aaron
Hillegass I recall that there was something similar near the beginning
of the book.
Go here and type in page 115.
http://www.bignerdranch.com/books/index.php
Further on down the page there is the source code for RaiseMan (with
table view). I hope this might help.
Regards,
Ole.
I have a tableView with an arraycontroller. Basically
I query a database for stuff, create the
NSMutableArray and set the content of the tableView
controller to the array. Works great.
I am stumped to know how to observe if the user makes
any changes to the table. I was checking
http://homepage.mac.com/mmalc... if there was anything
there..
basically what I want to do is to set my view as dirty
and enable a save button if the user changes anything.
Any help pointing me in the correct direction would be
appreciated.
Ted
------------------------------
Message: 2
Date: Tue, 2 Nov 2004 10:20:41 -0700
From: Nick Zitzmann <email@hidden>
Subject: [SOLVED] Re: NSScrollView scroll notifications?
To: email@hidden
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; format=flowed
On Nov 1, 2004, at 4:14 PM, Nick Zitzmann wrote:
But when the view is scrolled, the tracking rectangles stay the same.
How do I let the subviews know when the enclosing scroll view has been
scrolled?
Thanks to those who responded. Here is the correct answer: Get the
view's NSScrollView, get the NSScrollView's NSClipView, turn on
bounds-did-change notifications on the NSClipView, and register for the
notifications.
Nick Zitzmann
<http://www.chronosnet.com/>
------------------------------
Message: 3
Date: Tue, 2 Nov 2004 09:26:54 -0800
From: mmalcolm crawford <email@hidden>
Subject: Re: observing a controller for changes
To: Theodore Petrosky <email@hidden>
Cc: email@hidden
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; format=flowed
On Nov 2, 2004, at 7:22 AM, Theodore Petrosky wrote:
basically what I want to do is to set my view as dirty
and enable a save button if the user changes anything.
<http://www.cocoabuilder.com/archive/message/cocoa/2004/8/23/115315>
mmalc
------------------------------
_______________________________________________
Cocoa-dev mailing list
email@hidden
http://lists.apple.com/mailman/listinfo/cocoa-dev
End of Cocoa-dev Digest, Vol 1, Issue 223
*****************************************