I got a few crash reports from users that have a problem with my CoreData app.
Given the following code:
/*
Returns the persistent store coordinator for the application.
If the coordinator doesn't already exist, it is created and the application's
store added to it.
*/
- (NSPersistentStoreCoo
On Feb 15, 2013, at 4:21 PM, Jens Alfke wrote:
> On Feb 15, 2013, at 8:11 AM, Keary Suska wrote:
>
>> If what you are looking for are the benefits of Core Data but with your own
>> database back-end, you pretty much will have to write your own database
>> coordination methods, as well as chang
I sometimes find that trying to subclass existing classes such as NSCell is
more trouble that it's worth, unless you really need your custom cell to be
used anywhere a cell can be used, e.g. buttons, matrices, list rows, etc.
If you just want a particular custom control that doesn't need that d
On Feb 15, 2013, at 8:11 AM, Keary Suska wrote:
> If what you are looking for are the benefits of Core Data but with your own
> database back-end, you pretty much will have to write your own database
> coordination methods, as well as change tracking and undo
> management0--essentially everyt
Yeah, I saw those, but figured they wouldn't have much applicable. Maybe I'll
skim through them.
On Feb 15, 2013, at 13:51 , Jean Suisse wrote:
> Well, there are session 205 & 219 of WWDC2012, but I think both are
> exclusively about IOS6. Might be worth fast forwarding through them, thought.
Well, there are session 205 & 219 of WWDC2012, but I think both are exclusively
about IOS6. Might be worth fast forwarding through them, thought.
Jean
On 15 févr. 2013, at 22:46, Rick Mann wrote:
> Are there any WWDC videos covering Cocoa Collection Views (not iOS Collection
> Views)? I just
Are there any WWDC videos covering Cocoa Collection Views (not iOS Collection
Views)? I just looked through the titles online, but it's hard to discern, and
doesn't look like there are any expressly dedicated to the topic.
--
Rick
___
Cocoa-dev
This was an interesting problem, well to me anyway.
I copied CFBundleDocumentTypes and UTExportedTypeDeclarations from an OSX
project to an iOS project.
The OSX app is recognized as the app to open files of types specified in these
keys so I assumed the key values were constructed properly.
We
On Feb 15, 2013, at 13:35:38, Steve Mills wrote:
> What's the easiest way to create a custom control that contains a matrix of 4
> custom vertical sliders, like a mini graphic EQ? The sliders will not draw
> the slot, only the knob. First I started with a subclass of NSMatrix and a
> subclass
What's the easiest way to create a custom control that contains a matrix of 4
custom vertical sliders, like a mini graphic EQ? The sliders will not draw the
slot, only the knob. First I started with a subclass of NSMatrix and a subclass
of NSCell. No matter what I've tried, the cells always end
On Fri, Feb 15, 2013, at 09:30 AM, norbert wrote:
> Thanks a lot for your comments. I have tried to set
> setCacheMode:NSImageCacheNever, but that still left the file open.
>
> But I have changed my code to use this now:
>
> NSImage *result = [[NSImage alloc]
> initByReferencingFil
Thanks a lot for your comments. I have tried to set
setCacheMode:NSImageCacheNever, but that still left the file open.
But I have changed my code to use this now:
NSImage *result = [[NSImage alloc]
initByReferencingFile:[[NSBundle mainBundle] pathForResource:[theName
stringByDe
On Feb 15, 2013, at 5:41 AM, Eric Gorr wrote:
> I have a NSArrayController filled with an array of NSDictionaries.
>
> [[self controller] addObject:@{ @"name" : @"itemA", @"part" : @"partA" }];
> [[self controller] addObject:@{ @"name" : @"itemB", @"part" : @"partB" }];
> [[self controller] addOb
On Feb 15, 2013, at 2:06 AM, Christ Levesque wrote:
> I want to use these classes in my app but I don't want to use it in Core Data.
You can use all of these *except* NSManagedObjectContext for your own purposes.
I know because I have a significant project where I do exactly that.
NSManagedObje
What I want to accomplish seems like it should be fairly straightforward. I
have placed a sample project at
https://github.com/ericgorr/arraycontrollerbindings.
I have a NSArrayController filled with an array of NSDictionaries.
[[self controller] addObject:@{ @"name" : @"itemA", @"part" : @"par
Hi all,
How can i observe changes( like renaming printer, set another default printer,
delete printer, add printer) user did in Print&Scan tab in System Preferences?
Thanks.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post ad
> NSManagedObjectContext, NSManagedObjectModel, NSEntityDescription,
> NSManagedObject
>
> I want to use these classes in my app but I don't want to use it in Core Data.
These classes *are* Core Data; I'm afraid you're not making much sense.
___
Cocoa-
On 15/02/2013, at 8:01 PM, Christ Levesque wrote:
> How to create dynamic object based on user request and then how to insert it
> in a B-Tree and then how to archive/unarchive this tree.
How indeed?
How about studying CS for a few years, getting a degree, working in industry
for a further
On 15 Feb 2013, at 05:22, Graham Cox wrote:
>
> On 15/02/2013, at 1:55 PM, Jim Zajkowski wrote:
>
>> s there anything that provides the level of progress that FSCopyObjectAsync
>> does but gives the callback more control like copyfile() does?
>
>
> You could look into NSFileManager's -copy
Hello
I want to use these classes in my app but I don't want to use it in Core Data.
___
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(
Hello
How to create dynamic object based on user request and then how to insert it in
a B-Tree and then how to archive/unarchive this tree.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments
On 2/15/13 9:13 AM, Gerriet M. Denkmann wrote:
This program:
NSString *s = @"หัวหิน";
NSUInteger l3 = [ s lengthOfBytesUsingEncoding: NSUTF16StringEncoding ];
NSLog(@"%s NSUTF16StringEncoding length %lu", __FUNCTION__, l3);
NSData *d9 = [ s dataUsingE
This program:
NSString *s = @"หัวหิน";
NSUInteger l3 = [ s lengthOfBytesUsingEncoding: NSUTF16StringEncoding ];
NSLog(@"%s NSUTF16StringEncoding length %lu", __FUNCTION__, l3);
NSData *d9 = [ s dataUsingEncoding: NSUTF16StringEncoding ];
N
23 matches
Mail list logo