user403015
user403015

Reputation: 7227

How to reset a singleton in Objective-C?

The singleton contains plenty of variables.

How to quickly reset the variables to nil or 0 ?

Thanks.

Upvotes: 1

Views: 1011

Answers (1)

Abizern
Abizern

Reputation: 150615

Write a method in the singleton that does it for you.

Upvotes: 5

Related Questions