Re: Disabling screen capture

2014-02-22 Thread Brad O'Hearne
Sent from my iPad On Feb 22, 2014, at 12:27 AM, Gary L. Wade garyw...@desisoftsystems.com wrote: You did go to this page, right? https://developer.apple.com/membercenter/index.action#requestTechSupport Yep, that's the one. I remembered one form on the site, not this one, that I had to

Re: Still can't get autolayout to work the way I want

2013-09-19 Thread Brad O'Hearne
On Sep 19, 2013, at 2:45 PM, Rick Mann rm...@latencyzero.com wrote: I am never able to get this shit right 100% of the time, and I don't know if it's because I'm doing something wrong, or iOS is broken and I need to do something else. As a second to Rick's request, auto-layout has given me

Re: Still can't get autolayout to work the way I want

2013-09-19 Thread Brad O'Hearne
On Sep 19, 2013, at 3:50 PM, Kevin Muldoon caoimgh...@gmail.com wrote: Yes, IB does automagically pop in constraints and for simple layouts, it works. But, with more complicated layouts, moving a single element around will rearrange one or more other constraints, generally breaking

Re: Turning off screen shot ability

2013-03-07 Thread Brad O'Hearne
Thank you everyone for your responses and discussion. I'll take a look at all of the resources listed by responders, and pursue it further with DTS. In conclusion, I'll add what my opinion is of the knobs and switches on the machine here. Here's what I find interesting -- if I set the

Re: Turning off screen shot ability

2013-03-06 Thread Brad O'Hearne
I appreciate the desire of a few here to communicate your perceived futility of turning off screen shots or window capture. I do not want to digress into a philosophical discussion here, I just want to stick to talk of the capabilities of machinery -- but given that the responses here pretty

Re: Turning off screen shot ability

2013-03-06 Thread Brad O'Hearne
Why would there be a simple way? I can think of a few reasons: 1. Using NSApplicationPresentationOptions, you can enforce the following programmatically: auto-hide the system dock, hide the system dock entirely, auto-hide the system menu bar, hide the system menu-bar entirely, completely

Re: Turning off screen shot ability

2013-03-06 Thread Brad O'Hearne
On Mar 6, 2013, at 1:49 PM, M Pulis tooth...@fastq.com wrote: Fine, Good rehearsal, but we are not the folks you need support from. I was unaware you spoke for the entire list. I had thought it wasn't too far of a stretch to think that someone somewhere (outside of Apple themselves) might

Re: Turning off screen shot ability

2013-03-06 Thread Brad O'Hearne
I'll take a stab at this one last time -- I appreciate the opinions here and under normal circumstances I would agree with the sentiments of user liberty and user control of their machine. However, this is a very specialized, security-oriented use-case. This app *never* runs in the background,

Re: Turning off screen shot ability

2013-03-06 Thread Brad O'Hearne
that isn't the case with Command-Shift-3 however, which seems to still create screen shots unimpeded. Brad On Mar 6, 2013, at 2:14 PM, Lee Ann Rucker lruc...@vmware.com wrote: On Mar 6, 2013, at 9:02 AM, Jens Alfke wrote: On Mar 6, 2013, at 8:37 AM, Brad O'Hearne br

Turning off screen shot ability

2013-03-05 Thread Brad O'Hearne
Hello, I am working on a security-related Mac app and I need to know the way to turn off the ability to screen shot or capture the contents of the app's window. It would appear that setting the sharing type on the main window (which covers the entire screen) to none doesn't completely do it.

Convention for init with error

2013-02-27 Thread Brad O'Hearne
Hello, I have a need to construct an object with the possibility of an error taking place and needing to return that error. While it would be nice to have a clean init method that returned no errors, in this particular case, the error belongs with init. I've been pondering two ways of doing

Re: Convention for init with error

2013-02-27 Thread Brad O'Hearne
Quincey and John, Thank you both for the replies and opinions. I do like the factory method approach, however there is something about a mandatory process or workflow for using an object that seems like it should naturally be put in an init method. It sometimes strikes me a little weird when

Conversion of QTCaptureDecompressedVideoOutput frame to YUV420p

2013-02-05 Thread Brad O'Hearne
Hello, I am trying to take a CVImageBufferRef received from the following video capture callback: - (void)outputVideoFrame:(CVImageBufferRef)videoFrame withSampleBuffer:(QTSampleBuffer *)sampleBuffer fromConnection:(QTCaptureConnection *)connection ...and feed to to an FFmpeg codec for

Re: Get the current displayed NSAlert

2012-12-04 Thread Brad O'Hearne
In general -- any alert that requires user attention (especially ones with multiple button alternatives) can be left on the screen indefinitely by a user. If you are monitoring environmental conditions (such as network, server, or Internet reachability) that arise, it is always possible that

Get the current displayed NSAlert

2012-12-03 Thread Brad O'Hearne
Hello all, Is there a way to get a reference to the currently displayed modal NSAlert, or to be able to globally determine if a modal alert is presently showing in a Cocoa app, though you have no knowledge of where in the app it originated from? Thanks, Brad Brad O'Hearne Founder/Lead

Re: Get the current displayed NSAlert

2012-12-03 Thread Brad O'Hearne
to display its own alerts, and the workflow manager effectively messages the plugins by virtue of pause and resume lifecycle methods on plugins. Thanks, Brad Brad O'Hearne Founder/Lead Developer Big Hill Software LLC http://www.bighillsoftware.com On Dec 3, 2012, at 10:10 PM, Kyle Sluder k

Suppressing variable hiding warning in Xcode

2009-04-05 Thread Brad O'Hearne
Hey there, I had a few questions about selectively suppressing a certain warning in Xcode. I personally find the warning which pertains to local variables hiding instance variables a real nuisance. For example, if you have a message signature with a parameter name which matches an

Dynamic getting of a property of BOOL type

2009-03-06 Thread Brad O'Hearne
I am dynamically retrieving properties from an NSObject, in order to convert the types to string values and store them in XML. I am using the following line of code to send a message to the object to retrieve the property's value: id value = objc_msgSend(object, propSelector); BOOL

Sublclassing NSThread

2008-12-16 Thread Brad O'Hearne
Hello, I am trying to create an NSThread subclass which completely wraps the desired behavior of the thread execution. Now typically when creating a new thread instance, it seems one will use the initWithTarget:selector:object initializer to properly direct the thread's execution. But

OT: Uninstallers (Was: Cocoa-dev Digest, Vol 5, Issue 1598)

2008-09-10 Thread Brad O'Hearne
This is starting to stray a bit from Cocoa code talk, but as a bit of feedback to all Cocoa developers out there who are developing applications to ship to end-users (in contrast to internal corp apps), the lack of uninstallers on Mac apps seems to be a notable omission, for an otherwise

OT: Announcing Pi, the Phoenix iPhone Developer Group

2008-06-20 Thread Brad O'Hearne
grateful if you could forward this email to any work associates, and other user groups you may be a part of -- spread the word! Sincerely, Brad Brad O'Hearne NeuroFire ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post