Bindings questions on "ToDos" sample code.
Bindings questions on "ToDos" sample code.
- Subject: Bindings questions on "ToDos" sample code.
- From: George Lawrence Storm <email@hidden>
- Date: Tue, 19 Oct 2004 14:31:43 -0700
I am currently looking through the code "ToDos" from
http://homepage.mac.com/mmalc/CocoaExamples/controllers.html
Am I correct on the following observations:
The only purpose of "Category" is to link the popups text to its
numeric value. That "Category" actually refers to Priority.
All my data fields are defined in my "ToDos" NSArrayController (in
MyDocument.nib) and otherwise is defined nowhere in my code (other than
its associated array being used whole for storage/retreval and each
record in whole being accessed through MyDocument).
If I am correct in my data fields being defined in my "ToDos"
NSArrayController how does it know what data type(s) to store and what
is it actually storing?
If I can figure this out my next step will be to convert this example
to use XML for its storage. To do that I assume I will not be able to
use this model of only defining my data fields in my .nib file.
-----
So far I have been working with bindings for less than a week, it looks
promising, however the real question is where I can get some of
whatever you people are smoking who actually understand it?
I have worked through more than half a dozen examples and read
everything on the sight, started to convert sections of my code over
(successfully), I thought I was starting to get a handle on it until I
came across this example.
-----
George Lawrence Storm
Macintosh Applications Development
Snohomish (Seattle), Washington
E-mail: <email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden