Re: Cleaning up a project from static/global variables

2015-03-21 Thread Jeffrey Robert Kelley
Eyal, In Xcode, they should appear in the Symbol Navigator (⌘2) under “Globals.” Just verified that, at least in Swift, global variables do appear. You’ll want to use the icons at the bottom to hide system-defined globals, and deselect the left one, which only shows classes and protocol

Re: iOS - NSOperation/NSOperationQueue Question

2014-06-03 Thread Jeffrey Robert Kelley
t; > Thanks > Dave > > On 3 Jun 2014, at 19:26, Jeffrey Robert Kelley wrote: > >> I think you’re looking for NSOperationQueue’s >> -addOperations:waitUntilFinished: method. Should do what you want. >> >> >> Jeff Kelley >> >> s

Re: iOS - NSOperation/NSOperationQueue Question

2014-06-03 Thread Jeffrey Robert Kelley
I think you’re looking for NSOperationQueue’s -addOperations:waitUntilFinished: method. Should do what you want. Jeff Kelley slauncha...@gmail.com | @SlaunchaMan | jeffkelley.org On Jun 3, 2014, at 5:51 AM, Dave wrote: > Hi, > > I think this has been covered before, but all the searches I’v

Re: ARC clean up?

2014-05-14 Thread Jeffrey Robert Kelley
You can still override -dealloc, just don’t call [super dealloc] anywhere in it. Jeff Kelley slauncha...@gmail.com | @SlaunchaMan | jeffkelley.org On May 14, 2014, at 12:12 PM, William Squires wrote: > Okay, in non-ARC code, one would override dealloc to put clean-up code (to > release retain

Re: UnitTest: object Should be Dealllocated

2013-06-27 Thread Jeffrey Robert Kelley
I used Mike Ash’s excellent MAZeroingWeakRef before we had weak references. For unit tests, you could turn on all of its private API introspection, since it’s not shipping code. Jeff Kelley slauncha...@gmail.com | @SlaunchaMan | jeffkelley.org On Jun 27, 2013, at 7:18 PM, Martin Wierschin wr

Re: Image Processing using Cocoa: newbee question

2013-03-14 Thread Jeffrey Robert Kelley
Lars, It’s not as high-level as Core Image, but here’s a good primer on obtaining raw pixel data: http://mikeash.com/pyblog/friday-qa-2012-08-31-obtaining-and-interpreting-image-data.html - Jeff Kelley On Mar 14, 2013, at 8:01 PM, Lars Sonchocky-Helldorf wrote: > Hi, > > I