Re: Why doesn't this work on my device?
Re: Why doesn't this work on my device?
- Subject: Re: Why doesn't this work on my device?
- From: Clark Cox <email@hidden>
- Date: Fri, 27 Feb 2009 11:05:07 -0800
On Fri, Feb 27, 2009 at 10:44 AM, Stuart Malin <email@hidden> wrote:
> <offlist>
>
> On Feb 27, 2009, at 8:27 AM, James Cicenia wrote:
>
>> ARrrgh...
>>
>> The database exists but it contains nothing?! I double checked it in
>> my trusty firefox sqlite extension, and everything is there.
>> Is there some magic "touch" I need to do to get the tables properly
>> into the device? I have cleaned my project, restarted xcode, rebuilt,
>> etc.
>
> You may not be getting to your database file consistently. So while you see
> content when viewing the file directly, you may not actually be opening that
> file in your code.
>
> You really should/must use fileSystemRepresentation and not UTF8String.
True, but that cannot be the problem in this case (i.e. in current
implementations, -fileSystemRepresentation and -UTF8String produce
identical results)
--
Clark S. Cox III
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden