NSWindowCollectionBehaviorMoveToActiveSpace has failed me for the last time

2009-10-09 Thread Chilton Webb
Hi, I'm trying to wrap my head around what I thought was a simple concept. I created a simple test app to test this. The source to it can be found here... http://www.conjurebunny.com/SpaceTest.zip All it does is... 1) Sets the window collection behavior to

Fast transition between two graphics

2009-09-29 Thread Chilton Webb
experimenting with using an overlay window with layer backed views, loading the images into the views, showing the window, and drawing the animation by then translating the two views at the same time. Is this the fastest way to do this? Thank you! -Chilton Webb

Re: Fast transition between two graphics

2009-09-29 Thread Chilton Webb
Hi Rob! Thank you for writing. I suppose the only way I'll know for sure is to test this with both. On Sep 29, 2009, at 7:24 PM, Rob Keniger wrote: You could do it this way, although normally for something like this I'd use Core Image. Make two CIImages and use an animated transition

Menu Weirdness (can't set command + 3 or command + 4)

2009-09-07 Thread Chilton Webb
Hi! I've checked the archives, but finding 'command' and '3' for anything relevant is somewhat impossible. I have a situation where if I try to set the key equivalent of a menu to 3 or 4, it just won't happen. any other number--it works just fine. I even made a movie...

Re: Menu Weirdness (can't set command + 3 or command + 4)

2009-09-07 Thread Chilton Webb
Hi guys! Mystery solved--it was something already assigned to that in a menu deep in a nested menu, inside the NIB. I had to comb through the designable.nib in a text editor, actually, to find it. So for future reference, not being able to set a menu can be caused by another menu item

Re: Menu Weirdness (can't set command + 3 or command + 4)

2009-09-07 Thread Chilton Webb
Hi Andy and Jens, Thank you for your replies. It's not something system-wide, as I CAN set it to things like command +shift+3. That works fine, oddly enough. And if I set it to all of any one number, obviously it lets me set it to those numbers, even though they're already in use farther

Overriding NSMenu from an NSTextView

2009-08-31 Thread Chilton Webb
Hi! I have a menu item that defines Command+Shift+Arrow (left and right) to do something. But I'd also like to support the 'normal' NSTextView behavior for Command+Shift+Arrow. How do I tell my app to ignore this particular menu command (and use the default NSTextView behavior) when

Re: Disabling Exposé in SystemUIMode

2009-08-06 Thread Chilton Webb
Hi Eric, On Aug 7, 2009, at 12:46 AM, Eric Schlegel wrote: Hmm, yes, the keystroke to invoke Exposé should still be blocked. I can't say offhand why it wouldn't be. I filed a bug on this originally in 2005 (it is still open), radar://4376456 In that specific case, Front Row can bypass kiosk

Re: What is the best way to store some kind of identifying string in an interface builder object?

2009-06-19 Thread Chilton Webb
Hi, Here's why I'm asking. Right now I have an app that has a number of possibly different 'objects' in it. And I currently have a single inspector for all of them. When a new object is selected, the appropriate view for that object is added to the inspector window. This is a basically

What is the best way to store some kind of identifying string in an interface builder object?

2009-06-18 Thread Chilton Webb
to the user, but in such a way that I could reference it from my app? Thank you, -Chilton Webb ___ 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

Re: What is the best way to store some kind of identifying string in an interface builder object?

2009-06-18 Thread Chilton Webb
Hi Greg! Thanks for writing back. On Jun 18, 2009, at 4:52 PM, Greg Guerin wrote: Is there a way to add a tag an IB object in such a way that it is not visible to the user, but in such a way that I could reference it from my app? Maybe the -tag method: it returns a 32-bit integer.. It's

Passing events from original receiver / redirecting flow of events

2009-06-16 Thread Chilton Webb
! -Chilton Webb ___ 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-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http

Looking for the big hammer

2008-10-27 Thread Chilton Webb
Hi, I have a particular problem that is buried deep in layers of logic. Worse, it only happens on some systems, and only after they've been running for a long time. I know it's extremely heavy handed, but I want to know every single function call in my app that happens from one point to

Re: Animating a view along a path

2008-08-15 Thread Chilton Webb
Hi Douglas! Thanks for writing. I realize this isn't something people do too much of, so any help would be greatly appreciated. On Aug 15, 2008, at 9:45 AM, douglas welton wrote: How complex is your path? if it's linear, why not just tell the view's animator to do it? That's the trick.

Re: Interacting with Spaces

2008-08-14 Thread Chilton Webb
Hi Justin, I think what you're after is this... [[self window] setCollectionBehavior:NSWindowCollectionBehaviorCanJoinAllSpaces]; ...That will make your app's window show up on any space when the user returns from 'Spaces space'. -Chilton On Aug 14, 2008, at 5:24 PM, Justin Patrin

Re: Core Animation: Disabling Implicit Animations

2008-07-15 Thread Chilton Webb
), and the transitions still happen. What am I doing wrong? Thank you! -Chilton Webb On Jun 24, 2008, at 9:52 PM, Scott Anguish wrote: at the core animation level... three options 1: disable actions in a explicit transaction and do everything inside that transaction http://developer.apple.com/documentation

Servicing Core Animations?

2008-07-12 Thread Chilton Webb
Hi, I have a core animation layer backed view that doesn't animate. It only happens to not animate during mousedown events. Is there something I have to do to make it work, or is it likely I'm short circuiting something, somewhere? It doesn't animate, or move at all. But when I release the

Re: Servicing Core Animations?

2008-07-12 Thread Chilton Webb
Hi Professor Savant, Confirmation that it should work was what I was after, so after reading your email, I decided to write up a test app, and it happens there, too. This is the problem distilled to its simplest form. I welcome any feedback, mockery, etc. If I use the option in (1) below, it

Spaces API issues

2008-07-09 Thread Chilton Webb
Hi, I realize there is no Spaces API, and that there likely won't be, per se. I have an app that my users want to behave differently based on the space it is currently accessed from. There is currently no way to find the current 'space', as I understand it, so that is out of the question (and

Crying Over CoreAnimation Center Rotation Math

2008-07-09 Thread Chilton Webb
for checking intersection with another rectangle, it's always somewhere weird. I get it though, I realize that this is the same as rotating off the 0,0 corner. So how do I correctly establish the boundaries of the rotated object? Thank you, -Chilton Webb

NSTextView and Spell Checking with a layer backed view

2008-07-03 Thread Chilton Webb
Hi, It appears that all 'check while typing' dots for both spelling and grammar show up at seemingly random places in an NSTextView if the view is layer backed. Is there some way around this? Thank you, -Chilton ___ Cocoa-dev mailing list

Layer Backed Views and CoreAnimation neither animate nor stay in place

2008-06-27 Thread Chilton Webb
, and the two main classes used are below. The first does all the work, the second is just there to look pretty. ANY SUGGESTIONS/CRITICISMS/COMMENTS GREATLY APPRECIATED!!! Thank you, -Chilton Webb // SubViewDepthTest.m // SubViewDepthTest // // Created by Chilton Webb on 6/26/08. // // (1) If I

Re: gathering system information

2008-05-10 Thread Chilton Webb
Hi Torsten, Apparently Gestalt is part of CoreServices (I thought it was Carbon). That will return a lot of info about the host system. I know processor speed, memory, and architecture are in there. See Gestalt.h for more info. -Chilton ___

Re: hooking into another app

2008-04-14 Thread Chilton Webb
Hi Don, On Monday, April 14, 2008, at 09:27AM, Don Arnel [EMAIL PROTECTED] wrote: No...no...NO! Re-read my message. If it was unclear, what I want to do is be able to log (record) text being written to a chat window from another app. NOT log key strokes. For example, how could I

Re: iChat Theatre

2008-02-27 Thread Chilton Webb
Hi Mark, On Feb 27, 2008, at 12:47 PM, Mark Alldritt wrote: Can anyone tell me what I might be doing wrong? It took me awhile to make this work in my app, so perhaps I can save you some blood. Sweat and tears I can't help you with. While your app is running, if you drag it onto an active