Re: NSPopupButton and content values binding transformer

2013-10-26 Thread jonat...@mugginsoft.com
On 25 Oct 2013, at 10:58, jonat...@mugginsoft.com wrote: > Value transformers applied to NSPopupButton have some idiosyncrasies. > http://stackoverflow.com/questions/12505764/nspopupbutton-bindings-with-value-transformer > > I have applied a transformer to an NSPopupButton content values bindin

Re: NSTableview row-based, not redrawing on 10.9

2013-10-26 Thread Martin Hewitson
In the end I’ve resorted to listening for frame changes in my tableview subclass then I get the list of visible rows and force a redraw (via setNeedsDisplay) on the row views. I also have to propagate this to the child views which are the NSTextFields which were appearing black. Now I get an ugl

Re: Is this an appropriate use of NSSheets?

2013-10-26 Thread Jens Alfke
On Oct 26, 2013, at 6:42 AM, David Delmonte wrote: > I was thinking that for both adding a new record, or selecting from a set, an > NSSheet could work quite nicely. > But I don't know if this is an appropriate use off NSSheet it looks like > they are more commonly used as alerts Sheets are

Toolbar Error Message

2013-10-26 Thread Gordon Apple
With 10.9, targeted at 10.8, when I show a toolbar for a window, I get the console message: ³Misuse of NSImage and CALayer. contentsGravity is top. It should be one of resize, resizeAspect, or resizeAspectFill. Stack trace is useless. What the heck is this? I only have NSToolbarItems and a coupl

Re: core data merge errors on 10.9

2013-10-26 Thread Martin Hewitson
In case anyone else hits this, I 'solved' it by setting a merge policy on the managed object context: [_managedObjectContext setMergePolicy:[[NSMergePolicy alloc] initWithMergeType:NSMergeByPropertyObjectTrumpMergePolicyType]]; This very much feels like a workaround. According to the document

Is this an appropriate use of NSSheets?

2013-10-26 Thread David Delmonte
Hi all, I’ve been lurking for some time, but I finally want to ask a question.. I have a cocoa app underway and I'm thinking about how to get people to enter and/or change textFields. The main window is an NSTableView, and there are subordinate tables, from which people may add/choose selectio

[ANN] Receigen, App Store receipt validation made easy for OS X and iOS

2013-10-26 Thread Laurent Etiemble
Hello, Easily generate your receipt validation code for OS X and iOS in a snap. Receigen is a smart code generator for App Store receipt validation. The generated code is ready-to-integrate, fully debuggable and integrates various protection mechanisms to harden the reverse engineering. Receigen

UIDocumentInteractionController preview the file will show the status bar

2013-10-26 Thread li shunnian
Hi all, My app is a full screen one. When I use UIDocumentInteractionController to preview a file, it will show the hidden status bar. I tried to use the following code, but the status bar will show for a second then hide again. After the quick look view dismissed, the status bar will show