CoreData: "Could not fulfill a fault", but only sometimes…

2011-04-21 Thread Felix Franz
Hi all, I have a strange bug in my CoreData-Application (sql store). I received bug reports where the program throws an exception "Could not fulfill a fault". This happens while loading the document. The only way I can reproduce this problem is using the "Time Profiler" in Instruments while l

Re: getting metadata from iPhone photos

2011-04-21 Thread Michael Dautermann
On Apr 20, 2011, at 2:55 AM, Simon Gislen wrote: > How do I get details of a photo taken by the iphone? I want to know the > time/date the photo was taken and get where it was taken via the GPS details > for > an application made by xcode. Start with the ALAsset class (described at

Re: UI Design on iPad

2011-04-21 Thread Evadne Wu
Hi Bing, Quartz should work most of the time, and you usually *don’t* have to move away from UIKit. I really recommend that you don’t ditch UIKit — check out videos from WWDC 2010 and see how far one can go. Without UIKit, you lose all the features that come for free, which is almost always t

Re: NSTextView with custom space width

2011-04-21 Thread Michael Dautermann
On Apr 18, 2011, at 5:37 AM, Дмитрий Николаев wrote: > Hi to all! > > I need to implement custom separator with custom width between two part of > paragraph in text view: > > AA A BBB B B > > This is separator must be included as non-editable character. So user can't > delete i

Re: Does not allow to Uninstall the application when it is running.

2011-04-21 Thread Kyle Sluder
On Apr 19, 2011, at 5:12 AM, Appa Rao Mulpuri wrote: > I think, PS command will give you the running applications list, from that > you can find your app is running or not Do not do this. There are other APIs to enumerate running processes. On 10.6 and later, the easiest one is +[NSWorkspace r

Re: NSTextView with custom space width

2011-04-21 Thread Ross Carter
On Apr 21, 2011, at 6:35 AM, Michael Dautermann wrote: > On Apr 18, 2011, at 5:37 AM, Дмитрий Николаев wrote: >> I need to implement custom separator with custom width between two part of >> paragraph in text view: >> >> AA A BBB B B >> >> This is separator must be included as non-

Re: CALayer: Animation using actions property

2011-04-21 Thread David Duncan
On Apr 20, 2011, at 8:07 AM, Bhatnagar, Arvin wrote: > The code below, when compiled w/ Xcode 3.2 does not display the layer…but, > with Xcode 4 it works just fine? > > I have no idea why this is the case. I'm not certain what would cause this unfortunately. The only possibility I can think o

Re: UI Design on iPad

2011-04-21 Thread Scott Andrew
Don't give up on UIKit. You will find you can do alot with UIKit. I have used UIKit extensively for several large custom projects with great results. To see the UIKit used to its fullest look at: Disney Second Screen: Tron Edition - http://itunes.apple.com/us/app/disney-second-screen-tron/id426

Re: UI Design on iPad

2011-04-21 Thread Alex Kac
To second that, we use only UIKit and you can customize stuff very easily. Buttons are probably the best example where you can make it look like anything. There are some controls you can't customize (UISwitch), but there are open source alternatives that are fully customizable - all written usin

Re: UI Design on iPad

2011-04-21 Thread Gleb Dolgich
Don't forget that common look and feel is one of huge advantages of iOS apps. I daresay most of the iOS apps with customised UIs look awful and their user experience sucks. Also, since it was mentioned, WPF gives developers great freedom to expose their lack of taste. The default look and feel

Re: UI Design on iPad

2011-04-21 Thread Matt Neuburg
> Date: Thu, 21 Apr 2011 12:23:46 +0800 > From: Bing Li > Subject: UI Design on iPad > > I am a new developer on iPad. After reading some books about Cocoa and iPad, > I notice that the UI supported by Interface Builder is not rich enough. Just > some common widgets are available and no interfac

Re: is it has lack of understanding & full of errors ??

2011-04-21 Thread Steve Christensen
Generally speaking, readers of this list are busy working on their own projects, so asking them to peruse and comment on an entire project is unreasonable. You are responsible for your own education and research. If you have specific questions and/or run into specific problems, you're more likel

Re: setting table view's cell size?

2011-04-21 Thread Todd Heberlein
> Just set the desired row height in IB. > > Programatically, it's -setRowHeight: Oops! How embarrassing. Thanks guys. Todd ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list.

Re: Find network mounted DVD's

2011-04-21 Thread Lee Ann Rucker
kIOPropertyPhysicalInterconnectLocationKey isn't an IOService, it's an IOProperty. You need to find the IORegistry entry that has those properties with those values. (Sorry, I can't help with that part; I barely understand it myself.) Look in IORegistryExplorer, open the drawer that lets you m

Re: UI Design on iPad

2011-04-21 Thread Roni Music
Message: 6 Date: Thu, 21 Apr 2011 12:23:46 +0800 From: Bing Li Subject: UI Design on iPad To: Cocoa-dev@lists.apple.com Message-ID: Content-Type: text/plain; charset=ISO-8859-1 Dear all, I am a new developer on iPad. After reading some books about Cocoa and iPad, I notice that the UI suppor

Re: UI Design on iPad

2011-04-21 Thread Dave DeLong
http://en.wikipedia.org/wiki/Windows_Presentation_Foundation It's a windows thing. Dave On Apr 21, 2011, at 1:17 PM, Roni Music wrote: > >> Message: 6 >> Date: Thu, 21 Apr 2011 12:23:46 +0800 >> From: Bing Li >> Subject: UI Design on iPad >> To: Cocoa-dev@lists.apple.com >> Message-ID: >> Co

Multithreading and memory management question

2011-04-21 Thread eveningnick eveningnick
Hello I have an application that has a shared object (which is a custom container for elements - arrays, and which is protected by critical sections in my code). I need to control it's lifetime - it should be alive until the last thread finishes working. Let me try to explain it using an example f

Re: Multithreading and memory management question

2011-04-21 Thread Ken Thomases
On Apr 21, 2011, at 4:18 PM, eveningnick eveningnick wrote: > I have an application that has a shared object (which is a custom > container for elements - arrays, and which is protected by critical > sections in my code). I need to control it's lifetime - it should be > alive until the last thread

Re: Multithreading and memory management question

2011-04-21 Thread eveningnick eveningnick
Hi Ken, > How are you spawning your threads? > If you use Cocoa methods, then they automatically retain the object which is > the target of the selector and the argument object for the life of the > thread.  So, you may be getting this automatically without realizing it.  If > not, then it shoul

Re: CoreData: "Could not fulfill a fault", but only sometimes?

2011-04-21 Thread Steve Steinitz
Hi Felix, On 21/04/11, Felix Franz wrote: I have a strange bug in my CoreData-Application (sql store). I received bug reports where the program throws an exception "Could not fulfill a fault". This happens while loading the document. I've been seeing that issue for a few years, but in a non

iPad Files

2011-04-21 Thread koko
Can I write a file to some location other than the app bundle that other apps can access in an iPad / iPhone app? -koko___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact

Re: iPad Files

2011-04-21 Thread Conrad Shultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 4/21/11 4:43 PM, koko wrote: > Can I write a file to some location other than the app bundle that other apps > can access in an iPad / iPhone app? a) You can't write to the app bundle. The OS disallows this, and I'm pretty sure this would break c

NSColorWell inside a custom NSCell

2011-04-21 Thread Bryan Hansen
I'm trying to develop a gradient control using multiple custom NSCells to control the gradient color locations. I'd like to have an NSColorWell contained within each cell. I have the interactions working correctly as they are all handled by the cell itself but can not seem to get the color wells

computing values within NSTableView using bindings

2011-04-21 Thread Guy Steven
I have an NSTableView with 3 columns. The first contains an NSPop-up which takes as its datasource an array of objects with two properties, name and cost. The name is displayed. The user enters a quantity in the 2nd column. How do I go about displaying the cost in the third column? I can bind t

Re: NSColorWell inside a custom NSCell

2011-04-21 Thread Graham Cox
On 21/04/2011, at 4:17 PM, Bryan Hansen wrote: > Am I on the right track with this? Is there a better way to get a bunch of > movable colorwells within a custom control? I'd say no, you're not on the right track and yes, there's a better way. What you're attempting is probably doable, but the

Re: computing values within NSTableView using bindings

2011-04-21 Thread Quincey Morris
On Apr 21, 2011, at 14:10, Guy Steven wrote: > I have an NSTableView with 3 columns. > > > The first contains an NSPop-up which takes as its datasource an array of > objects with two properties, name and cost. The name is displayed. > > The user enters a quantity in the 2nd column. > > How do