CGImageSourceCreateWithData

2009-05-23 Thread Alex Mills
Hey All, In my debugger window I'm getting 10 instances of : CGImageSourceCreateWithData data parameter is nil I have no idea where this is coming from, none of my classes appear to call any methods related to this. What issue would cause this error? Leopard, Xcode 3.1 Cheers Alex

which temp dir to use?

2009-05-23 Thread Nick Rogers
Hi, NSTemporaryDirectory(), returns something like /var/temp/we/weOIDM +mck Whereas I want to store files at a place with a fixed path. So where should I save temp files? and how can I get that path programatically everytime? Thanks, Nick ___

Re: which temp dir to use?

2009-05-23 Thread Robert Claeson
On 23 May 2009, at 12:43, Nick Rogers wrote: Hi, NSTemporaryDirectory(), returns something like /var/temp/we/weOIDM +mck Whereas I want to store files at a place with a fixed path. So where should I save temp files? and how can I get that path programatically everytime? Use t

Document Types

2009-05-23 Thread Filip van der Meeren
Hello, I am writing an Document-based App that uses bundles, and I was wondering if I could create new Document Types for my App programatically based on the available plugins. Any help would be greatly appreciated, Filip van der Meeren fi...@code2develop.com __

Re: which temp dir to use?

2009-05-23 Thread Richard Frith-Macdonald
On 23 May 2009, at 11:43, Nick Rogers wrote: Hi, NSTemporaryDirectory(), returns something like /var/temp/we/weOIDM +mck Whereas I want to store files at a place with a fixed path. So where should I save temp files? and how can I get that path programatically everytime? What

Re: Multithreaded debugging help (audio recording eg).

2009-05-23 Thread Michael Ash
On Sat, May 23, 2009 at 2:09 AM, Darren Minifie wrote: > and still get 0x0 as the output.  Finally, when i try to set breakpoints in > the callback, they never trigger the debugger.  I'm guessing this is because > the callback is executing in another thread. Unlikely. The debugger deals with mult

Re: CGImageSourceCreateWithData

2009-05-23 Thread Dave Keck
> I have no idea where this is coming from, none of my classes appear to call > any methods related to this. What issue would cause this error? Try setting a breakpoint in CGImageSourceCreateWithData()... ___ Cocoa-dev mailing list (Cocoa-dev@lists.appl

Re: Document Types

2009-05-23 Thread Filip van der Meeren
Never mind, I have already found it: http://www.cocoadev.com/index.pl?LaunchServices Thank you anyway, Filip van der Meeren fi...@code2develop.com On 23 May 2009, at 13:17, Filip van der Meeren wrote: Hello, I am writing an Document-based App that uses bundles, and I was wondering if I

[SOLVED] Re: Newbie question on listing out detailed items

2009-05-23 Thread Stamenkovic Florijan
Graham, Jason, Thanks for your replies. What I want: a listout of items, each of which presents info and a number of controls. Typical example: Safari's downloads window. ... Any pointers to documentation on how to deal with this would be very appreciated. Perhaps I am simply using the wr

Re: getting a point from an array of NSValue CGPoints

2009-05-23 Thread Jeff Decker
Thank you for your response. Your reply prompted me to explore where else my problem might lay if it is not in the unpacking of CGPoint. It turns out that the instance of my PolygonShape class in my PolygonView class does not have any information attached to it. I am not sure how to conne

strange menu item key equivalent behavior

2009-05-23 Thread Rick C.
Hello again, The following situation was giving me trouble: the standard menu item Close with a command-w key equivalent in IB would appear as Close/Close All when running the app. I couldn't figure out why as I do not have a Close All in my menu. I seemed to notice this behavior after inser

Re: strange menu item key equivalent behavior

2009-05-23 Thread Sean McBride
Rick C. (jo_p...@yahoo.com) on 2009-05-23 11:56 AM said: >The following situation was giving me trouble: the standard menu item >Close with a command-w key equivalent in IB would appear as Close/Close >All when running the app. I couldn't figure out why as I do not have a >Close All in my menu.

Re: strange menu item key equivalent behavior

2009-05-23 Thread Rick C.
Thanks Sean for the reply. Yes I wasn't thinking that much about it at the time. Thing is I did have option-command-w before and it was no problem. I'm not using it for Close All. And the Close All that is just appearing has no key equivalent. Since I had option-command-w before and it was

Re: Resizing Funky

2009-05-23 Thread Fritz Anderson
On 21 May 2009, at 11:33 AM, Walker Argendeli wrote: I have a window with a tableview inside it, along with many other views. When I click the resize button, most things do what they're supposed to, except for two things: the table and title bar. The title bar goes completely white, excep

Re: getting a point from an array of NSValue CGPoints

2009-05-23 Thread Greg Guerin
Jeff Decker wrote: It turns out that the instance of my PolygonShape class in my PolygonView class does not have any information attached to it. Did you ever do anything to attach information to it? Did you assign the variable a value? I am not sure how to connect the PolygonShape instance

Re: strange menu item key equivalent behavior

2009-05-23 Thread Sean McBride
Rick C. (jo_p...@yahoo.com) on 2009-05-23 12:40 PM said: >Thanks Sean for the reply. Yes I wasn't thinking that much about it at >the time. Thing is I did have option-command-w before and it was no >problem. I'm not using it for Close All. And the Close All that is >just appearing has no key e

Re: Deallocating cocoa distant objects.

2009-05-23 Thread Ken Thomases
Hi, Have you tried the approach where the server's methods return objects rather than outputting them through pointer parameters? That's more typical. Also, I'd point out that all of your methods which return HRESULT type are hard-coded to always return S_OK, or, if they aren't hard-cod

NSScrollView, NSTableView and NSSplitView Glitch

2009-05-23 Thread Ulai Beekam
I have a serious (well serious according to my own standards) glitch I came across using NSScrollView (around an NSTableView) when using it with NSSplitView. I don't want to bore you with a long description, so I made this nice movie of the glitch: http://dl.getdropbox.com/u/496106/scrollViewS

Re: NSScrollView, NSTableView and NSSplitView Glitch

2009-05-23 Thread Dave Keck
Hello, I would try creating a subclass of NSScrollView, and figure out under what conditions the NSScrollView feels that it needs to display the vertical scroller. Perhaps the solution is as simple as overriding -hasVerticalScroller to always return NO. So in your NSScrollView subclass, I would st