Crashes in _Unwind_Resume

2010-08-24 Thread Benjamin Rister
We’ve started seeing sporadic but regular crashes from _Unwind_Resume in a Foundation tool. The crashing thread is: > Thread 0 Crashed: Dispatch queue: com.apple.main-thread > 0 libSystem.B.dylib 0x7fff87e363d6 __kill + 10 > 1 libSystem.B.dylib 0x7fff87

Is this possible....

2010-08-24 Thread Jennifer Usher
This might be a dumb question I am trying to modify an example application created as a view based application... My application will take a date as input and then do some calculations. I then want to output the data to a text view in a new view, or perhaps the same view if I can modify i

Re: Autorelease Pool Question.

2010-08-24 Thread Shazron Abdullah
It is the same if you are not doing garbage collection (drain hints the gc) drain is the safer bet for all environments On 2010-08-24, at 10:44 PM, Mr. Gecko wrote: > I am wondering if releasing the autorelease pool is the same as draining. If > it's not, will releasing cause the objects not to

Autorelease Pool Question.

2010-08-24 Thread Mr. Gecko
I am wondering if releasing the autorelease pool is the same as draining. If it's not, will releasing cause the objects not to be released? I am just wondering as I am using release in my applications and it would be bad if it didn't release the objects in it.

Re: Relation of UIView layer to drawRect:

2010-08-24 Thread Luke Hiesterman
Adding a sublayer to self.layer works just like adding a subview to self. Sublayers are drawn on top of their superlayers. In this case the superlayer is your view, so the image in the sublayer will be rendered on top of whatever you draw in drawRect: Luke Sent from my iPhone. On Aug 24, 2010

Relation of UIView layer to drawRect:

2010-08-24 Thread David F.
What is the relationship of a UIView's layer (and its sublayers) to what happens when that UIView's drawRect: is called? I would expect the code below to draw a diagonal line across (i.e. on top of) the image, but it looks like the line is drawn behind the image. In other words, all I see is t

Re: Document Cursor

2010-08-24 Thread Richard Somers
On Aug 24, 2010, at 4:27 PM, Richard Somers wrote: There are lots of applications that when a window is activated by a mouse click with the mouse over a tracking area, the cursor will change. You do not need to exit and re-enter the tracking area. This should be elementary stuff. But I can'

Re: Navigation Services

2010-08-24 Thread koko
Yes, I know NSOpenPanel etc but Nav services had a cleaner way to display a preview than the accessory view provides. I need to create a preview if my qlgenerator is not installed and since the accessory view look clunky I was just thinking oh well, on to clunksville! -koko On Aug 2

Re: Sample App Similar to Core Data Data Modeler?

2010-08-24 Thread Erik Buck
You will find a similar "connected lines to inputs and outputs" interface in Quartz Composer. I don't think Apple has provided source code for either approach, but it is not that hard. One of my company's products contained a similar interface in NeXTstep (proto-Cocoa) in ~1996. We collabor

Re: Document Cursor

2010-08-24 Thread Richard Somers
On Aug 24, 2010, at 11:38 AM, John C. Randolph wrote: You can just check where the cursor is when you open your document and send [[NSCursor IBeamCursor] push] yourself if it's inside your view. This does not work for me. The following code is used to set the cursor when ever the window

Re: Navigation Services

2010-08-24 Thread Nick Zitzmann
On Aug 24, 2010, at 3:09 PM, k...@highrolls.net wrote: > Will / is Navigation Services available , For 32-bit apps, yes. For 64-bit apps, no. > will be available in OSX moving forward. I doubt it. Navigation Services was replaced by NSOpenPanel/NSSavePanel a long time ago. Nick Zitzmann

Navigation Services

2010-08-24 Thread koko
Will / is Navigation Services available , will be available in OSX moving forward. -koko ___ 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-

Difference between NSOperationQueue and NSThread in iOS4?

2010-08-24 Thread Scott Andrew
I have a question that I have been researching but can't find an answer for. I have some iOS 3.2 code using NSOperation this doesn't work using NSOperation but works using NSThread withe detatch thread in iOS4 with the desired effect. My code is basically to create and generate pages for my page

Re: Document Cursor

2010-08-24 Thread John C. Randolph
On Aug 23, 2010, at 9:41 PM, Richard Somers wrote: > If a new document is opened and the cursor happens to already be over the > view, the cursor is not updated until it is moved out of the view and then > back in. How can I fix this? None of the NSTrackingArea options address this > issue. Y

Sample App Similar to Core Data Data Modeler?

2010-08-24 Thread Brad Gibbs
Hi, I've been looking for some sample code similar to Core Data's data modeler. I've seen TreeView and I've watched the Crafting Custom Views presentation from WWDC 2010. Both are excellent, but, I'm hoping to find some code that shows views representing data that are connected with lines. I

Re: Another Icon Question

2010-08-24 Thread Mark Ritchie
On 24/Aug/2010, at 10:04 AM, Jean-Daniel Dupas wrote: > Don't include it directly. This is a subumbrella framework and should always > be referenced though its parent framework. Instead use: > #import Ah, good point. ;-) Thanks! M. ___ Cocoa-dev mai

Re: Another Icon Question

2010-08-24 Thread Jean-Daniel Dupas
Le 24 août 2010 à 17:57, Mark Ritchie a écrit : > Hey! > > On 24/Aug/2010, at 7:43 AM, k...@highrolls.net wrote: >> I added CoreServices.framework to my project since it contains >> LaunchServices.framework. > When I tried this, I had to explicitly include LaunchServices.framework > >> The ref

Re: Saving Managed Object Context

2010-08-24 Thread Ayers, Joseph
That solved it. We made the reciprocal to-one relationship optional and it saved. Thanks, Joseph On Aug 23, 2010, at 5:48 PM, Quincey Morris wrote: > On Aug 23, 2010, at 09:33, Ayers, Joseph wrote: > >> NSError *error = nil; >> if (![[self managedObjectContext] save: &error]) { >> NSLog(@"Erro

Re: Another Icon Question

2010-08-24 Thread Mark Ritchie
Hey! On 24/Aug/2010, at 7:43 AM, k...@highrolls.net wrote: > I added CoreServices.framework to my project since it contains > LaunchServices.framework. When I tried this, I had to explicitly include LaunchServices.framework > The referenced header is in LaunchServices.framework, but still not fo

Re: Another Icon Question

2010-08-24 Thread koko
I added CoreServices.framework to my project since it contains LaunchServices.framework. The referenced header is in LaunchServices.framework, but still not found. What do I need to do for the project to see this header? -koko On Aug 23, 2010, at 9:47 PM, Ken Thomases wrote: On Aug 23

Syncing behaviour for core-data app

2010-08-24 Thread Martin Hewitson
Dear list, I have a core-data app which can sync the data to mobile-me. I have a design question that perhaps others have already pondered. When is a good time to sync from the user's perspective? If I just do it automatically in the background I'm worried that the data will change via the sync

Re: OgreKit Source Code

2010-08-24 Thread Geoff Beier
On Tue, Aug 24, 2010 at 7:30 AM, Martin Pilkington wrote: > Hey all, > > I know this isn't strictly about Cocoa, but it's related enough. I'm looking > for the source code for the OgreKit regex framework. The site that supposedly > has the framework has vanished and while I have the built framew

OgreKit Source Code

2010-08-24 Thread Martin Pilkington
Hey all, I know this isn't strictly about Cocoa, but it's related enough. I'm looking for the source code for the OgreKit regex framework. The site that supposedly has the framework has vanished and while I have the built framework, I'd like to have the source in order to future proof myself. D

Re: Cocoa wrapper for libarchive

2010-08-24 Thread jonat...@mugginsoft.com
On 23 Aug 2010, at 10:46, jonat...@mugginsoft.com wrote: > > Is anyone aware of the existence of a Cocoa wrapper for libarchive? > > http://code.google.com/p/libarchive/ > My only success with this has been to locate Per Johansson's ArchiveWrapper.m. http://bazaar.launchpad.net/%7Epelle-morth