Re: NSWindow Level Side Effect - PopUp to Normal

2013-10-28 Thread Caylan Larson
scope will have to wait > until later. :) I could use advice on interface implementation. My app takes the screen real-estate behind its window and rasterizes the screen data using different filters - it then prints the raster data to thermal printers (label, receipt, etc.). http://files.c

Re: NSWindow Level Side Effect - PopUp to Normal

2013-10-28 Thread Ken Thomases
On Oct 28, 2013, at 7:32 PM, Caylan Larson wrote: > When my app is active its windows are set to NSPopUpMenuWindowLevel. This is > to capture main menu screen real estate inside of its frame (it’s a > “scope”-type utility: www.labelscope.com). When I receive > applicationDidResignActive, I se

NSWindow Level Side Effect - PopUp to Normal

2013-10-28 Thread Caylan Larson
When my app is active its windows are set to NSPopUpMenuWindowLevel. This is to capture main menu screen real estate inside of its frame (it’s a “scope”-type utility: www.labelscope.com). When I receive applicationDidResignActive, I set all windows as NSNormalWindowLevel. Problem is, the new

Re: MultiBinding

2013-10-28 Thread jonat...@mugginsoft.com
On 28 Oct 2013, at 17:52, Gerd Knops wrote: > In Interface Builder text fields you can use "Value with Pattern" to combine > multiple properties into a single output. Alternatively in code you can do > something like this: > > - (NSString *)fullName { > > return [NSString stringWi

Re: MultiBinding

2013-10-28 Thread Gerd Knops
In Interface Builder text fields you can use "Value with Pattern" to combine multiple properties into a single output. Alternatively in code you can do something like this: - (NSString *)fullName { return [NSString stringWithFormat:@"%@, %@",self.lastName,self.firstName]; } + (

Re: OBJC_PRINT_REPLACED_METHODS logs a lot of noise?

2013-10-28 Thread Sean McBride
On Fri, 25 Oct 2013 16:30:51 -0700, Jerry Krinock said: >> You could also set OBJC_PRINT_REPLACED_METHODS=YES in the >environment. That's how I originally discovered my firstObject NSArray >category method >> wasin conflict. > >I tried it. When I launch my app with that I get 100 log entries, bu

MultiBinding

2013-10-28 Thread jonat...@mugginsoft.com
Has anyone any suggestions for how to implement something similar to XAMLs MultiBinding class? Essentially this enables multiple bindings to be combined through a transformer to produce the final view output. http://msdn.microsoft.com/en-us/library/system.windows.data.multibinding.aspx

Re: NSPopupButton and content values binding transformer

2013-10-28 Thread jonat...@mugginsoft.com
On 26 Oct 2013, at 21:28, jonat...@mugginsoft.com wrote: > 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