Olie

Santa Cruz Mountains, CA

12h
awarded Popular Question
Jan
15
comment Setting CGContextSetStrokeColorWithColor with a UIColor that was passed as a parameter
Here's a decent answer that talks about some of the pitfalls of using self. in init. stackoverflow.com/a/8056260/34820
Jan
15
comment Setting CGContextSetStrokeColorWithColor with a UIColor that was passed as a parameter
@Pétur I totally get what you're saying, but that's advice I've gotten both in official documentation (can't find at the moment) and from several friends who work at Apple on iOS. <shrug>.
Jan
15
comment Setting CGContextSetStrokeColorWithColor with a UIColor that was passed as a parameter
It is strongly recommended against to reference properties via the self. accessors within the init routine. Yes, sometimes it appears to work but, in general, it's a bad idea. (Apple docs).
Jan
4
awarded Great Question
Dec
20
comment cancel dispatch_after() method?
I started down this path, but how does one do it with class methods (which is why I switched to dispatch_after)?
Dec
7
comment Convert non-ARC to ARC project without recreate it?
Xcode 7: Edit => Convert => Convert to Objective-C ARC...
Dec
4
comment How can I delete Time Machine files using the commandline
Also: I keep finding references to a Backups.backupdb directory that I'm not seeing on my backup drive (a Time Capsule). I just have things of the form MachineName.sparsebundle. Did the format change? I'm trying to use TM's delete backup command, but it's been stuck on 99.99% progress bar for several hours.
Dec
4
comment How can I delete Time Machine files using the commandline
+1 for BLUF. Did you get that from (the totally awesome) Manager-Tools? :)
Dec
4
comment Fastest way to delete all Timemachine Backups for a machine
is Backups.backupdb the same as the MachineName.sparsebundle on the time machine volume? I'm not seeing any backupdb files. (Dec '15, El Capitan)
Dec
3
comment Error cleaning build folder - You do not have required file permissions
Update to confirm toggle Default => Relative => Default works in Xcode 7.1.1
Dec
1
answered How to securely zero out memory in NSString
Nov
26
awarded Notable Question
Nov
25
awarded Necromancer
Nov
24
awarded Revival
Nov
24
comment git: moving committed (but not pushed) changes to a new branch
@FélixGagnon-Grenier, don't worry about "late" -- there are always people looking up old questions and every clarification helps. Thanks! :)
Nov
23
awarded Nice Answer
Nov
20
comment How to get pixel data from a UIImage (Cocoa Touch) or CGImage (Core Graphics)?
@Nil, that would be a separate SO question. :) There are a few ways. One is to set userInteractionEnabled on your subclass of UIImageView, and handle the touchesBegan and related events. (Or use a tap gesture recognizer.)
Nov
12
comment Why is my CLLocationmanager delegate not getting called?
@MaxMacLeod: similar symptoms, but with a different root cause. That question is more properly "Why isn't my released variable continuing to function?" whereas this one is more like "why isn't my action that I put on a thread that never gets any time never getting any time?" :)
Nov
11
awarded Supporter
1 2 3 4 5