Calculating row heights for view-based table rows, on re-use throws error

2012-08-17 Thread Erik Stainsby
Hello all, I have a view-based table in which there are four distinct row types, representing distinct object types which may appear. The tableRowViews are in the nib and represented in the code here as xxxCellView entities. - (CGFloat)tableView:(NSTableView *)tableView heightOfRow:(NSInteger

Re: CGXDisableUpdate?

2012-08-17 Thread Marco S Hyman
On Aug 17, 2012, at 5:44 PM, John MacMullin wrote: > It appears that my program hangs after the following console log events: > > 8/17/12 3:15:11.555 PM WindowServer[104]: CGXDisableUpdate: UI updates were > forcibly disabled by application "X" for over 1.00 seconds. Server > has re-en

CGXDisableUpdate?

2012-08-17 Thread John MacMullin
It appears that my program hangs after the following console log events: 8/17/12 3:15:11.555 PM WindowServer[104]: CGXDisableUpdate: UI updates were forcibly disabled by application "X" for over 1.00 seconds. Server has re-enabled them. 8/17/12 3:15:25.556 PM WindowServer[104]: disable_u

Re: Apple Aperture-like look & feel

2012-08-17 Thread Alex Zavatone
On Aug 17, 2012, at 7:36 PM, Marco S Hyman wrote: > On Aug 17, 2012, at 4:31 PM, Nick wrote: > >> Here are some of the other screenshots.. I wonder what would it take >> to create something like that.. >> They even customized the menus (it has black background and a custom fount).. >> >> >> h

Re: Apple Aperture-like look & feel

2012-08-17 Thread Marco S Hyman
On Aug 17, 2012, at 4:31 PM, Nick wrote: > Here are some of the other screenshots.. I wonder what would it take > to create something like that.. > They even customized the menus (it has black background and a custom fount).. > > > http://itc.ua/files/pics/2(713).jpg I think that is Adobe Ligh

Re: Apple Aperture-like look & feel

2012-08-17 Thread Nick
Here are some of the other screenshots.. I wonder what would it take to create something like that.. They even customized the menus (it has black background and a custom fount).. http://itc.ua/files/pics/2(713).jpg http://sgalagan.com/wp-content/uploads/2012/06/aperture-search-window-add-rule.jpg

Re: Apple Aperture-like look & feel

2012-08-17 Thread Alex Zavatone
To get many of these types of controls, I believe that in the Flash or web world world, this was referred to 9 slice scaling or 3 slice scaling. If you're going to have buttons that are are Macish, and you will source your own graphics, you don't want to focus on anything that's not compatible

Re: Apple Aperture-like look & feel

2012-08-17 Thread Gary L. Wade
While I cannot say Aperture does this, when it comes to drawing a uniquely themed UI, you might find these draw functions in AppKit to be useful: https://developer.apple.com/library/mac/#documentation/Cocoa/Reference/Appl icationKit/Miscellaneous/AppKit_Functions/Reference/reference.html Look in

Re: Apple Aperture-like look & feel

2012-08-17 Thread Nick
Aperture interface looks like this: http://www.cifoto.ru/wp-content/uploads/2012/05/12-05-14-raw-convertery-2.jpg 2012/8/17 Alex Zavatone : > Since not all of us have Aperture, can you point us to a screenshot of what > you are aiming for? > > On Aug 17, 2012, at 3:27 PM, Nick wrote: > >> Hi >> >

Re: Apple Aperture-like look & feel

2012-08-17 Thread Alex Zavatone
Since not all of us have Aperture, can you point us to a screenshot of what you are aiming for? On Aug 17, 2012, at 3:27 PM, Nick wrote: > Hi > > I am wondering what does it take to make panels/buttons that > customized, like it is done in Apple Aperture? Did Apple developers > paint every dial

Apple Aperture-like look & feel

2012-08-17 Thread Nick
Hi I am wondering what does it take to make panels/buttons that customized, like it is done in Apple Aperture? Did Apple developers paint every dialog element manually? Are there some classes already available that would allow to "theme up" an app like this? Thank you

invoke java through AuthorizationExecuteWithPrivileges() then jvm comes up without ipv6 ?

2012-08-17 Thread Rajendran P
Hi, I am invoking java in 2 ways in 10.6.8 Option1 -- If i execute /usr/bin/java from Runtime().exec(), then jvm comes up with ipv6 support Option2 --- whereas if i invoke java through AuthorizationExecuteWithPrivileges() then jvm comes up without ipv6. precisely, in opti

NSBrowser fills NSPasteboard but won't drop

2012-08-17 Thread Mr. Andrei Alandru Freeman
I have an NSBroswer with a series of entries that look up a text blob. If the blob exists then: - (BOOL)browser:canDragRowsWithIndexes:inColumn:withEvent: returns YES. This invokes - (BOOL)browser:writeRowsWithIndexes:inColumn:toPasteboard: In here I do the following: NSUInteger changeCount; B

Re: Displaying a sheet immediately after a window is opened

2012-08-17 Thread Markus Spoettl
On 8/16/12 5:02 AM, Rick Mann wrote: After googling, I found that in -[NSDocument windowControllerDidLoadNib], I had to begin my sheet by calling performSelector on the main thread (actually I scheduled a block operation). This is kinda gross, but seems to work. Unfortunately, the result is that

Re: Displaying a sheet immediately after a window is opened

2012-08-17 Thread Rick Mann
On Aug 17, 2012, at 3:38 , Graham Cox wrote: > > On 16/08/2012, at 1:02 PM, Rick Mann wrote: > >> After googling, I found that in -[NSDocument windowControllerDidLoadNib], I >> had to begin my sheet by calling performSelector on the main thread >> (actually I scheduled a block operation). T

Re: Displaying a sheet immediately after a window is opened

2012-08-17 Thread Graham Cox
On 16/08/2012, at 1:02 PM, Rick Mann wrote: > After googling, I found that in -[NSDocument windowControllerDidLoadNib], I > had to begin my sheet by calling performSelector on the main thread (actually > I scheduled a block operation). This is kinda gross, but seems to work. > > Unfortunately

Re: initial value of an NSPopupButton shows with delay

2012-08-17 Thread Koen van der Drift
On Aug 16, 2012, at 8:50 PM, Peter Ammon wrote: > Is your window set to be visible at launch (i.e. in IB)? Try making it not > visible at launch, and then ordering it onscreen after the nib is loaded. > That should allow all the awakeFromNib methods to run before the window > appears. Hi Pet

Re: Displaying a sheet immediately after a window is opened

2012-08-17 Thread Rick Mann
It's the default behavior. -- Rick On Aug 17, 2012, at 2:03, Mike Abdullah wrote: > > On 17 Aug 2012, at 00:11, Rick Mann wrote: > >> I'm surprised this is so hard to do. > > I'd argue that rather than a pair of animations, what you better is to open > the window non-animated, and then a

Re: Displaying a sheet immediately after a window is opened

2012-08-17 Thread Mike Abdullah
On 17 Aug 2012, at 00:11, Rick Mann wrote: > I'm surprised this is so hard to do. I'd argue that rather than a pair of animations, what you better is to open the window non-animated, and then animate the sheet over it. Have you looked into that? _