Re: NSSpeechSynthesizer / DarkWake interaction

2012-08-15 Thread Jay Reynolds Freeman
down, all else running). My concern is as described -- what will NSSpeechSynthesizer do when my app is placed in that state outside of my control. But I may be very confused; there is indeed little documentation on the matter. -- Jay Reynolds Freeman - jay_reynolds_free

Re: NSSpeechSynthesizer / DarkWake interaction

2012-08-15 Thread Jay Reynolds Freeman
-- Jay Reynolds Freeman - jay_reynolds_free...@mac.com http://JayReynoldsFreeman.com (personal web site) On Aug 15, 2012, at 20:31, Jens Alfke wrote: > > On Aug 14, 2012, at 11:30 PM, Jay Reynolds Freeman > wrote: > >> I suspect that the disa

NSSpeechSynthesizer / DarkWake interaction

2012-08-15 Thread Jay Reynolds Freeman
I have done the usual search but not found anything useful. -- Jay Reynolds Freeman - jay_reynolds_free...@mac.com http://JayReynoldsFreeman.com (personal web site) ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do

Design issue related to my problem with NSSound -isPlaying

2012-07-23 Thread Jay Reynolds Freeman
, is there a reasonable approach to getting things to happen quickly, that works when call-back on the main event loop isn't fast enough? It is probably not a matter of great consequence for my situation, but it might matter more to others, and it is an interesting design challenge in any ca

Re: [NSSound isPlaying] fails to indicate sound termination in Lion

2012-07-23 Thread Jay Reynolds Freeman
10.6.8, I now have an app in the field that will break when users run it under Lion. Apple changed functionality in a non-backward compatible manner without even documenting the new behavior.) -- Jay Reynolds Freeman - jay_reynolds_free...@mac.com http

Re: [NSSound isPlaying] fails to indicate sound termination in Lion

2012-07-22 Thread Jay Reynolds Freeman
I guess my main problem with all this is that Apple provides [NSSound isPlaying] with no indication that the method is not general-purpose; reading the documentation would have you think that it would return a correct answer no matter when and how used. -- Jay Reynolds Freeman

Re: [NSSound isPlaying] fails to indicate sound termination in Lion

2012-07-22 Thread Jay Reynolds Freeman
be obliged. Since my app has nothing to do while waiting for the sound to play, a polling loop on "isPlaying" is actually a good deal less code (only two lines) than setting up a delegate with "-sound:didFinishPlaying" implemented. -- Jay Reynolds Freeman -

Re: [NSSound isPlaying] fails to indicate sound termination in Lion

2012-07-22 Thread Jay Reynolds Freeman
The "sleep" was only for instrumentation; without the sleep and the NSLog, the code exhibits the problem described. And [NSSound play] is supposed to run asynchronously ... -- Jay Reynolds Freeman - jay_reynolds_free...@mac.com http://JayReynoldsFreeman.com (pe

[NSSound isPlaying] fails to indicate sound termination in Lion

2012-07-22 Thread Jay Reynolds Freeman
erminally curious, you can download a copy of the app that exhibits this system (works under Snow Leopard, breaks under Lion) -- but without the two lines of instrumentation -- from http://jayreynoldsfreeman.com/My/Wraith_Scheme_%2864-bit_version%29.html Thank you ...

Re: [Q] Why is the threading and UI updating designed to be done only on a main thread?

2012-03-13 Thread Jay Reynolds Freeman
nWillTerminate:" is indeed a setup for deadlock to happen. One should be on the lookout for similar situations with other iOS or MacOS methods. -- Jay Reynolds Freeman - jay_reynolds_free...@mac.com http://web.mac.com/jay_reynolds_freeman (personal web site) ___

How to force launch of new instance of application?

2011-05-24 Thread Jay Reynolds Freeman
or so that the system knows about it at mouse-the-document time, and thus can do what is necessary without my intervention. Details as to why I want this behavior are long and probably irrelevant, contact me privately if you would like to know ... Thanks! -- Jay Reynolds Fr

How can I "set tab stops" in a UITextView?

2010-12-18 Thread Jay Reynolds Freeman
if there is one. I posted a query about this in the forums, and I have of course googled the usual suspects. Thanks. -- Jay Reynolds Freeman - jay_reynolds_free...@mac.com http://web.mac.com/jay_reynolds_freeman (personal web site) __

Need specialized keyboard for iPad app

2010-08-31 Thread Jay Reynolds Freeman
couple of custom punctuation keys substituted for one of the numeric shift keys on the "letter" keyboard.) -- Jay Reynolds Freeman - jay_reynolds_free...@mac.com http://web.mac.com/jay_reynolds_freeman (personal web site)

Re: A new flavor of the "this class is not key value coding-compliant for ..." error

2010-08-20 Thread Jay Reynolds Freeman
Addendum: I should also have said that my implementation's "didReceiveMemoryWarning" contains nothing at present but the canonical call to [super didReceiveMemoryWarning], and that the crash occurs even when I comment out the entire overwrite of "didReceiveMemoryWarning

A new flavor of the "this class is not key value coding-compliant for ..." error

2010-08-20 Thread Jay Reynolds Freeman
(nonatomic, retain ) IBOutlet UIToolbar *toolBar; And then in the .mm file for the class I have @synthesize toolBar; Does anyone have any clues? -- Jay Reynolds Freeman - jay_reynolds_free...@mac.com http://web.mac.com/jay_reynolds_freeman (personal web site) ___

Re: shouldAutorotateToInterfaceOrientation not being called ...

2010-07-26 Thread Jay Reynolds Freeman
tions between top-level objects in the nib files look the same. Go figure ... I may well be missing something, of course. If this turns out to be a stupid beginner error on my part -- as is likely -- I promise to eat lots of crow ... :-) -- Jay Reynolds Freeman jay_reynolds_free...@mac.com http://we

Re: shouldAutorotateToInterfaceOrientation not being called ...

2010-07-26 Thread Jay Reynolds Freeman
esolved properly at run time. I have not had to do anything with the NSArray of top-level objects that it returns, to make that happen. HOWEVER, "shouldAutorotateToInterfaceOrientation" still is not getting called. Any further suggestions or observations? And anyone who has read

Re: shouldAutorotateToInterfaceOrientation not being called ...

2010-07-25 Thread Jay Reynolds Freeman
sent the "shouldAutorotateToInterfaceOrientation" method, and how the OS or framework determines where to send it? I suspect that information might help a lot in figuring out what the problem is. -- Jay Reynolds Freeman - jay_reynolds_free...@mac.com http://web.mac

shouldAutorotateToInterfaceOrientation not being called ...

2010-07-25 Thread Jay Reynolds Freeman
ives the method. (I can probably chase down a problem with delegates or the responder chain if I know where to start.) There is a lot of stuff on the web and in archives dealing with problems with this method, but nothing that seems relevant to my particular problem. Thanks. --

Scrolling not working ...

2010-07-06 Thread Jay Reynolds Freeman
on the web a bit, looking for similar problems. Any suggestions? -- Jay Reynolds Freeman - jay_reynolds_free...@mac.com http://web.mac.com/jay_reynolds_freeman (personal web site) ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple

Re: Possible hardware-platform-dependent bug in NSTextView?!?

2009-11-13 Thread Jay Reynolds Freeman
all test case from my 50,000-line application. Any advice? Any folks from Apple listening? -- Jay Reynolds Freeman - jay_reynolds_free...@mac.com http://web.mac.com/jay_reynolds_freeman (personal web site) [...] The bug occurs when a user is typing into an instance of a s

Re: Possible hardware-platform-dependent bug in NSTextView?!?

2009-11-12 Thread Jay Reynolds Freeman
most confusing, not what is wanted, and not what happens in my own Macintoshes. -- Jay Reynolds Freeman - jay_reynolds_free...@mac.com http://web.mac.com/jay_reynolds_freeman (personal web site) On Nov 12, 2009, at 3:37 PM, Kyle Sluder wrote: On Thu, Nov 12, 2009 at 3:31 PM

Possible hardware-platform-dependent bug in NSTextView?!?

2009-11-12 Thread Jay Reynolds Freeman
on different platforms, which is why I thought I would bring the subject up here. I will of course report a bug to Apple if it continues to look like something weird in NSTextView. Thank you very much. -- Jay Reynolds Freeman - jay_reynolds_free...@mac.com http://web.mac.com

Re: How to use Uniform Type Identifiers for this ... ?

2009-10-26 Thread Jay Reynolds Freeman
test all flavors of document-opens-on-launch frequently, to be sure I have not messed things up. I thank the group for advice, I think I am on top of this one for the moment. -- Jay Reynolds Freeman - jay_reynolds_free...@mac.com http://web.mac.com/jay_reynolds_freem

Re: How to use Uniform Type Identifiers for this ... ?

2009-10-25 Thread Jay Reynolds Freeman
tests with them. Thanks to the group for good suggestions. -- Jay Reynolds Freeman - jay_reynolds_free...@mac.com http://web.mac.com/jay_reynolds_freeman (personal web site) On Oct 25, 2009, at 7:20 PM, Greg Guerin wrote: Jay Reynolds Freeman wrote: Rather than tryi

How to use Uniform Type Identifiers for this ... ?

2009-10-25 Thread Jay Reynolds Freeman
takes its preferences from (still the same) com.Jay_Reynolds_Freeman.MyApp.plist. I have a feeling that this is easy and that I am just being slow today. This isn't really an XCode issue, but it might help to know that I am running XCode 3.2.1 on MacOS 10

Re: Circular references

2009-09-13 Thread Jay Reynolds Freeman
// ... more statements to your liking. #endif SNIP This mechanism ensures that the statements inside the #ifndef ... #endif will be included only once in any file that goes through the preprocessor. -- Jay Reynolds Freeman - jay_reynolds_free

Re: SOLVED -- llvm-gcc-4.2 link-time error seen from command line but not in Xcode 3.2

2009-08-29 Thread Jay Reynolds Freeman
documentation in the Apple Xcode documentation or in the man pages, that llvm-g++ was installed, and have filed a bug report requesting some. -- Jay Reynolds Freeman - jay_reynolds_free...@mac.com http://web.mac.com/jay_reynolds_freeman (personal web site

Re: "Format not a string literal and no format arguments"

2009-08-29 Thread Jay Reynolds Freeman
ngs" section of the build tab in the Xcode information window for the target in question. -- Jay Reynolds Freeman - jay_reynolds_free...@mac.com http://web.mac.com/jay_reynolds_freeman (personal web site) ___ Cocoa-dev maili

Re: [OT] Re: llvm-gcc-4.2 link-time error seen from command line but not in Xcode 3.2

2009-08-29 Thread Jay Reynolds Freeman
t may be that my problem falls through the cracks between the list topics. I do not actually have an Xcode problem; the code I enquired about links successfully under Xcode; notwithstanding, I just did repost to the Xcode list, based on Alastair's advice. -- Jay Rey

llvm-gcc-4.2 link-time error seen from command line but not in Xcode 3.2

2009-08-29 Thread Jay Reynolds Freeman
mpiler to straight g++-4.2. I suspect there is something simple that I need to link in, but I can't find documentation ... Can anyone provide advice? -- Jay Reynolds Freeman - jay_reynolds_free...@mac.com http://web.mac.com/jay_reynolds_f

Solution: Dynamically creating an image with transparent portions.

2009-08-23 Thread Jay Reynolds Freeman
/Cocoa/AppKitOlderNotes.html Within it, scan for "NSView Drawing Redirection API (Section added since WWDC)". I haven't tried it yet, but it looks like exactly what I was asking for in the first place. -- Jay Reynolds Freeman - jay_reynolds_free.

Re: I need a milder application badge (solution #2)

2009-07-26 Thread Jay Reynolds Freeman
fault but mine. -- Jay Reynolds Freeman - jay_reynolds_free...@mac.com http://web.mac.com/jay_reynolds_freeman (personal web site) ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moder

Re: I need a milder application badge (solution)

2009-07-25 Thread Jay Reynolds Freeman
On Jul 25, 2009, at 3:14 PM, Kyle Sluder provided a variety of extremely helpful and pertinent comments: > I'm also pretty sure you don't want to use -setApplicationIconImage:. > That will cause all occasions of your app icon, including places that > use +[NSImage imageNamed:] with an @"NSApplica

Re: I need a milder application badge (solution)

2009-07-25 Thread Jay Reynolds Freeman
tosh graphics; I need all the help I can get. --Kyle Sluder -- Jay Reynolds Freeman - jay_reynolds_free...@mac.com http://web.mac.com/jay_reynolds_freeman (personal web site) ___ Cocoa-dev mailing list (Cocoa-dev@lists.appl

Fwd: I need a milder application badge (solution)

2009-07-25 Thread Jay Reynolds Freeman
is the "color" of off-screen portions of the Mac console.) -- Jay Reynolds Freeman - jay_reynolds_free...@mac.com http://web.mac.com/jay_reynolds_freeman (personal web site) On Jul 25, 2009, at 11:25 AM, Sherm Pendley wrote: On Sat, Jul 25, 2009 at 1:54 PM, Ja

Re: I need a milder application badge (solution)

2009-07-25 Thread Jay Reynolds Freeman
-time, while preserving as transparent any transparent areas it may have to begin with? The best I have got at the moment is outrageous hackery at the pixel level in the bit map; there ought to be something better ... -- Jay Reynolds Freeman - jay_reynolds_free

Re: I need a milder application badge (solution)

2009-07-25 Thread Jay Reynolds Freeman
NSAPP:setApplicationIconImage: So there I am, back messing with bit maps to modify an image. I would welcome a better way. -- Jay Reynolds Freeman - jay_reynolds_free...@mac.com http://web.mac.com/jay_reynolds_freeman (personal web site) On Jul 25, 2009, at 12:30 AM, Rob Keniger wrote: On 25/07

Re: I need a milder application badge (solution)

2009-07-24 Thread Jay Reynolds Freeman
I had to make a whole new bitmap and copy or make-transparent; the captured bitmap did not have an alpha plane.) That did work, but it is not a very graceful technique or a very general one. -- Jay Reynolds Freeman - jay_reynolds_free...@mac.com http://web.mac.com/jay_reyn

I need a milder application badge

2009-07-20 Thread Jay Reynolds Freeman
have them hard-coded into the source for whatever class or category I end up using. I *do* need run-time control over the text of the label. Thanks. -- Jay Reynolds Freeman - jay_reynolds_free...@mac.com http://web.mac.com/jay_reynolds_freeman (personal web

Re: Optimizing writes of big files for specific hardware?

2009-07-03 Thread Jay Reynolds Freeman
y want to do it. If there is a better way, I would love to hear about it; I am by no means an mmap wizard. -- Jay Reynolds Freeman - jay_reynolds_free...@mac.com http://web.mac.com/jay_reynolds_freeman (personal web site) ___ Coco

Optimizing writes of big files for specific hardware?

2009-07-03 Thread Jay Reynolds Freeman
t that any such thing has been done. And FWIW, I am building using Xcode 3.1.3, and using the LLVM GCC 4.2 compiler, to run on MacOS 10.5. -- Jay Reynolds Freeman - jay_reynolds_free...@mac.com http://web.mac.com/jay_reynolds_f

Re: 10.4.x install for testing...

2009-04-27 Thread Jay Reynolds Freeman
versions of the OS a particular machine would support, and to be able to get them from somewhere, for backward compatibility support. -- Jay Reynolds Freeman - jay_reynolds_free...@mac.com http://web.mac.com/jay_reynolds_freeman (personal web site

Re: Fast dictionary with integer keys?

2009-03-15 Thread Jay Reynolds Freeman
de the object is really there. It is not hard to arrange to switch to a new, larger array, if you suddenly find yourself dealing with a new object whose key is outside the assumed range. This approach is wasteful of memory if keys are scarce in the allowed range, but it is quite fast. -- Jay Re

Re: Create command from string

2008-12-01 Thread Jay Reynolds Freeman
If the command you seek can be accomplished by a Unix shell, you can always create a string and then call the Unix "system" function to perform it. This approach has perils, however. -- Jay Reynolds Freeman - [EMAIL PROTECTED] http://web.mac.com/jay_reynol

Re: Porting from Windows to Mac

2008-10-30 Thread Jay Reynolds Freeman
ac Toolbox code. (Pre-Carbon -- should have been called "Helium" if anyone had known ...) But I have never been a Windows coder, so your mileage may vary. -- Jay Reynolds Freeman - [EMAIL PROTECTED] http://web.mac.com/jay_reynolds_f

Silicon Valley CocoaHeads ... ?

2008-10-30 Thread Jay Reynolds Freeman
Excuse me wasting bandwidth, but I have the impression that the Silicon Valley CocoaHeads group is dead or at least catatonic at the moment, and thought I would double-check by asking here ... Reply off-list might be best ... -- Jay Reynolds Freeman - [EMAIL PROTECTED] http

Interface to shut down cores and/or processors?

2008-03-06 Thread Jay Reynolds Freeman
searching the usual references in that I do not quite know what keywords to use. Thanks very much ... -- Jay Reynolds Freeman - [EMAIL PROTECTED] http://web.mac.com/jay_reynolds_freeman (personal web site) ___ Cocoa-dev mailing