Re: Use of preprocessor macros

2009-12-02 Thread Mr. George Warner
On Dec 2, 2009, at 10:39 AM, Laurent Daudelin wrote: > On Dec 2, 2009, at 09:20, Mr. George Warner wrote: > >> On Wed, 2 Dec 2009 12:35:03 +1100, Graham Cox wrote: >>> Okaaay... I got it. >>> I'd set this in the (Project) > Get Info > Build setti

Re: Use of preprocessor macros

2009-12-02 Thread Mr. George Warner
On Wed, 2 Dec 2009 12:35:03 +1100, Graham Cox wrote: > Okaaay... I got it. > I'd set this in the (Project) > Get Info > Build settings, not (Target) > Get > Info > Build settings. > Putting it in the target settings works as expected. > To be honest it's very confusing as to which settings you're

Re: totally baffled by "odoc" apple event failing on launch

2009-12-02 Thread Mr. George Warner
On Tue, 1 Dec 2009 13:38:41 -0500, Dave Keck wrote: > i have run with AEDebug / Send / Receives set to 1 and i see the log > of the events. but i can only do that when launching from the command > line (no double click) or from Xcode (again no double click) so there is > no way to test my problem

Re: NSString out of scope

2009-12-02 Thread Mr. George Warner
On Tue, 1 Dec 2009 23:14:44 +1100, Graham Cox wrote: > On 01/12/2009, at 10:52 PM, Pierre Berloquin wrote: >> When I want to test the content of the string I can't and the debugger >> displays "out of scope". > Ah, the debugger! Now we are getting somewhere. I see that fairly frequently. > It's

re: Screensaver won't run on 10.6 even after porting to 64-bit

2009-10-11 Thread Mr. George Warner
On Sun, 11 Oct 2009 15:02:22 -0400, Ben Haller > wrote: > Hi folks. So my screensaver broke on 10.6, along with everybody > else's, and I'm told that's because it has to be compiled for the 64- > bit architecture, because System Prefs is a 64-bit app on 10.6. So I > set up a conditional compil

re: Alert prompts for BetterAuthorizationService

2009-10-07 Thread Mr. George Warner
On Wed, 07 Oct 2009 11:51:37 -0700, Todd Heberlein > wrote: > In Apple's BetterAuthorizationSample application pressing the > "LowNumberedPorts" button brings up a window to authorize yourself. It > includes the following text to explain why you are authorizing yourself: > "You must be autho

Re: contextual menu plugin example in cocoa

2009-09-01 Thread Mr. George Warner
On Tue, 1 Sep 2009 16:12:07 -0700, Mark Munz wrote: > I've filed a number of bugs on Services and recommend you do so as > well. Not sure if it is better to file each issue separately or group > them together. Please file each issue separately; Feel free to cc me on any bug #'s. -- Enjoy, Georg

Re: iTunes COM interface for Windows; need the equivalent for

2009-07-17 Thread Mr. George Warner
On Thu, 16 Jul 2009 19:52:03 -0400, Daniel Dickison > wrote: > It's been a while since I dealt with this, but if I recall correctly, > AppleScript gets you almost everything you can with the COM interface > on Windows. The only exception was that you can't register to listen > for player updates,

Re: renaming executable files

2009-06-23 Thread Mr. George Warner
On Jun 23, 2009, at 12:40 AM, Jens Miltner wrote: Am 22.06.2009 um 19:22 schrieb Mr. George Warner: On Sun, 21 Jun 2009 06:47:26 -0700 (PDT), Angelo Chen > wrote: > I need to rename the executable file without renaming the project, how to do that? thanks <http://developer.apple.com/

re: renaming executable files

2009-06-22 Thread Mr. George Warner
On Sun, 21 Jun 2009 06:47:26 -0700 (PDT), Angelo Chen > wrote: > I need to rename the executable file without renaming the project, how to do that? thanks -- Enjoy, George Warner, Schizophrenic Optimization Scientist Apple Developer Technical

re: Cocoa and Computational Expense

2009-06-22 Thread Mr. George Warner
On Sat, 20 Jun 2009 16:36:58 -0700 (PDT), syntonica wrote: > I am new to Cocoa (about 3 weeks now) and have not done much programming since the halcyon days of 16K RAM. WoW! a whole 16K!!! I remember paying > $50 each in 1974 for surplus 1103's, the worlds first 1K dynamic RAM. (Yeah, I ju

re: repeatable random numbers in an object

2009-06-17 Thread Mr. George Warner
On Wed, 17 Jun 2009 22:33:50 +0800, Roland King wrote: > I need to generate repeatable sequences of random numbers for a game. > For each level I give it the seed and want the level to unfold the > same way it did before. I can guarantee that the calls to any random > function will be in exactly

re: to NIB or not to NIB

2009-06-15 Thread Mr. George Warner
On Mon, 15 Jun 2009 06:56:11 -0400, Chunk 1978 wrote: > what are your thoughts? are developers who don't use IB masochists, > or is it a wise choice? Totally depends on your needs. Using IB is easier unless you're maintaining cross platform code that you want to share common (GUI) sources

Re: Card Game (like Spider-Solitaire) in Cocoa -- Conceptual

2009-06-14 Thread Mr. George Warner
On Sat, 13 Jun 2009 12:20:36 +0200, Florian Witteler > wrote: > I'd really like to thank you all for your comments. You gave me a good > starting point to move on! > I'll work through these ressources and get back, if I have further > questions. I missed their replies but in case one of them di

Re: Detecting text under mouse

2009-06-14 Thread Mr. George Warner
On Sun, 14 Jun 2009 14:57:21 +1000, Jacob Rhoden wrote: > That is exactly what I am looking for, a "Dictionary" application is > essentially assisting you with being able to read information on the > screen. Unfortunately I cannot find any documentation at all on how to > access a programs a

Re: Coming up with ideas

2009-06-13 Thread Mr. George Warner
On Sat, 13 Jun 2009 16:34:00 +1000, Graham Cox wrote: > On d) if anyone can point me to a decent open-source kinematics > library I'm all ears... I've considered kinematics pretty much "open-source" since Newton published "PhilosophiƦ Naturalis Principia Mathematica" in 1687. ;-) I wonder

re: Detecting text under mouse

2009-06-13 Thread Mr. George Warner
On Sat, 13 Jun 2009 14:48:19 +1000, Jacob Rhoden wrote: > Is it possible to write an application that tracks the mouse over any > application and reads the contents of the text that is under the mouse? > I would like to develop an application that provides context sensitive > translation a

re: Foundation tool & NSUserDefault

2009-06-12 Thread Mr. George Warner
On Thu, 11 Jun 2009 07:19:30 -0400, KK wrote: > Hello, > I am writing a "Foundation tool" - a command-line utility that uses > Objective-C and the Foundation framework, and I'm trying to save preferences > under the application domain.. My understanding is that you would need a > bundle ident

re: A couple questions about graphics

2009-06-05 Thread Mr. George Warner
On Fri, 5 Jun 2009 18:29:52 -0700, Development > wrote: > First, Do I have to learn OpenGL in order to utilize 3d data? I was > hoping maybe there would be a way to use things I have built in > Blender via cocoa some how. Or is it possible to some how use a 3d > format of some type in an NSImage o