Re: setApplicationIconImage:

2015-01-23 Thread Rick C.
Thanks everyone for the help. Bit of effort for something simple though. Unfortunately setApplicationIconImage: works great it’s just I can’t find a method to put it in that will cause the change before the app launches. It always takes place a second after the app launches… > On Jan 23, 20

Re: setApplicationIconImage:

2015-01-23 Thread Charles Jenkins
Rick, I have a silly suggestion you might like.  I don't really understand what could be so different about the Yosemite icon that it would seem glaringly out of place on other systems, but assuming it really is the case that you want to continue to have two versions, I suggest you continue to

What's up with the Cocoa Text System?

2015-01-23 Thread Charles Jenkins
For some reason, typing text on a Mac has always had a little bit of friction: however the OS receives keyboard input, it doesn't seem to be able to keep up as well as a PC. But lately, toward the end of Mavericks' lifespan and now on Yosemite, it has actually become painful to type in text. I'm

Re: What's up with the Cocoa Text System?

2015-01-23 Thread Peter
Maybe this sounds silly, but have you tried to increase the keyboard repeat frequency in the system preferences. I once was silly enough not to. ___ Peter Hartmann Am 23.01.2015 um 14:50 schrieb Charles Jenkins : > For some reason, typing text on a Mac has always had a little bit of

Re: setApplicationIconImage:

2015-01-23 Thread Steve Mills
On Jan 23, 2015, at 07:34:19, Charles Jenkins wrote: > > Rick, I have a silly suggestion you might like. > > I don't really understand what could be so different about the Yosemite icon > that it would seem glaringly out of place on other systems, but assuming it > really is the case that you

Is the button group in Safari a general widget ?

2015-01-23 Thread Aaron Lewis
Hi, I've seen a lot of apps like Safari. 5 buttons in the bottom Is that a common widget? I couldn't find it on google -- Best Regards, Aaron Lewis - PGP: 0x13714D33 - http://pgp.mit.edu/ Finger Print: 9F67 391B B770 8FF6 99DC D92D 87F6 2602 1371 4D33 ___

Re: setApplicationIconImage:

2015-01-23 Thread Fritz Anderson
On 23 Jan 2015, at 10:07 AM, Steve Mills wrote: > -setIcon:forFile:options: still sounds like your best bet, because it will > make a lasting change. Although it's too bad that Apple didn't allow this > method to take an .icns file as well as an image. That would've made it the > perfect solut

Re: Is the button group in Safari a general widget ?

2015-01-23 Thread Jonathan Hull
UIToolbar with UIBarButtonItems? Thanks, Jon > On Jan 23, 2015, at 8:20 AM, Aaron Lewis wrote: > > Hi, > > I've seen a lot of apps like Safari. 5 buttons in the bottom > > Is that a common widget? I couldn't find it on google > > > -- > Best Regards, > Aaron Lewis - PGP: 0x13714D33 - http:

Re: Is the button group in Safari a general widget ?

2015-01-23 Thread Fritz Anderson
On 23 Jan 2015, at 10:20 AM, Aaron Lewis wrote: > I've seen a lot of apps like Safari. 5 buttons in the bottom > > Is that a common widget? I couldn't find it on google (Notes ~ “widget” doesn’t have the same meaning in iOS/OS X frameworks that it does on other platforms. You mean “control.”

Re: What's up with the Cocoa Text System?

2015-01-23 Thread Jens Alfke
> On Jan 23, 2015, at 5:50 AM, Charles Jenkins wrote: > > For some reason, typing text on a Mac has always had a little bit of > friction: however the OS receives keyboard input, it doesn't seem to be able > to keep up as well as a PC. But lately, toward the end of Mavericks' lifespan > and n

Re: What's up with the Cocoa Text System?

2015-01-23 Thread Jens Alfke
> On Jan 23, 2015, at 6:02 AM, Peter wrote: > > Maybe this sounds silly, but have you tried to increase the keyboard repeat > frequency in the system preferences. I once was silly enough not to. That sounds silly, honestly. That only affects how rapidly a key repeats when you hold it down. Us

Re: setApplicationIconImage:

2015-01-23 Thread Jens Alfke
> On Jan 23, 2015, at 1:53 AM, Rick C. wrote: > > Unfortunately setApplicationIconImage: works great it’s just I can’t find a > method to put it in that will cause the change before the app launches. It > always takes place a second after the app launches… What you're asking for is impossibl

Re: What's up with the Cocoa Text System?

2015-01-23 Thread sqwarqDev
> On 23 Jan 2015, at 20:50, Charles Jenkins wrote: > > I have turned off Autocorrect and Check Spelling While Typing to eliminate > the significant pause that happens each time you finish a word and hit the > space bar. That's a local issue you've got there. 1. Create a new user. Restart and

Inexplicable Crash in -[NSAppleScript executeAndReturnError:]

2015-01-23 Thread Jerry Krinock
Can anyone explain this weird crash report I got from a user and symbolized? The last thing my code does (frame 24 in the call stack below), is to send -[NSAppleScript executeAndReturnError:]. The crash says someone tried to set a *dictionary* object with a nil key. How could I have done that

Re: Inexplicable Crash in -[NSAppleScript executeAndReturnError:]

2015-01-23 Thread Steve Mills
On Jan 23, 2015, at 13:25:58, Jerry Krinock wrote: > > Can anyone explain this weird crash report I got from a user and symbolized? > The last thing my code does (frame 24 in the call stack below), is to send > -[NSAppleScript executeAndReturnError:]. The crash says someone tried to set > a

Re: Inexplicable Crash in -[NSAppleScript executeAndReturnError:]

2015-01-23 Thread Jerry Krinock
> On 2015 Jan 23, at 11:40, Steve Mills wrote: > > I can't find any docs for "present last logged error”. Thank you, Steve. Oh, there isn’t any. It is only my app, as in MyApp, which implements that command. I made it up. :) > How do I set up a state so that it will do something? I'm tryi

Re: Inexplicable Crash in -[NSAppleScript executeAndReturnError:]

2015-01-23 Thread Steve Mills
On Jan 23, 2015, at 14:18:38, Jerry Krinock wrote: > > Thank you, Steve. Oh, there isn’t any. It is only my app, as in MyApp, > which implements that command. I made it up. :) Oh duh. That would explain why 1 of the 3 search results is at sheepsystems.com. :) > Indeed. The way I’m using

Re: Inexplicable Crash in -[NSAppleScript executeAndReturnError:]

2015-01-23 Thread Michael Crawford
perhaps the bug occurred somewhere else and either corrupted the heap or wrote an erroneous value into some data structure, with the eventual result that you jumped off into hyperspace, then ran along just fine until a method was called with parameters that were suitably invalid as to cause a crash

Re: Inexplicable Crash in -[NSAppleScript executeAndReturnError:]

2015-01-23 Thread Jerry Krinock
> On 2015 Jan 23, at 12:36, Michael Crawford wrote: > > perhaps the bug occurred somewhere else and either corrupted the heap or… Yes, that is a good point. > If you haven't already tried it, enable Guard Malloc and friends in > your build. Ah, I forgot about that. Just tried it. Worked per

Re: What's up with the Cocoa Text System?

2015-01-23 Thread Michael Crawford
At one time I found it quite painful to edit source code with Xcode. I was told that was due to Xcode using the Cocoa text widget. Consider that Lightspeed C worked just fine, snappy and responsive, on my 6 MHz 68000 Mac 512k (or was it 8 MHz). I myself did a lot of the work on Working Software's

Re: What's up with the Cocoa Text System?

2015-01-23 Thread Jens Alfke
> On Jan 23, 2015, at 1:53 PM, Michael Crawford wrote: > > At one time I found it quite painful to edit source code with Xcode. > I was told that was due to Xcode using the Cocoa text widget. > > Consider that Lightspeed C worked just fine, snappy and responsive, on > my 6 MHz 68000 Mac 512k (o

Re: What's up with the Cocoa Text System?

2015-01-23 Thread Michael Crawford
Cocoa Text is glacially slow compared to what it would be had Apple offered me the developer tools job I interviewed for in 2001. Perhaps, when interviewing with the Xocde team, it might not have been a bad idea to avoid criticizing Xcode. I made it quite clear that I was unimpressed with Mac OS

Re: Inexplicable Crash in -[NSAppleScript executeAndReturnError:]

2015-01-23 Thread Shane Stanley
On 24 Jan 2015, at 6:25 am, Jerry Krinock wrote: > > NSString* source ; > source = [NSString stringWithFormat: > @"tell application \"%@\"\n" > @"activate\n" > @"present last logged error\n" > @"end tell", > [[NSBundl

Re: Inexplicable Crash in -[NSAppleScript executeAndReturnError:]

2015-01-23 Thread Shane Stanley
On 24 Jan 2015, at 11:40 am, Shane Stanley wrote: > >> where [[NSBundle mainAppBundle] bundlePath] returns “com.mycompany.MyApp”. > > In that case, you should be using @"tell application id \"%@\"\n". Ignore that. Your code says bundlePath, but I focused on your description, which looks more

Re: Inexplicable Crash in -[NSAppleScript executeAndReturnError:]

2015-01-23 Thread Steve Mills
On Jan 23, 2015, at 18:40, Shane Stanley wrote: >> On 24 Jan 2015, at 6:25 am, Jerry Krinock wrote: >> >> NSString* source ; >> source = [NSString stringWithFormat: >> @"tell application \"%@\"\n" >> @"activate\n" >> @"present last logged error\n" >> @"end te

Re: Inexplicable Crash in -[NSAppleScript executeAndReturnError:]

2015-01-23 Thread Jerry Krinock
> On 2015 Jan 23, at 17:17, Steve Mills wrote: > > Oh, that reminds me. I had to change it to mainBundle instead of > mainAppBundle. The method is -mainAppBundle, but indeed you don’t have it. I wrote it. It returns the bundle of the enclosing “main” app when run from a helper tool, so tha

Re: Inexplicable Crash in -[NSAppleScript executeAndReturnError:]

2015-01-23 Thread Ken Thomases
On Jan 23, 2015, at 1:25 PM, Jerry Krinock wrote: > Can anyone explain this weird crash report I got from a user and symbolized? > The last thing my code does (frame 24 in the call stack below), is to send > -[NSAppleScript executeAndReturnError:]. The crash says someone tried to set > a *di

[SOLVED] Re: Is the button group in Safari a general widget ?

2015-01-23 Thread Aaron Lewis
Hi all, @Jon Thanks! I just tried UIToolBar, it's exactly what I wanted. @Fritz Sorry, I came from Qt world, I'm getting myself familiarised with the UI Control terms .. I'll use the right terms next time I meant iOS but I thought these UI Controls are available in both OSX and iOS so I didn't m

Re: What's up with the Cocoa Text System?

2015-01-23 Thread Ben Kennedy
Is your personal hubris about a job you were not offered 14 years ago (and tastes for interview style) somehow relevant to the other developers on this list? b Sent from my iPhone > On Jan 23, 2015, at 2:38 PM, Michael Crawford wrote: > > Cocoa Text is glacially slow compared to what it woul