Pregunta

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?

¿Fue útil?

Solución

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

Otros consejos

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.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top