NSWorkspace launchApplication and gatekeeper

2014-01-09 Thread Totte Alm
Hello, I'm moving an older but large inhouse application from 10.6/32-bit/GC to 10.9/64-bit/ARC. It uses an internal auto update functionally where the app can store itself into the database when it detects it is a new version, then the other users will get update reminders to download the

Re: NSWorkspace launchApplication and gatekeeper

2014-01-09 Thread Totte Alm
9 jan 2014 kl. 14:52 skrev SevenBits sevenbitst...@gmail.com: Can't you just use Sparkle to do app updates? It handles all of this for you. Just a thought. It has more requirements and different once I think, webserver and update feeds. The update is downloaded from a database using SQL,

Resizing Detail View of UISplitViewController

2014-01-09 Thread Viacheslav Karamov
Hello All, I'm using a UISplitViewController in my iPad app and I don't really like the way the popover view slides in and covers a third of the screen and stays there when in Portrait mode. I want it to look like it does when in Landscape mode. How can I resize the overall detail view

Re: Auto Layout with NSSplitView, NSScrollView

2014-01-09 Thread Andy Lee
On Jan 6, 2014, at 11:54 AM, Fritz Anderson fri...@manoverboard.org wrote: On 4 Jan 2014, at 1:38 PM, thatsanicehatyouh...@me.com wrote: I like your user name. I have a couple of questions about using auto layout (AL) with NSSplitView and NSScrollView. I have watched the (excellent) WWDC

Fwd: Re: Auto Layout with NSSplitView, NSScrollView

2014-01-09 Thread Michael Starke
If I recall correctly, if you did implement ANY delegate method using 10.7 the split view did fall back to a non-autolayout aware mode. At least that was my experince. It did change with 10.8. But take this with a lot of caution. My memory tends to mess up those things :) Ah. There was

Re: NSWorkspace launchApplication and gatekeeper

2014-01-09 Thread Ken Thomases
On Jan 9, 2014, at 6:27 AM, Totte Alm wrote: I'm moving an older but large inhouse application from 10.6/32-bit/GC to 10.9/64-bit/ARC. It uses an internal auto update functionally where the app can store itself into the database when it detects it is a new version, then the other users

Re: Resizing Detail View of UISplitViewController

2014-01-09 Thread Fritz Anderson
On 9 Jan 2014, at 8:49 AM, Viacheslav Karamov ubuntul...@yandex.ru wrote: I'm using a UISplitViewController in my iPad app and I don't really like the way the popover view slides in and covers a third of the screen and stays there when in Portrait mode. I want it to look like it does when

Re: Status Bar problem

2014-01-09 Thread Caylan Larson
On Jan 3, 2014, at 3:54 AM, Roland King r...@rols.org wrote: But the iPad version does NOT work (status Bar overlaps): ... When I Toggle In-Call Status Bar the UILayoutContainerView does not change. BUT: here the status bar overlaps the top of the UITableView, which looks rather

Re: Auto Layout with NSSplitView, NSScrollView

2014-01-09 Thread Andy Lee
That's a great thread, thanks! BTW Apple removed the splitview-without-NSSplitView sample code that's mentioned in the thread. For anyone still interested, someone named Darcy Liu seems to have been archiving all of Apple's sample code: https://github.com/darcyliu/CocoaSampleCode The

Re: Resizing Detail View of UISplitViewController

2014-01-09 Thread Kyle Sluder
On Jan 9, 2014, at 8:59 AM, Fritz Anderson fri...@manoverboard.org wrote: In other words, you’d like the sidebar to be present at all times, and for the remainder of the screen to be narrow, instead of being covered. Right? You can’t do that with UISplitViewController. Really? I'm pretty

Re: Auto Layout with NSSplitView, NSScrollView

2014-01-09 Thread Kyle Sluder
On Thu, Jan 9, 2014, at 07:51 AM, Andy Lee wrote: As far as I know (see disclaimers), there's no reason you can't implement split view delegate methods just because you're using Auto Layout, as long as you aren't calling setFrame:. Nope. Please see the 10.8 AppKit Release Notes, which

Re: NSWorkspace launchApplication and gatekeeper

2014-01-09 Thread Totte Alm
9 jan 2014 kl. 17:26 skrev Ken Thomases k...@codeweavers.com: On Jan 9, 2014, at 6:27 AM, Totte Alm wrote: I'm moving an older but large inhouse application from 10.6/32-bit/GC to 10.9/64-bit/ARC. It uses an internal auto update functionally where the app can store itself into the

Re: Resizing Detail View of UISplitViewController

2014-01-09 Thread Vyacheslav Karamov
Thanks for help! I came to the same conclusion after making a set of experiments. 09.01.2014 18:59, Fritz Anderson wrote: On 9 Jan 2014, at 8:49 AM, Viacheslav Karamov ubuntul...@yandex.ru wrote: I'm using a UISplitViewController in my iPad app and I don't really like the way the popover

Re: Resizing Detail View of UISplitViewController

2014-01-09 Thread Vyacheslav Karamov
Thanks! Good point, but I forgot to say I need the possibility to hide/show sidebar by tapping nav bar item. This might be ok for some cases, but I need detail view to be shrunk. 09.01.2014 19:34, Kyle Sluder wrote: On Jan 9, 2014, at 8:59 AM, Fritz Anderson fri...@manoverboard.org wrote: In

Re: Auto Layout with NSSplitView, NSScrollView

2014-01-09 Thread Andy Lee
On Jan 9, 2014, at 12:55 PM, SevenBits sevenbitst...@gmail.com wrote: On Thu, Jan 9, 2014 at 12:27 PM, Andy Lee ag...@mac.com wrote: That's a great thread, thanks! BTW Apple removed the splitview-without-NSSplitView sample code that's mentioned in the thread. For anyone still interested,

Re: Help to debug NSPerformService..

2014-01-09 Thread Peter Teeson
On 2014-01-07, at 11:18 PM, Ken Thomases k...@codeweavers.com wrote: On Jan 7, 2014, at 9:57 PM, Peter Teeson wrote: In my app I have this: @interface Guess : NSTextField // populated programmatically … -(void)check; // method to programatically use the Service Look Up In Dictionary @end

Re: Auto Layout with NSSplitView, NSScrollView

2014-01-09 Thread Ken Ferry
On Thu, Jan 9, 2014 at 9:48 AM, Kyle Sluder k...@ksluder.com wrote: To achieve this effect, add a mandatory greater-than-or-equal-to width constraint to the subview you want to be collapsible, and implement -splitView:canCollapseSubview: to return YES for that subview. Yeah - not too much to

Re: Help to debug NSPerformService..

2014-01-09 Thread Ken Thomases
On Jan 9, 2014, at 2:35 PM, Peter Teeson wrote: Like many others I'm trying to use one - namely Look Up In Dictionary. Except in my case I want to do it from within my app, not manually. On 2014-01-07, at 11:18 PM, Ken Thomases k...@codeweavers.com wrote: That said, perhaps you're actually

Re: Auto Layout with NSSplitView, NSScrollView

2014-01-09 Thread Andy Lee
On Jan 9, 2014, at 12:48 PM, Kyle Sluder k...@ksluder.com wrote: On Thu, Jan 9, 2014, at 07:51 AM, Andy Lee wrote: As far as I know (see disclaimers), there's no reason you can't implement split view delegate methods just because you're using Auto Layout, as long as you aren't calling

Re: Auto Layout with NSSplitView, NSScrollView

2014-01-09 Thread Andy Lee
On Jan 9, 2014, at 12:48 PM, Kyle Sluder k...@ksluder.com wrote: Nope. Please see the 10.8 AppKit Release Notes, which enumerate all the delegate methods which will kick you out of Auto Layout mode: splitView:constrainMinCoordinate:ofSubviewAt: splitView:constrainMaxCoordinate:ofSubviewAt:

Fixed format report document building

2014-01-09 Thread jonat...@mugginsoft.com
Windows WPF has a fixed format document API. Its documentation states: Fixed documents are intended for applications that require a precise what you see is what you get (WYSIWYG) presentation, independent of the display or printer hardware used. Typical uses for fixed documents include desktop

Re: Fixed format report document building

2014-01-09 Thread Kyle Sluder
On Thu, Jan 9, 2014, at 01:54 PM, jonat...@mugginsoft.com wrote: Windows WPF has a fixed format document API. Its documentation states: Fixed documents are intended for applications that require a precise what you see is what you get (WYSIWYG) presentation, independent of the display or

Re: Help to debug NSPerformService..

2014-01-09 Thread Peter Teeson
On 2014-01-09, at 3:58 PM, Ken Thomases k...@codeweavers.com wrote: On Jan 9, 2014, at 2:35 PM, Peter Teeson wrote: Like many others I'm trying to use one - namely Look Up In Dictionary. Except in my case I want to do it from within my app, not manually. On 2014-01-07, at 11:18 PM, Ken

CALayerGetSuperlayer called on instance of NSPathStore2

2014-01-09 Thread Rick Mann
I got this error running my iPad app in the Simulator. Xcode 5.0.2, iOS 7. CALayerGetSuperlayer called on instance of NSPathStore2 Googling it turns up literally no documents. -- Rick signature.asc Description: Message signed with OpenPGP using GPGMail

Re: CALayerGetSuperlayer called on instance of NSPathStore2

2014-01-09 Thread David Duncan
Treat it as an under-retained object error. Somewhere you have a layer that was released and replaced with an NSString that held a path. On Jan 9, 2014, at 4:00 PM, Rick Mann rm...@latencyzero.com wrote: I got this error running my iPad app in the Simulator. Xcode 5.0.2, iOS 7.

Re: CALayerGetSuperlayer called on instance of NSPathStore2

2014-01-09 Thread Rick Mann
I turned on Zombies and found this, thank you, although I have no idea where it is. On Jan 9, 2014, at 16:07 , David Duncan david.dun...@apple.com wrote: Treat it as an under-retained object error. Somewhere you have a layer that was released and replaced with an NSString that held a path.

Validation of fields in a navigation stack

2014-01-09 Thread Rick Mann
What's the right way to validate fields in an editable detail view in a navigation stack? It seems that the API doesn't really provide a good means to do so without a lot of contortions, and so I wonder what the intended behavior is. Here's what I've got: A UINavigationController stack with a

Re: Validation of fields in a navigation stack

2014-01-09 Thread Luther Baker
Create your own UIBarButtonItem button ... set it on the navigation item's leftBarButton property. Do what you want when they tap it with your own handler. The left bar button will cover the back button. On Jan 9, 2014, at 6:22 PM, Rick Mann rm...@latencyzero.com wrote: What's the right way

Re: Help to debug NSPerformService..

2014-01-09 Thread Peter Teeson
On 2014-01-09, at 6:42 PM, Peter Teeson ptee...@icloud.com wrote: On 2014-01-09, at 3:58 PM, Ken Thomases k...@codeweavers.com wrote: On Jan 9, 2014, at 2:35 PM, Peter Teeson wrote: Like many others I'm trying to use one - namely Look Up In Dictionary. Except in my case I want to do it from