Re: Is CoreData on iOS ready for prime time for serious work?

2013-02-13 Thread Mark Woollard
I've used CoreData extensively in various apps developed over several years, including multi-threaded use on two or more threads, and across multiple data stores. Like you have used the confinement method. I've found it very reliable except when bugs have broken the confinement model. Then thing

Is CoreData on iOS ready for prime time for serious work?

2013-02-13 Thread Laurent Daudelin
I just added CoreData to an app I'm working on. I've been working with CoreData for about a year, not exclusively but pretty regularly so I think I'm experienced enough to set it up properly. However, our testers are experiencing what I feel is more than normal crashes in the main part of the a

Re: faster deep copies?

2013-02-13 Thread Ken Thomases
On Feb 13, 2013, at 8:07 PM, James Maxwell wrote: > I've run into a situation where I really need a deep copy of an object. I've > implemented this using Apple's recommended approach with > NSKeyedArchiver/Unarchiver, and it's nice, simple, and functional. But it's > also pretty darn slow -- as

faster deep copies?

2013-02-13 Thread James Maxwell
I've run into a situation where I really need a deep copy of an object. I've implemented this using Apple's recommended approach with NSKeyedArchiver/Unarchiver, and it's nice, simple, and functional. But it's also pretty darn slow -- as in a clear, subjectively apparent performance hit. Has any

Re: iOS Document Interaction Technology

2013-02-13 Thread Jerry Krinock
On 2013 Feb 13, at 13:31, koko wrote: > I run my app on the iPad, which I understand, should register support for the > document types in CFBundleDocumentTyes with the system. What I expect is > that choosing a file of my supported type in DropBox will inform the user > that my app can handl

Re: NSImage leaks open file in 10.8.2?

2013-02-13 Thread Kyle Sluder
On Wed, Feb 13, 2013, at 12:54 PM, Nick Zitzmann wrote: > > On Feb 13, 2013, at 2:12 AM, norbert wrote: > > > In Mac OS X 10.6.8, it works fine, and closes the image files after use. > > But in 10.8.2, it keeps every single one of them open. > > > > Here is the code I use: > > > > NSImage

Re: Pointer was being free was not allocated

2013-02-13 Thread Sean McBride
On Wed, 13 Feb 2013 19:50:29 +0800, anni saini said: >Can anybody know how to resolve the issue of  "Pointer was being free >was not allocated" I was facing this issue with my project on 10.7 and >10.8 however the code works perfectly fine on 10.6. Any idea what is >causing this? There are lots o

iOS Document Interaction Technology

2013-02-13 Thread koko
I have the CFBundleDocumentTyes array properly defined. I run my app on the iPad, which I understand, should register support for the document types in CFBundleDocumentTyes with the system. What I expect is that choosing a file of my supported type in DropBox will inform the user that my app ca

Re: NSImage leaks open file in 10.8.2?

2013-02-13 Thread Nick Zitzmann
On Feb 13, 2013, at 2:12 AM, norbert wrote: > In Mac OS X 10.6.8, it works fine, and closes the image files after use. But > in 10.8.2, it keeps every single one of them open. > > Here is the code I use: > > NSImage *nextImage = [NSImage > imageNamed:@"Animator1.png"];

Re: NSUserNotificationCenter: Spoofing the app name/icon?

2013-02-13 Thread Lee Ann Rucker
I know from experience that it doesn't use the name from the app that sent the notification; we hit a case where someone who'd been testing an earlier version that they'd renamed to include the version number was seeing that name in the Notification Center even after that copy had been deleted.

Re: NSUserNotificationCenter: Spoofing the app name/icon?

2013-02-13 Thread Nick Zitzmann
On Feb 13, 2013, at 3:25 AM, jonat...@mugginsoft.com wrote: > Is it not possible to use IPC to have the helper message the client app so > that the client does the actual posting? The client might not be running at the time. Nick Zitzmann

Re: Uploading photos to iCloud programatically

2013-02-13 Thread Kyle Sluder
On Wed, Feb 13, 2013, at 08:26 AM, James Montgomerie wrote: > If you save images to the camera roll the system will automatically > upload them to the photo stream, just as if they'd been taken with the > camera. I don't think you can save them to named photo streams this way though. I know that

Re: Uploading photos to iCloud programatically

2013-02-13 Thread James Montgomerie
If you save images to the camera roll the system will automatically upload them to the photo stream, just as if they'd been taken with the camera. Jamie. On 7 Feb 2013, at 05:42, Balaji M wrote: > Hi, > > I am writing a Mac application which is expected to support uploading > photos to iCloud

NSLinguisticTagger & alarm strings

2013-02-13 Thread Eric E. Dolecki
Greetings, I am new to NSLinguisticTagger and I'm trying to set up an alarm set based on string... "Wake me up at 9 AM" "Set alarm for 10 AM tomorrow" - that sort of thing. What is the best way to tackle this? Should I use NSLinguisticTagger? If so, what's the best way to set it up? I could use s

Re: Pointer was being free was not allocated

2013-02-13 Thread Scott Ribe
On Feb 13, 2013, at 4:50 AM, anni saini wrote: > Can anybody know how to resolve the issue of "Pointer was being free was not > allocated" I was facing this issue with my project on 10.7 and 10.8 however > the code works perfectly fine on 10.6. Any idea what is causing this? You're probably fr

Re: Pointer was being free was not allocated

2013-02-13 Thread Uli Kusterer
Sounds like a classic memory management error. Either you are using a pointer to an object after you've released it, or you are keeping an autoreleased pointer beyond the lifetime of the current autorelease pool without retaining it, or a pointer to an object inside an NSArray or NSDictionary af

Pointer was being free was not allocated

2013-02-13 Thread anni saini
Hi, Can anybody know how to resolve the issue of  "Pointer was being free was not allocated" I was facing this issue with my project on 10.7 and 10.8 however the code works perfectly fine on 10.6. Any idea what is causing this? Thanks. ___ Cocoa-de

Re: NSUserNotificationCenter: Spoofing the app name/icon?

2013-02-13 Thread jonat...@mugginsoft.com
Is it not possible to use IPC to have the helper message the client app so that the client does the actual posting? Regards Jonathan Mitchell Mugginsoft LLP On 12 Feb 2013, at 22:01, Nick Zitzmann wrote: > Short question: How do I spoof the application name & icon when a > notification from

NSImage leaks open file in 10.8.2?

2013-02-13 Thread norbert
Hi, while testing the latest version of my software in 10.8.2, I noticed that there are a lot of open files, more than in 10.6.8. I tracked it down to an animation I use, and the png files I load for that. In Mac OS X 10.6.8, it works fine, and closes the image files after use. But in 10.8.2,