Re: NSTimer and NSLock

2008-07-13 Thread Simone Tellini
the method at the end of UpdateWindow? -- Simone Tellini http://tellini.info ___ 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: CSV parsing (large files)

2008-07-29 Thread Simone Tellini
ine. Don't load the whole file in memory: it's just a waste of memory and time to allocate it. Instead parse a line at a time. Also, you might want to issue "PRAGMA synchronous = NORMAL" or "PRAGMA synchronous = OFF" before everything else (look at its me

Re: warning: initialization makes integer from pointer without a cast

2008-08-21 Thread Simone Tellini
everything right. Any ideas? const char *cUserName = [username UTF8String]; UTF8String returns a pointer to a string (char *), not a single byte (char) -- Simone Tellini http://tellini.info ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com

Re: apple remote

2008-10-05 Thread Simone Tellini
Apple asking for an official Apple Remote API though. Let's hope they get enough requests to actually provide one. -- Simone Tellini http://tellini.info ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or

Re: How to get the "white shadow" effect when drawing NSStrings?

2009-02-21 Thread Simone Tellini
is Leopard-only. or he could simply draw the same string twice: first using the white color, then in black, shifting the y coord by 1 pixel. It should achieve the same effect and it'll work on previous OS X versions too. -- Simone Tellini http://

[ANN] FeedbackReporter to Mantis integration

2009-05-04 Thread Simone Tellini
Hi, I've just written a small php script to integrate the FeedbackReporter framework by Torsten Curdt with a Mantis bugtracking system. For links, comments and suggestions: http://tellini.info/blog/archives/81-FeedbackReporter-and-Mantis-integration.html -- Simone Tellini

Re: Slow performance of adding MIDI Events to MusicTrack?

2009-12-08 Thread Simone Tellini
? yes, I've noticed the same thing. Luckily, I've never had to add that many events/notes, so I could bear to wait for some seconds. -- Simone Tellini http://www.tellini.org ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please d