Re: Getting class when instantiating a singleton


Alex Zavatone
 

Awesome. TY. +1

On Aug 30, 2017, at 3:49 PM, Jon Gotow <gotow@...> wrote:


On Aug 30, 2017, at 2:42 PM, Alex Zavatone <zav@...> wrote:

I wish.

Pointer to non-const type ‘id’ with no explicit ownership.
No no - not:

static id *instance;

but

static id instance;

The id type is itself a pointer to an object.

- Jon

Join cocoa@apple-dev.groups.io to automatically receive all group messages.