button states usually always disabled

2011-01-07 Thread Shane
I've had some icons custom made for my application and they look really good. However, when my application opens up, they are disabled. The reason for this is that they don't change to enabled until the application verifies a configuration and it's in a state ready to run. it's a scientific applica

[Moderator] Re: [Job Posting] Software Engineer in Columbia, MD, USA

2011-01-07 Thread Scott Anguish
Reminder Please run job offers past the admin list first. I know that isn’t well known. It needs to be made clearer. Thanks Scott On Jan 5, 2011, at 12:42 PM, Lyndsey Ferguson wrote: > https://www.appone.com/MainInfoReq.asp?R_ID=320408 > > There are Software Engineer positions open with Neme

Re: How to get "colored" font smoothing in a CALayer

2011-01-07 Thread James Bucanek
David Duncan wrote (Thursday, January 6, 2011 3:58 PM -0800): You might be able to get something more acceptable by turning on shadowing in the context before you draw the text. This appears to be what the Finder does (if you look closely at the labels on the des

Custom path animation for CAShapeLayer

2011-01-07 Thread Kenneth Baxter
 Hi, I'm trying to use a CAShapeLayer for some paths in my application. For the most part this works fine, but in some circumstances the animation from one path to another looks really strange during the animation. I would be able to tell it what the path should be at any intermediate point in

Re: Change the NSPreferencePane window size programmatically

2011-01-07 Thread Peter Lübke
Whatever you do to an app that isn't yours: use the APIs supplied for Interapplication Communication, as there are (among others): AppleEvents, AppleScript, Accessibility... These ensure sufficient isolation between the objects involved, and they are (to a certain extend) likely to survive t

Re: Thumbs Lists

2011-01-07 Thread David LeBer
On 2011-01-07, at 4:21 PM, Fernando Aureliano wrote: > Thanks for the tips guys! > > so... > > I have a JSON file. I read it and put in array. > > I want to get some images and do a thumb list, like the covers in iBook. > > I see the documentation and I dont found nothing for help me there >

Re: Thumbs Lists

2011-01-07 Thread Fernando Aureliano
Thanks for the tips guys! so... I have a JSON file. I read it and put in array. I want to get some images and do a thumb list, like the covers in iBook. I see the documentation and I dont found nothing for help me there I think for to do this, I should use an UIScrollView, and inside an UIImag

Re: NSDocument updateChangeCount when using Bindings

2011-01-07 Thread Kevin Bracey
Thank you! As always I had paddled my way out into deep water and missed something important. Key-Valued Coding Programming Guide: Ensuring KVC Compliance Ensuring KVC Compliance, Indexed To-Many Relationship Compliance. Cheers Kevin On 7/01/2011, at 7:39 PM, Quincey Morris wrote: > On Jan 6,

Re: NSDictionary key types

2011-01-07 Thread Greg Guerin
Jon Sigman wrote: The underlying issue I was having was how to know when different objects used as keys might be reasonably expected to match, especially if they weren't generated the same way (as with [NSNumber stringValue] and [NSString ...]). That's easy: they match when isEqual: retur

Re: NSDictionary key types

2011-01-07 Thread Lee Ann Rucker
On Jan 7, 2011, at 10:36 AM, Jon Sigman wrote: > The underlying issue I was having was how to know when different objects used > as > keys might be reasonably expected to match, especially if they weren't > generated > the same way (as with [NSNumber stringValue] and [NSString ...]). > > I g

Re: Stupid png icons

2011-01-07 Thread WT
On Jan 6, 2011, at 11:38 PM, BareFeetWare wrote: > Is there no dedicated app suitable for producing PNG images with grey level > transparency/alpha, at the various scales needed for iOS apps (as app icons > in-app icons)? Does everyone just resort to GIMP and Photoshop, which seems > overkill a

Re: Change the NSPreferencePane window size programmatically

2011-01-07 Thread Kyle Sluder
On Fri, Jan 7, 2011 at 10:42 AM, eveningnick eveningnick wrote: > Kyle, > thanks for the warning, i understand the problems it may cause. > but what if i was doing that, how should have i sent a message to an > object of the host application? Quite simple: you don't. Ever. If your host object doe

Re: Change the NSPreferencePane window size programmatically

2011-01-07 Thread eveningnick eveningnick
Kyle, thanks for the warning, i understand the problems it may cause. but what if i was doing that, how should have i sent a message to an object of the host application? ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin re

Re: LOCATING MEDIA FILES IN MACINTOSH

2011-01-07 Thread Kirk Kerekes
I may have missed it, but I don't believe anyone has mentioned my first choice in this sort of task: -- the programmatic interface to Spotlight: "Introduction to Spotlight Query Programming Guide" combined with UTIs: "Introduction t

Re: NSDictionary key types

2011-01-07 Thread Jon Sigman
The underlying issue I was having was how to know when different objects used as keys might be reasonably expected to match, especially if they weren't generated the same way (as with [NSNumber stringValue] and [NSString ...]). I guess the long answer is "its complicated", and the short answer

re: NSDictionary key types

2011-01-07 Thread Kirk Kerekes
If you are insufficiently confused, I thought I would add some additional confusion. 1. Don't worry overmuch about hash values. Particularly, never succumb to the temptation to store them persistently. The -hash algorithm for a particular class may vary with OS version. It certainly h

Re: Stupid png icons

2011-01-07 Thread Dave Camp
On Jan 6, 2011, at 5:38 PM, BareFeetWare wrote: > On 07/01/2011, at 3:04 AM, Matt Neuburg wrote: > >> GraphicConverter doesn't really have the cojones to do what you need done. >> You want something that can use e.g. the greyness of each pixel in the >> original image to determine the greyness

Re: Change the NSPreferencePane window size programmatically

2011-01-07 Thread Kyle Sluder
On Fri, Jan 7, 2011 at 6:09 AM, eveningnick eveningnick wrote: > I was thinking that my pane is operating in the address space of > System Preferences, which means i can send messages to objects of this > application. Can i somehow retrieve the object of main window and send > it something like "-

Change the NSPreferencePane window size programmatically

2011-01-07 Thread eveningnick eveningnick
Hello is it possible to set up the System Preferences height programmatically? I have 3 possible NSViews of different height (but the same width), which are displayed depending on what current settings does the user have. I am aware that System Preferences automatically changes the size of its win

Re: LOCATING MEDIA FILES IN MACINTOSH

2011-01-07 Thread Alastair Houghton
On 6 Jan 2011, at 20:54, Abhinav Tyagi wrote: > 1) I need an efficient approach to solve this problem using Cocoa or C++. > (very Important) > 2) How will check a file if its a valid media file or data file. Like we can > have ".dat" files that are video files but data files can also have ".dat"

Re: [SOLVED] Unresponsive CFMessagePort

2011-01-07 Thread Jean-Daniel Dupas
Le 7 janv. 2011 à 10:22, Jean-Daniel Dupas a écrit : > > Le 7 janv. 2011 à 06:37, Jerry Krinock a écrit : > >> >> On 2011 Jan 06, at 17:33, Dave Keck wrote: >> >>> Oh, `sudo launchctl bstree` might also be useful. >> >> Thank you, Dave. It was useful. It told me that my server port was >>

Re: [SOLVED] Unresponsive CFMessagePort

2011-01-07 Thread Jean-Daniel Dupas
Le 7 janv. 2011 à 06:37, Jerry Krinock a écrit : > > On 2011 Jan 06, at 17:33, Dave Keck wrote: > >> Oh, `sudo launchctl bstree` might also be useful. > > Thank you, Dave. It was useful. It told me that my server port was "active" > (A). This confirms what the Client tells me, that the por