Re: auto layout exception: Unable to create description in descriptionForLayoutAttribute_layoutItem_coefficient. Something is nil

2014-11-06 Thread Jonathan Mitchell
Frame 13 indicates that you have a breaking constraint. The framework bug (if such it be) is triggered on iOS 7.1 trying to log the breaking constraint. 12 Foundation 0x00010f2f420a NSLog + 148 13 UIKit

Re: Closing window on Yosemite crashes (isFlipped)

2014-11-06 Thread Allan Odgaard
On 30 Oct 2014, at 17:26, Fritz Anderson wrote: I haven’t encountered this myself. This is stream-of-consciousness, adding the presence of convertRect:toView: in the trace as the immediate caller… Thanks for your thoughts on the issue. I haven’t pinpointed the exact cause of the crash, but

best way to implement unlock features in app

2014-11-06 Thread sqwarqDev
Apologies in advance. I'm sure this has been asked a million times before, but my google-fu has let me down, and that which I can find is all iOS related. No good for me as this concerns an OS X, non-App store app. I have a reasonably well-developed free OS X app (i.e., by well-developed I

Subclassing NSView in Yosemite?

2014-11-06 Thread Alex Hall
Hello list, I've subclassed NSView before, doing all my setup in init withFrame, and it works fine. Now, though, I'm using Swift in Xcode 6.1 to build a project against 10.10, and I'm getting an error that I need to implement initWithCoder:NSCoder. The problem is that the documentation says

Re: best way to implement unlock features in app

2014-11-06 Thread Bill Cheeseman
On Nov 6, 2014, at 9:00 AM, sqwarqDev sqwarq...@icloud.com wrote: I have a reasonably well-developed free OS X app (i.e., by well-developed I mean I've got a stable user base), and I'm now wanting to add extra features that require purchasing a licence. This seems a common model, but I

Re: best way to implement unlock features in app

2014-11-06 Thread sqwarqDev
On 6 Nov 2014, at 21:31, Bill Cheeseman wjcheese...@gmail.com wrote: One answer, which I prefer, is to contract with a commercial e-commerce provider. Thanks, Bill. I had looked at Kagi in the past, but I didn't realise e-commerce providers would actually help with incorporating all

Re: best way to implement unlock features in app

2014-11-06 Thread Allan Odgaard
On 6 Nov 2014, at 15:00, sqwarqDev wrote: […] I can't find any guidance on exactly how do I generate and test for valid licence keys at run time? I wrote this post about the general principles of a secure license key scheme:

Re: best way to implement unlock features in app

2014-11-06 Thread sqwarqDev
On 6 Nov 2014, at 22:35, Allan Odgaard lists+cocoa-...@simplit.com wrote: I wrote this post about the general principles of a secure license key scheme: http://sigpipe.macromates.com/2004/09/05/using-openssl-for-license-keys/ Ahh nice. Thanks. That's the kind of nitty gritty I've been

Re: Subclassing NSView in Yosemite?

2014-11-06 Thread David Duncan
On Nov 6, 2014, at 6:29 AM, Alex Hall mehg...@icloud.com wrote: Hello list, I've subclassed NSView before, doing all my setup in init withFrame, and it works fine. Now, though, I'm using Swift in Xcode 6.1 to build a project against 10.10, and I'm getting an error that I need to

Re: Subclassing NSView in Yosemite?

2014-11-06 Thread Kyle Sluder
On Nov 6, 2014, at 6:29 AM, Alex Hall mehg...@icloud.com wrote: Hello list, I've subclassed NSView before, doing all my setup in init withFrame, and it works fine. Now, though, I'm using Swift in Xcode 6.1 to build a project against 10.10, and I'm getting an error that I need to implement

Re: NSImage glowing

2014-11-06 Thread Alex Kac
Thank you guys. This has helped a lot. I have a much better understanding of this now. On Nov 5, 2014, at 7:40 PM, Lee Ann Rucker lruc...@vmware.com wrote: On Nov 5, 2014, at 5:53 PM, Wim Lewis w...@omnigroup.com wrote: On Nov 5, 2014, at 3:43 PM, Alex Kac a...@webis.net wrote: BUT,

Re: best way to implement unlock features in app

2014-11-06 Thread Allan Odgaard
On 6 Nov 2014, at 16:53, sqwarqDev wrote: I didn't understand this bit though: If you do not need to encrypt a payload (as in my post) then I suggest making the license be just a serial number followed by a signature on that number (maybe include a short hash of the owner name) If anyone

Vibrancy + Floating Group Row bug?

2014-11-06 Thread Seth Willits
Some subviews of table view cells underneath a floating group row, in a vibrant table view have strange drawing: http://sethwillits.com/temp/upshot/upshot_EnYMpCzT.png Any thoughts? (In the case of the pink text field, if I leave the text color as Control Text Color, then its boundaries

Re: Vibrancy + Floating Group Row bug?

2014-11-06 Thread Seth Willits
On Nov 6, 2014, at 12:20 PM, Seth Willits sli...@araelium.com wrote: Some subviews of table view cells underneath a floating group row, in a vibrant table view have strange drawing: http://sethwillits.com/temp/upshot/upshot_EnYMpCzT.png Any thoughts? (In the case of the pink text field,

Re: Closing window on Yosemite crashes (isFlipped)

2014-11-06 Thread Graham Cox
Looks like an object is not removing itself as an observer of window notifications prior to deallocation. The notification center holds on to weak references, so these can become stale if not purposely removed, usually by a call to -removeObserver: as part of the -dealloc method (with ARC you

Re: Closing window on Yosemite crashes (isFlipped)

2014-11-06 Thread Allan Odgaard
On 6 Nov 2014, at 23:40, Graham Cox wrote: Looks like an object is not removing itself as an observer of window notifications prior to deallocation […] The crash happens when I re-use the window with the WebView, i.e. no (major) objects are released. The crash (almost) disappeared when I