Is CoreData dead?

2008-03-11 Thread Greg Robertson
Not sure if this is the best place to post this question but here goes. I am thinking about developing a Mac and iPhone app that would use CoreData to store application data. Personally I like CoreData and its rapid development on the Mac side of XCode/Interface Builder. When I gave the iPhone SD

Is CoreData dead? [RESOLVED]

2008-03-11 Thread Greg Robertson
This issue has been resolved using Bug Reporter > Enhancement request at developer.apple.com Thanks Greg ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators

What is the status on the New Cocoa 2.0 Books?

2008-03-13 Thread Greg Robertson
For the beginner cocoacast.com has some follow along screencasts on Objective C 2.0 as well as the Aaron Hillegass examples. They are not books but are about as close to a tutorial as you will find and like the apple docs the price is right. Greg ___ C

Re: What is the status on the New Cocoa 2.0 Books?

2008-03-13 Thread Greg Robertson
Sounds like it might be delayed, from her mailing list: I can't write about the SDK for TUAW, for O'Reilly and can't pub anything (we're even worried about technical review!) for Addison Wesley. -- Erica, upcreek ___ Cocoa-dev mailing list (Cocoa-dev@l

Can you @synthesize simple arrays?

2008-11-17 Thread Greg Robertson
I have a couple of simple ivar arrays: NSString *myString[4]; NSInteger myInteger[4]; How can I @synthesize these so I can access them with simple dot notation: ie. self.myInteger[2] = 100; I have tried several ways to set them up in the @interface but I keep getting compile errors. Could

Can I split an implementation file?

2008-11-27 Thread Greg Robertson
One of my implementation files is getting kind of long and I would like to split it into two. I have a lot of custom getters and setters and I was wondering if there was a way I could put them in a separate file but keep a common interface file? Can I do that? What is the syntax for doing this?

Re: Can I split an implementation file?

2008-11-27 Thread Greg Robertson
..} > > -(void) setFoo:(Foo)aFoo > {} > > @end > > In file MyObj.m: > > #import "MyObj.h" > @implementation MyObj > > -(void) solveWorldFinancialCrisis > { > // Good luck with this one :) > } > @end > > > Matt > On 27 Nov 2008, a

Re: Can I split an implementation file?

2008-11-27 Thread Greg Robertson
>> #import "MyObj.h" >> @implementation MyObj (GetSetters) >> -(Foo) foo >> {} >> >> -(void) setFoo:(Foo)aFoo >> {} >> >> @end >> >> In file MyObj.m: >> >> #import "MyObj.h" >> @implementation

Shameless Ottawa (Canada) Cocoaheads plug

2008-07-28 Thread Greg Robertson
This is a shameless plug for a new Ottawa (Canada) Cocoa Heads group Now that Canada finally has the iPhone, if there are any Ottawa (Canada) area iPhone Developers who might want to get together to talk about iPhone, Touch or Cocoa there is a new Google group. Philippe Guitard who some of you mi

Import/Convert non-CoreData SQLite database to CoreData SQLite database

2009-03-28 Thread Greg Robertson
Is there an easy way to convert an existing SQLite database so it is compatible with CoreData? I would like to convert a non-CoreData SQLite database to a CoreData SQLite database and bundle it with my application. Do I have to build my own converter application to do this or is there already som

Looking for [NSNumber numberWithString:]

2009-04-01 Thread Greg Robertson
I would like to convert an NSString to an NSNumber. Is there a direct method for this or should I go NSString to double and then double to NSNumber? Thanks Greg ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests o

Re: Looking for [NSNumber numberWithString:]

2009-04-02 Thread Greg Robertson
Thanks to everyone who helped me out with this. I really appreciate it. Greg ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)list

NSPredicate Help

2009-04-14 Thread Greg Robertson
I am using Core Data and have a two entity setup that in a simple form could be modelled something like this: Entity: Persons - attribute: name - attribute: birth - relationship: cars (one to many with cars) Entiry: Cars - attribute: name I would like to search for all persons not born on th

Daylight Savings Time

2009-04-15 Thread Greg Robertson
I have put together some code from various sites such as this one: http://blog.coriolis.ch/2009/02/20/relative-date-to-now/ Basically I would like to display records for a week duration but I am unsure how to handle daylight savings time. Is there a way to see if daylight savings time has or will

What is this error: error: expected specifier-qualifier-list

2009-04-17 Thread Greg Robertson
I have done a substantial amount of re-coding and now I am getting a compile error: error: expected specifier-qualifier-list before 'mySubClass' What does this mean? Also is there a reference for XCode compiler error messages? Thanks Greg ___ Coc

NSPredicate & relationship data?

2009-05-04 Thread Greg Robertson
How do I create a search predicate to include an attribute of another entity to which there is a relationship? here is a simplified example of what I mean: Entity Meal with the attributes: type and foods, foods has a one to many relationship with the Entity Food Entity Food with attributes: name

NSPredicate & relationship data?

2009-05-04 Thread Greg Robertson
How do I create a search predicate to include an attribute of another entity to which there is a relationship? here is a simplified example of what I mean: Entity Meal with the attributes: type and foods, foods has a one to many relationship with the Entity Food Entity Food with attributes: name

Memory Problems

2010-02-05 Thread Greg Robertson
I am trying to parse a large CSV (5MB) file using some code I found here: http://www.macresearch.org/cocoa-scientists-part-xxvi-parsing-csv-data but I am getting what I think is an out of memory error part way through, the error is: DataImport(1324,0xa09f3500) malloc: *** mmap(size=16777216) fai