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

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 d...@looktowindward.com wrote: Hi, I think this has been covered before, but

Re: iOS - NSOperation/NSOperationQueue Question

2014-06-03 Thread Jeffrey Robert Kelley
2014, at 19:26, Jeffrey Robert Kelley slauncha...@gmail.com wrote: 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 d

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 wsqui...@satx.rr.com wrote: Okay, in non-ARC code, one would override dealloc to put clean-up code

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

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