i eliminated my xcode save lag
i eliminated my xcode save lag
- Subject: i eliminated my xcode save lag
- From: Robert Dell <email@hidden>
- Date: Fri, 26 Aug 2005 06:20:20 -0400
All I did was put in some #defines and conditional compiles depending on what my defines are and suddenly the file saving got instant.
#define BuildForOSX 3
#if BuildForOSX > 2
NSSpeechSynthesizer *mySynthesizer = [[[NSSpeechSynthesizer alloc] init] autorelease];
if (![mySynthesizer isSpeaking])
{
[mySynthesizer startSpeakingString: speakWhat];
};
#endif
the define is in the top before all imports, the if is in my code itself (os-x 10.2 doesn't support speech synthesis in cocoa).
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden