Re: Status Bar problem

2014-01-09 Thread Caylan Larson
On Jan 3, 2014, at 3:54 AM, Roland King 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 ug

Child Window Resize Cursors When Not Key

2013-11-22 Thread Caylan Larson
Hi, Is it possible to get resize cursors on a child NSWindow that is not key? The only thing I can find on this topic is: http://www.cocoabuilder.com/archive/cocoa/209703-using-nstrackingarea-on-overlay-child-windows.html "I did some experimenting and it appears the updateCursor: messag

Re: NSWindow Level Side Effect - PopUp to Normal

2013-10-29 Thread Caylan Larson
> This works great… except when the window nears the main menu. If I get > close to the main menu, the child window’s frames start to get limited in > upward mobility. This causes drawing bugs. Strangely, the redrawing doesn’t > happen until I setFrame: (vs setFrameOrigin). However, draggin

Re: NSWindow Level Side Effect - PopUp to Normal

2013-10-28 Thread Caylan Larson
On Oct 28, 2013, at 9:38 PM, Caylan Larson wrote: >> Ken Thomas wrote: >> >> I believe that ordering your window behind the other window would work >> (after you've reduced its level), but you're not correctly identifying the >> target window. The wind

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: Autolayout wrt Cassowary

2013-10-25 Thread Caylan Larson
David, I’m a new cocoa dev. You inspired me to watch WWDC 2011, Session 103 - Cocoa Autolayout. The final minute of this video drops a shout-out and big "Thank You" to the two folks at the Computer Science department at Washington for their work on Cassowary. To others out there: are there

Re: Runloops and Window Dragging

2013-10-06 Thread Caylan Larson
On Oct 2, 2013, at 2:21 PM, Ken Thomases wrote: > On Oct 2, 2013, at 1:36 PM, Caylan Larson wrote: > >> I am using CGWindowListCreateImage to fetch an image of the windows behind >> my app. This works beautifully and is OK for my needs. Except... >> >> I have p

Re: Runloops and Window Dragging

2013-10-02 Thread Caylan Larson
On Oct 2, 2013, at 5:06 PM, Jens Alfke wrote: >> I am using CGWindowListCreateImage to fetch an image of the windows behind >> my app. This works beautifully and is OK for my needs. > > I assume you’re doing this to apply some kind of fancy effects to the image, > so your window acts like a

Runloops and Window Dragging

2013-10-02 Thread Caylan Larson
I am using CGWindowListCreateImage to fetch an image of the windows behind my app. This works beautifully and is OK for my needs. Except... I have problems when I drag the window. The goal is near real-time image updates during the drag event. The runloop never seems to fully display the res

Re: developer.apple.com under maintenance for a few days now?

2013-07-21 Thread Caylan Larson
I just received an email from apple indicating the Dev site was a victim of a hack. On Jul 21, 2013, at 10:02 AM, Alex Zavatone wrote: > It's been this way since mid Friday. > > On Jul 21, 2013, at 10:28 AM, Jean Suisse wrote: > >> Indeed. You're right. I can't log in. >> Given their stat

Modeling a Linux USB Serial Driver with IOKit

2013-04-17 Thread Caylan Larson
Ahoy, I've been working hard on a basic implementation of a userspace driver for the WCH341. Would you mind offering some advice for where I may have gone astray? I've got the device/interface endpoints setup correctly. That is, _usbDevice and _usbInterface have been initialized properly. I

Passing NSTextField Pointer to IOUSBInterfaceInterface182 Callback

2013-04-11 Thread Caylan Larson
I'm doing an asynchronous read from a USB printer. The read works correctly. My trouble is updating a NSTextField from within the callback. > -(IBAction)printTest:(id)sender > { …. > NSLog(@"starting async read: %@", _printerOutput); > NSLog(@"_printerOutput pointer = %p",