문제

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?

도움이 되었습니까?

해결책

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

다른 팁

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top