Re: Jiggling Shadow Offset

2013-05-21 Thread Seth Willits
On May 21, 2013, at 4:56 PM, Seth Willits wrote: > On May 21, 2013, at 3:11 PM, Seth Willits wrote: > >> What bit of obviousness am I missing here? >> http://www.sethwillits.com/temp/ShadowOffset.mov > > Test project: > http://www.sethwillits.com/temp/ShadowOffset.zip I have confirmed that this

Re: Jiggling Shadow Offset

2013-05-21 Thread Seth Willits
On May 21, 2013, at 3:11 PM, Seth Willits wrote: > What bit of obviousness am I missing here? > http://www.sethwillits.com/temp/ShadowOffset.mov Test project: http://www.sethwillits.com/temp/ShadowOffset.zip -- Seth Willits ___ Cocoa-dev mailing l

Re: Jiggling Shadow Offset

2013-05-21 Thread Seth Willits
Changing the blur radius has no affect on the offset. It still behaves the same way. I'm not sure why you think 0.5 would be any different. -- Seth Willits On May 21, 2013, at 3:44 PM, Jean Suisse wrote: > Have you tried replacing > > shadow.shadowBlurRadius = 1.0; > > With: > > shadow.s

Re: NSSplitView: Many subviews and ViewControllers, best practices

2013-05-21 Thread Graham Cox
On 21/05/2013, at 6:39 PM, Trygve Inda wrote: > In one pane, I need to have three different views supported by an NSBox that > I can swap the views out (for icon, thumbnail and list view modes). These > views all need access to the same NSArrayController. Have you considered using a tabless NST

Re: Jiggling Shadow Offset

2013-05-21 Thread Jean Suisse
Have you tried replacing shadow.shadowBlurRadius = 1.0; With: shadow.shadowBlurRadius = 0.5; It should work as expected. Jean --- Jean Suisse Institut de Chimie Moléculaire de l’Université de Bourgogne (ICMUB) — UMR 6302 On 22 mai 2013, at 00:11, Seth Willits wrote: > > What bit

Jiggling Shadow Offset

2013-05-21 Thread Seth Willits
What bit of obviousness am I missing here? http://www.sethwillits.com/temp/ShadowOffset.mov -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the mod

Re: Sandboxing and ABAddressBook

2013-05-21 Thread Gideon King
I checked /Library, /System/Library and ~/Library. I presume by network you would be referring to some server config, since I don't have a /Network folder but I recall seeing one on another machine I worked on in another place. G. On 22/05/2013, at 6:43 AM, "Sean McBride" wrote: > > Did you

Re: Sandboxing and ABAddressBook

2013-05-21 Thread Sean McBride
On Wed, 22 May 2013 06:41:05 +1000, Gideon King said: >I did, but even after I renamed that folder, I still got the error >messages. I tried it on another machine and didn't get any sandbox >errors, so maybe it's just something on my machine. Did you check all the 'Library's? In home, root, Syst

Re: Sandboxing and ABAddressBook

2013-05-21 Thread Gideon King
I did, but even after I renamed that folder, I still got the error messages. I tried it on another machine and didn't get any sandbox errors, so maybe it's just something on my machine. Regards Gideon On 22/05/2013, at 3:34 AM, "Sean McBride" wrote: > I notice the 'indexPlugins' method in

Re: Showing numpad key equivs in menu items

2013-05-21 Thread Steve Mills
On May 7, 2013, at 21:00:00, Allan Odgaard wrote: > TextMate’s implementation is here > https://github.com/textmate/textmate/blob/master/Frameworks/OakAppKit/src/NSMenuItem%20Additions.mm#L170-L189 > and sets the title as an attributed string using an NSTextTableBlock to have > the key equival

Re: Running event loop while showing non-standard popup

2013-05-21 Thread Alex Zavatone
Sent from my iPad On May 21, 2013, at 1:32 PM, Steve Mills wrote: > On May 21, 2013, at 12:06:15, Kyle Sluder wrote: > >> One concern is that you're not going to get a mouse event for clicks that >> happen in other apps' windows, but that might actually be what you want. > > Good point. No

Re: Sandboxing and Apple System Log (asl) searches

2013-05-21 Thread Sean McBride
On Mon, 20 May 2013 22:53:50 +1000, Gideon King said: >In my application, I want to be able to collect Apple system log >information about my application, and have been using >asl_new(ASL_TYPE_QUERY); to do so. > >Unfortunately this needs to access any files in /private/var/log/asl/* > >I understa

Re: Sandboxing and ABAddressBook

2013-05-21 Thread Sean McBride
I notice the 'indexPlugins' method in your backtrace. Do you have anything in Library/Address Book Plug-Ins ? Sean On Mon, 20 May 2013 18:45:39 +1000, Gideon King said: >I have address book data access enabled, but when I do a [ABAddressBook >sharedAddressBook] in applicationDidFinishLaunchin

Re: Running event loop while showing non-standard popup

2013-05-21 Thread Steve Mills
On May 21, 2013, at 12:06:15, Kyle Sluder wrote: > One concern is that you're not going to get a mouse event for clicks that > happen in other apps' windows, but that might actually be what you want. Good point. No, this window should behave like it's really is a popup in the sense that *any*

Re: Running event loop while showing non-standard popup

2013-05-21 Thread Kyle Sluder
On May 21, 2013, at 9:52 AM, Steve Mills wrote: > On May 21, 2013, at 10:11:45, Kyle Sluder wrote: > >> You could try it, but +runModalForWindow might not invoke -sendEvent: to >> dispatch the events it pulls off the event queue within its nested runloop >> invocation. > > I meant using send

Re: Running event loop while showing non-standard popup

2013-05-21 Thread Steve Mills
On May 21, 2013, at 10:11:45, Kyle Sluder wrote: > It quite clearly says it will not work with nested event loops. > +runModalForWindow: is but one way to run a nested event loop. It's not the > job of every method's documentation to teach you how the entire framework > works. The whole point

Re: Running event loop while showing non-standard popup

2013-05-21 Thread Kyle Sluder
On May 21, 2013, at 6:51 AM, Steve Mills wrote: > On May 21, 2013, at 01:58:00, Kyle Sluder wrote: > >> The docs for +[NSEvent addLocalMonitor…] state that it does not work with >> nested event loops like the kind -[NSApplication runModalForWindow:] uses. > > The docs don't specifically say r

Re: NSSharingService and default mail client

2013-05-21 Thread Martin Hewitson
On May 21, 2013, at 4:30 PM, Fritz Anderson wrote: > [I'd accidentally posted my reply off-list. Bringing it back.] > > The times I've autogenerated emails, I did so without thinking of alternate > clients. On MacOS, I used -[NSWorkspace openURL:], which can be funky for a > long or non-ASCII

Re: NSSharingService and default mail client

2013-05-21 Thread Fritz Anderson
[I'd accidentally posted my reply off-list. Bringing it back.] The times I've autogenerated emails, I did so without thinking of alternate clients. On MacOS, I used -[NSWorkspace openURL:], which can be funky for a long or non-ASCII body, but could be made to work. The system should honor the u

Re: Running event loop while showing non-standard popup

2013-05-21 Thread Steve Mills
On May 21, 2013, at 01:58:00, Kyle Sluder wrote: > The docs for +[NSEvent addLocalMonitor…] state that it does not work with > nested event loops like the kind -[NSApplication runModalForWindow:] uses. The docs don't specifically say runModalForWindow, which leads the reader to assume it would

NSSplitView: Many subviews and ViewControllers, best practices

2013-05-21 Thread Trygve Inda
I have an NSDocument-based app. The NSDocument's window has at it's root, an NSSplitView with 7 separate panes/subviews... A Source list on the left and several panes to the right with horizontal and vertical splits. In one pane, I need to have three different views supported by an NSBox that I c

Re: Running event loop while showing non-standard popup

2013-05-21 Thread Ken Thomases
On May 21, 2013, at 1:58 AM, Kyle Sluder wrote: > On May 20, 2013, at 8:06 PM, Steve Mills wrote: > >> On May 20, 2013, at 13:19:51, Ken Thomases wrote: >> >>> -[NSApplication runModalForWindow:] and either one of the -stopModal… or >>> -abortModal methods. To detect a click outside of the b

Re: Running event loop while showing non-standard popup

2013-05-21 Thread Kyle Sluder
On May 20, 2013, at 8:06 PM, Steve Mills wrote: > On May 20, 2013, at 13:19:51, Ken Thomases wrote: > >> -[NSApplication runModalForWindow:] and either one of the -stopModal… or >> -abortModal methods. To detect a click outside of the browser window, you >> may need to add a local event moni