Hello,
I have started a billing project with coco and core data. In my project,
I have a form that the user must fill to add a customer (for example)
but it seems that core data have only an array controller with a manage
object context to manage the core data database. Is it true ?
In some
Whoah, back up. It sounds like you've dived in over your depth.
No, you don't have to use an array controller; you are free to modify the
context as you wish. Using one of Cocoa's built-in controllers might well prove
better for your task, it's hard to say.
Fetch requests are what they say on
Hello Michael,
On 11.04.2012, at 00:18, Michael Parchet wrote:
Hello,
I have started a billing project with coco and core data. In my project, I
have a form that the user must fill to add a customer (for example) but it
seems that core data have only an array controller with a manage
.
On 12 Apr, 2012, at 2:23 AM, cocoa-dev-requ...@lists.apple.com wrote:
Message: 12
Date: Wed, 11 Apr 2012 00:18:12 +0200
From: Michael Parchet mparc...@sunrise.ch
To: Cocoa-dev@lists.apple.com
Subject: A question about core data.
Message-ID: 4f84b1a4.7020...@sunrise.ch
Content-Type: text
Let's say I have an entity, Player that has some attributes (Name,
Level, XP, FightStr, DefenseStr, etc...) for a role-playing game. How
do I pre-initialize an entity with known values, when their
properties are @dynamic? I need for a blank player to start out on
level 1 with 0 XP, 0
On Feb 4, 2010, at 5:13 PM, William Squires wrote:
Let's say I have an entity, Player that has some attributes (Name, Level,
XP, FightStr, DefenseStr, etc...) for a role-playing game. How do I
pre-initialize an entity with known values, when their properties are
@dynamic? I need for a
If you create your data model in Xcode with its data modeling facility, you can
give it a default value right there, when you select the attribute (no need to
recreate the Player.m and Player.h files). If you need to set different default
values each time, just create the Player instance and
: Dumb question about Core Data
To: cocoa-dev@lists.apple.com
Message-ID: 67ea316e-47cc-44da-bf41-c1ebac1a9...@satx.rr.com
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
Let's say I have an entity, Player that has some attributes (Name,
Level, XP, FightStr, DefenseStr