Re: string convertion: converting getter name to setter

2008-09-05 Thread steph thirion
On Sep 5, 2008, at 7:42 AM, Sherm Pendley wrote: Frankly, this smells a *lot* like premature optimization. Do you have any evidence that the simple solution doesn't perform acceptably? That is, have you written your code the easy way first, and profiled it with Shark? you're right.

Re: string convertion: converting getter name to setter

2008-09-05 Thread steph thirion
On Sep 5, 2008, at 5:36 PM, Sherm Pendley wrote: And, the conceptual docs devote an entire page to detailing how scalar and structure variables are supported, including specifically what types are supported, and what object classes are used to wrap them:

string convertion: converting getter name to setter

2008-09-04 Thread steph thirion
from the selector of a given getter function, I need to get the selector of the equivalent setter function. For instance, from color I should get setColor. char* getterName = sel_getName(getterSelector); char * setterName = ... ? ... SEL setterSelector = sel_getUid(setterName); What

Re: string convertion: converting getter name to setter

2008-09-04 Thread steph thirion
On Sep 5, 2008, at 3:34 AM, Phil wrote: I assume you want to do more with the selector than just invoke it---otherwise you can just use KVC and save yourself some grief. Actually, that's all I want! I'm working on a class that will manage transitions of properties. It's for a game on a

Re: xcode: how to not Go with Instruments

2008-08-27 Thread steph thirion
, but right now I mainly use textmate, I only use xcode for managing and compiling/running. On Aug 27, 2008, at 5:24 AM, Michael Ash wrote: On Tue, Aug 26, 2008 at 5:16 PM, steph thirion [EMAIL PROTECTED] wrote: once I launch Instruments from Xcode (with 'Start with Performance Tool

xcode: how to not Go with Instruments

2008-08-26 Thread steph thirion
once I launch Instruments from Xcode (with 'Start with Performance Tool'), subsequently everytime I call 'build and go', Instrument launches. I need to close and relaunch xcode to stop that behavior. How do I 'detach' Instruments from xcode once I use it?

Re: best graphics API for 2D game

2008-08-12 Thread steph thirion
On Aug 12, 2008, at 5:18 AM, Seth Willits wrote: On Aug 11, 2008, at 6:23 PM, steph thirion wrote: I'm new to cocoa, and I'd need a pointer to get started learning and experimenting. What would be the most adequate graphics cocoa API to render a 2D game? core graphics or opengl

best graphics API for 2D game

2008-08-11 Thread steph thirion
I'm new to cocoa, and I'd need a pointer to get started learning and experimenting. What would be the most adequate graphics cocoa API to render a 2D game? core graphics or opengl? The requirements would be a relatively smooth frame rate rendering, and the possibility to draw and render