Question

Looking at this article: http://www.galloway.me.uk/tutorials/singleton-classes/

I have implemented a singleton, my question is the oneway (not using ARC) is it supported in iOS 4.0?

Était-ce utile?

La solution

Yes it is available, oneway is an objective c keyword, it does not relate to a given iOS SDK

Autres conseils

This is a design pattern which will remain unchanged as and when technology changes. So you can use it easily.

Yes , oneway keyword is a compiler hint.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top