You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’ve seen elsewhere implementations of a singleton that use dispatch_once to initialize the static variable.
How does that compare with the method swizzling approach, and, can they be combined, or there is no point?
TIA
Victor
The text was updated successfully, but these errors were encountered:
I’ve seen elsewhere implementations of a singleton that use
dispatch_once
to initialize the static variable.How does that compare with the method swizzling approach, and, can they be combined, or there is no point?
TIA
Victor
The text was updated successfully, but these errors were encountered: