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
-- 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
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
, 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
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
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
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
-
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
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 ...
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)
___
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
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)
__
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)
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
(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)
___
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
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
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
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.
--
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
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
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
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
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
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
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
// ... 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
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
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
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
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
/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.
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
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
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
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
-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
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
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
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
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
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
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
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
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
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
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
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
48 matches
Mail list logo