Re:Boolean values in a plist - resolved

2010-05-24 Thread Dale Miller
Thanks to Ken Thomases and James Walker for the information that I can use: if (CFGetTypeID(someObject) == CFBooleanGetTypeID()) Dale Miller ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or

Re: View manipulation problem

2010-05-24 Thread ico
Hi guys, I just wonder if this message was sent out successfully or nobody can help. On Fri, May 21, 2010 at 11:20 AM, ico jche...@gmail.com wrote: Hi All, I have a little iPhone app which has the following UI: 1. 2 buttons, use to manipulate my model object. 2. 2 switches, let's call

Re: getting file creation date from NTFS

2010-05-24 Thread Paul Sanders
The docs don't really *have to* say, though, because it's the only choice that makes any sense. Of course they do. Ambiguity like this just leads to confusion. And I know it's off topic, but I can't let your assertion that Windows actually bases everything off local time pass without

Re: getting file creation date from NTFS

2010-05-24 Thread Alastair Houghton
On 24 May 2010, at 10:42, Paul Sanders wrote: The docs don't really *have to* say, though, because it's the only choice that makes any sense. Of course they do. Ambiguity like this just leads to confusion. And I know it's off topic, Let's take it off list then, rather than posting

Re: getting file creation date from NTFS

2010-05-24 Thread Paul Sanders
Let's take it off list then, rather than posting off-topic stuff to cocoa-dev? What for? As far as I'm concerned, we are done. I just don't like ill-informed 'Windows bashing', any more than you would like it if I took a pop at something I didn't understand on the Mac. I am not a Windows

[OT] Re: getting file creation date from NTFS

2010-05-24 Thread Alastair Houghton
On 24 May 2010, at 10:52, Paul Sanders wrote: Let's take it off list then, rather than posting off-topic stuff to cocoa-dev? What for? Because it chokes the list up with things that other people (who are interested in *COCOA*) are not interested in, that's what for. As far as I'm

Re: nsprogressindicator change color

2010-05-24 Thread Rick C.
Thanks Graham. Yes I understand what you're saying and it makes sense. I'll probably just have to take what the Framework gives or maybe look for an alternative solution. You would think an alternative color for highlighted rows would be easy enough and still fit the Aqua guidelines since

Re: Object Ownership

2010-05-24 Thread Graham Cox
On 24/05/2010, at 12:22 PM, Ken Thomases wrote: On May 23, 2010, at 7:34 PM, Graham Cox wrote: What I don't understand is why you make the copy. [NSURL URLWithString] doesn't require a mutable string, it requires a string, so your whole method could be reduced to: He does have a

Re: Suppressing visibility in the Dock

2010-05-24 Thread Ben Haller
On 24-May-10, at 12:30 AM, Ben Haller wrote: On 24-May-10, at 12:12 AM, Ken Thomases wrote: I think you can also get away with using LSBackgroundOnly or LSUIElement and then, when you want it to be a foreground GUI app, use TransformProcessType() to make it one. This seems pretty

[Moderator] Re: getting file creation date from NTFS

2010-05-24 Thread Scott Anguish
On May 24, 2010, at 5:52 AM, Paul Sanders wrote: Let's take it off list then, rather than posting off-topic stuff to cocoa-dev? What for? The list is for the discussion of cocoa development issues of a technical issue. At this point, it isn’t. Alastair is correct in asking that this be

How can i disable multiple selection on a NSTextView

2010-05-24 Thread Erick Pérez
My question is fair simple, i just can't find a way to do it. How can i disable multiple selection on a NSTextView ? and know is possible cause Textmate doesn't allow for it, so how do i do that ? Thxs ___ Cocoa-dev mailing list

Re: How can i disable multiple selection on a NSTextView

2010-05-24 Thread Douglas Davidson
On May 24, 2010, at 6:16 AM, Erick Pérez wrote: My question is fair simple, i just can't find a way to do it. How can i disable multiple selection on a NSTextView ? and know is possible cause Textmate doesn't allow for it, so how do i do that ? There are delegate methods for controlling

Re: How can i disable multiple selection on a NSTextView

2010-05-24 Thread Kyle Sluder
2010/5/24 Erick Pérez erick@gmail.com: and know is possible cause Textmate doesn't allow for it, so how do i do that ? Don't use Textmate as an example for text editing behavior; the author rewrote a lot of the text system. --Kyle Sluder ___

Re: CATiledLayer Memory Usage

2010-05-24 Thread David Duncan
On May 22, 2010, at 9:44 AM, Milen Dzhumerov wrote: I've been writing some code that uses CATiledLayer and noticed that the memory usage increased quite a bit - by a factor of 2, on average. Some numbers that I've collected: Normally Sized Window - NS: 10mb; CA: 18.5mb Maximized Window:

Re: [Moderator] Re: getting file creation date from NTFS

2010-05-24 Thread Paul Sanders
What I meant was, let's not prolong the discussion, period. The snippet quoted below is incomplete. Nevermind. Paul Sanders. - Original Message - From: Scott Anguish sc...@cocoadoc.com To: Paul Sanders p.sand...@alpinesoft.co.uk Cc: Alastair Houghton alast...@alastairs-place.net;

Re: CATiledLayer Memory Usage

2010-05-24 Thread Milen Dzhumerov
On 24 May 2010, at 18:05, David Duncan wrote: On May 22, 2010, at 9:44 AM, Milen Dzhumerov wrote: [snip] What problem are you trying to solve and how are you determining memory usage? I was mainlu using CATiledLayer due to the restrictions of texture sizes on Leopard. Looks like those

Re: NSMovieView - QTMovieView; rate problems...

2010-05-24 Thread Matthew Weinstein
Okay I'm confused. How do I set the attributes when I init and initWithURL at the same time. I can't seem to find a method to do both. The problem is that when I first init withURL and then use setAttribute, it doesn't take. I check right away and the value is set YES rather than NO. On May

Re: NSMovieView - QTMovieView; rate problems...

2010-05-24 Thread James Walker
On 5/24/2010 11:50 AM, Matthew Weinstein wrote: Okay I'm confused. How do I set the attributes when I init and initWithURL at the same time. I can't seem to find a method to do both. The problem is that when I first init withURL and then use setAttribute, it doesn't take. I check right away and

Re: Beginner question on controls and NSCopying

2010-05-24 Thread Keary Suska
On May 23, 2010, at 3:31 PM, Velocityboy wrote: I'm working on an app that has the concept of allowing the user to create templates of things which are then instanced into a document. Central to this is the idea that the user can create a template, then select it as part of another

Re: Beginner question on controls and NSCopying

2010-05-24 Thread Velocityboy
Hi Keary - Thanks!! I'll take at the popup button cell. -- Jim On May 24, 2010, at 1:26 PM, Keary Suska wrote: On May 23, 2010, at 3:31 PM, Velocityboy wrote: I'm working on an app that has the concept of allowing the user to create templates of things which are then instanced into a

Re: Layer-hosting views and layer-backed scroll views

2010-05-24 Thread Kyle Sluder
On Fri, May 21, 2010 at 3:20 PM, Kyle Sluder kyle.slu...@gmail.com wrote: I'm hoping I've done something wrong in setting up the layer. Is it perhaps because of the way I've turned off the redraw policy and set the layer resizing behavior? The documentation seems to imply that I have done the

Re: NSDoc's Magic File Watcher Ruins Core Data Migration [SOLVED]

2010-05-24 Thread Jerry Krinock
I did as Quincey suggested and it fixed the bug in my multi-stage automatic migration. Indeed, FSExchangeObjects() is documented as: ... allows programs to implement a “safe save” operation by creating and writing a complete new file and swapping the contents. An alias, FSSpec, or FSRef that

IKImageView Question

2010-05-24 Thread jyoung79
I've been trying a few tests with IKImageView to view an EPS file with zooming capabilities. Some code that Apple provides works well... however I'm getting a warning - warning: 'IKImageView' may not respond to '-setImage:'. Instead of using the NSURL (which doesn't seem to work with EPS

Re: NSDoc's Magic File Watcher Ruins Core Data Migration [SOLVED]

2010-05-24 Thread Chris Parker
Hi Jerry, On 24 May 2010, at 2:29 PM, Jerry Krinock wrote: I did as Quincey suggested and it fixed the bug in my multi-stage automatic migration. Indeed, FSExchangeObjects() is documented as: ... allows programs to implement a “safe save” operation by creating and writing a complete

Re: IKImageView Question

2010-05-24 Thread Brian Postow
On May 24, 2010, at 5:36 PM, jyoun...@kc.rr.com jyoun...@kc.rr.com wrote: I've been trying a few tests with IKImageView to view an EPS file with zooming capabilities. Some code that Apple provides works well... however I'm getting a warning - warning: 'IKImageView' may not respond to