> On Oct 19, 2016, at 12:54 PM, Alex Zavatone <z...@mac.com> wrote:
> 
> Is there anything wrong with what I'm doing?  

Looks fine to me. Is any of this code using manual ref-counting? If so, I’d 
suspect an over-release.

> should I be using [GeofenceControllerSingleton alloc] init] instead of [[self 
> alloc] init]?

It would be slightly safer since it guarantees the base class will be 
instantiated (which is what you probably expect) instead of any subclass that 
this factory method is called on.

—Jens
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to