Re: NSKeyedArchiver and NSPoints

2010-04-28 Thread Raffael Cavallaro
ting the point: 3.141592653589793, 3.141592653589793 using NSStringFromPoint gives you the string: "{3.14159, 3.14159}" so, yeah, you're not getting what you want. warmest regards, Ralph Raffael Cavallaro raffaelcavall...@me.com ___

Re: Weird CGFloat issue

2010-04-18 Thread Raffael Cavallaro
t; andMaxDimension:(CGFloat)newMaxDimension; Are you taking account of the fact that CGFloat is different on 32 and 64 bit platforms? typedef float CGFloat;// 32-bit typedef double CGFloat;// 64-bit warmest regards, Ralph Raffael Cavallaro raffaelcavall...@me.com ___

Re: Text file

2010-04-18 Thread Raffael Cavallaro
eneral, it is. For example, I just created a test file encoded in MacRoman and stringWithContentsOfFile:usedEncoding:error: correctly set the encoding to 30 - or "Western (Mac OS Roman)" when run through localizedNameOfStringEncoding: Something else is going on here. warmest regar

Re: How to empty the Trash programmatically?

2010-04-16 Thread Raffael Cavallaro
ith OP's app. OP's app empties trash, deleting A-file, even though this frees zero additional space on volume-B. Oops! Again, someone who doesn't have an expert knowledge of the intended operation of the Finder and an equally experienced knowledge of user expectations shouldn&

Re: How to empty the Trash programmatically?

2010-04-16 Thread Raffael Cavallaro
expected platform behavior with the possible, unlikely exception of those who are expertly knowledgeable about that well established, expected behavior. That doesn't appear to be the case here. warmest regards, Ralph Raffael Cavallaro raffaelcavall...@me.com ___

Re: How to empty the Trash programmatically?

2010-04-16 Thread Raffael Cavallaro
r's knowledge or consent. Raffael Cavallaro raffaelcavall...@me.com ___ 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)

Re: OS X Game Programming

2010-04-07 Thread Raffael Cavallaro
On Apr 7, 2010, at 3:58 PM, Jens Alfke wrote: > On Apr 7, 2010, at 11:08 AM, Raffael Cavallaro wrote: > >> At the top of the page it says: >> >> "Clone this repository (size: 959.4 KB): HTTPS / SSH >> $ hg clone http://bitbucket.org/snej/geekgameboard/&quo

Re: OS X Game Programming

2010-04-07 Thread Raffael Cavallaro
uot;Clone this repository (size: 959.4 KB): HTTPS / SSH $ hg clone http://bitbucket.org/snej/geekgameboard/"; This means you need mercurial: <http://mercurial.selenic.com/> warmest regards, Ralph this means you need the hg Raffa

Re: The fastest way to render bitmaps to screen in Cocoa on Snow Leopard?

2010-03-27 Thread Raffael Cavallaro
and NSImage only - and from common lisp with other interactive tasks and garbage collection no less (i.e., via a cocoa bridge from another language whose gc is collecting during the animation, while continuing to compile and evaluate other code at the toplevel, not even by using Objective-C