Re: Question about enums

2015-07-17 Thread iseecolors
: String { >> switch self >> { >> case let .AFoo (foo): return foo.rawValue >> case let.AString (string): return string >> } >> } >> } >> >> >> >> > ___ > > Cocoa-dev mailing li

Re: Question about enums

2015-07-17 Thread iseecolors
ist (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)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/cocoa-dev/iseecolors%

Re: bouncing icon in dock

2014-03-12 Thread iseecolors
figured it out… In the info.plist, we have the Application is agent flag set to YES - that keeps the dock icon from bouncing. Rich Collyer On Mar 12, 2014, at 10:15 AM, iseecolors wrote: > I have “Animate opening applications” enabled, but my app is not bouncing at > launch (not ev

Re: bouncing icon in dock

2014-03-12 Thread iseecolors
10:35 AM, Uli Kusterer wrote: > On 12 Mar 2014, at 18:15, iseecolors wrote: >> I have “Animate opening applications” enabled, but my app is not bouncing at >> launch (not even one bounce). Does anyone have an idea of what I might have >> done to disable the bounce?

Re: bouncing icon in dock

2014-03-12 Thread iseecolors
Fritz, Actually, I say it doesn’t matter, because I did try commenting out the override and the problem remained. Also the override is good about calling the super. Rich On Mar 12, 2014, at 10:33 AM, Fritz Anderson wrote: > On 12 Mar 2014, at 12:15 PM, iseecolors wrote: > &

bouncing icon in dock

2014-03-12 Thread iseecolors
I have “Animate opening applications” enabled, but my app is not bouncing at launch (not even one bounce). Does anyone have an idea of what I might have done to disable the bounce? I don’t use or override requestUserAttention: I do override sendEvent:, but I don’t see how that would matter. I

Determining OS at Runtime

2009-07-01 Thread iseecolors
I need to support 10.4 in my application, but it uses some Carbon APIs that are deprecated in 10.5 and I am using some new 10.5 APIs that require the 10.5 SDK. I am sure I have seen this before, but I have been unable to find it in the Archive. How do I determine at runtime which OS versio

FirstResponder in 10.4

2009-06-22 Thread iseecolors
I have a NIB with a NSView that I use to populate a Contextual View in the Main Window. I have tried to set the firstResponder from IB, from init, from awakeFromNib, and from - (BOOL)control:(NSControl *)control textShouldBeginEditing:(NSText *)fieldEditor All of these work in 10.5 (+), bu

Re: crashing web browser with openURL call

2009-06-06 Thread iseecolors
yone might have. I am working other avenues for ideas too. Rich On Jun 6, 2009, at 8:16 AM, Fred Baker wrote: On Jun 5, 2009, at 2:18 PM, iseecolors wrote: I am making a call to openURL (in NSWorkspace) that works great as long as the default browser is already running and has a win

crashing web browser with openURL call

2009-06-05 Thread iseecolors
I am making a call to openURL (in NSWorkspace) that works great as long as the default browser is already running and has a window open. However, if I make the call when the default browser is either not running, or does not have a window open, the get the console output below. I am guess

dragging window when selecting an NSImageView

2009-06-05 Thread iseecolors
I have a static NSImageView in a window and need to be able to have the user drag the window around when clicking on the image. This works for a static NSTextField in the window, but not the NSImageView? It seems like there should be a way to set the NSImageView be ignored by the event sy

Control focus on 10.4

2009-05-20 Thread iseecolors
I am seeing a strange behavior in 10.4 only where my NSSecureTextField does not get the focus until after I have hit the TAB key, or forced it to be the first responder after all of the screen updates are complete. The cursor is in the control and typed text appears correctly, but my deleg

Re: User Access Rights

2009-05-15 Thread iseecolors
This looks perfect, except (and I hate to say this), I need a solution that works on 10.4 too. Thank you for all the help. Rich Collyer On May 15, 2009, at 12:38 PM, jonat...@mugginsoft.com wrote: On 15 May 2009, at 20:15, iseecolors wrote: Actually the only reason I want to know is that

Re: User Access Rights

2009-05-15 Thread iseecolors
, iseecolors wrote: I am looking for how to determine if a given user is allowed to Administer the host computer or not. I am guessing that there is something similar to CFPreferencesCopyValue or NSUserName that I can use to determine this information. Don't try to head the user off a

User Access Rights

2009-05-15 Thread iseecolors
I am looking for how to determine if a given user is allowed to Administer the host computer or not. I am guessing that there is something similar to CFPreferencesCopyValue or NSUserName that I can use to determine this information. Any hints ? Rich Collyer __

HFS Format API?

2009-05-08 Thread iseecolors
Is there a Cocoa/Core Foundation (or ___) API for formatting a Volume? Rich Collyer ___ 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

NSOutlineView with NSImage and NSStrings

2009-05-04 Thread iseecolors
I would like to have an image and a string together in my NSOutlineView, but it is not clear to me how to do this. Basically I want to do what iTunes appears to do (icons in front of the text descriptors). My initial thought was to return and NSArray that contains and NSImage and NSStrin

NSOutlineView with NSImage and NSStrings

2009-05-04 Thread iseecolors
I would like to have an image and a string together in my NSOutlineView, but it is not clear to me how to do this. Basically I want to do what iTunes appears to do (icons in front of the text descriptors). My initial thought was to return and NSArray that contains and NSImage and NSStrin

Re: 10.4.x install for testing...

2009-04-27 Thread iseecolors
The downloads are all Updates which assume I already have a full install of 10.4 for Intel. There is a download of 10.4, but that is for PPC only. Rich On Apr 27, 2009, at 11:33 AM, Randall Meadows wrote: On Apr 27, 2009, at 12:17 PM, iseecolors wrote: Does anyone know if Apple provides a

10.4.x install for testing...

2009-04-27 Thread iseecolors
Does anyone know if Apple provides a download of the full 10.4.x install DVD for developers? I need to test 10.4 on an intel machine, but my install of 10.4 only works on PPC. Rich Collyer ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Pl

Re: NSDecimalNumber nil parameter to -decimalNumberByAdding: causes Mach exception EXC_BAD_ACCESS

2009-04-13 Thread iseecolors
/iseecolors%40sbcglobal.net This email sent to iseecol...@sbcglobal.net ___ 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)lists.apple.com