Frage

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?

War es hilfreich?

Lösung

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

Andere Tipps

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.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top