سؤال

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