Re: Core Data insert an Url
Re: Core Data insert an Url
- Subject: Re: Core Data insert an Url
- From: mmalcolm crawford <email@hidden>
- Date: Sun, 18 Jun 2006 00:01:56 -0700
On Jun 15, 2006, at 2:40 PM, Filippo Trocca wrote:
I'm a newbie on programming.
I try to create a movie's library with Core Data.
Any movie is registered with the its url on HD.
In a first simple version for understand Core Data, I use
awakeFromInsert for open a NSOpenPanel and take the url of my
movie; this is the code:
You should not mix controller/view functionality with your model
logic. Opening a panel is the responsibility of a controller
object. I would strongly suggest setting Core Data (and bindings)
aside for a while and gaining a deeper understanding of the Cocoa
application architecture and design patterns -- see in particular
<http://developer.apple.com/documentation/Cocoa/Conceptual/
CocoaFundamentals/CocoaDesignPatterns/chapter_5_section_1.html>.
mmalc
_______________________________________________
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