Re: Getting class when instantiating a singleton


Jon Gotow
 

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.