PageRenderTime 19ms CodeModel.GetById 18ms app.highlight 1ms RepoModel.GetById 0ms app.codeStats 0ms

/libs/ObjectAL/Support/IOSVersion.h

http://github.com/kstenerud/ObjectAL-for-iPhone
C Header | 29 lines | 9 code | 4 blank | 16 comment | 0 complexity | 48ab6610d3c46c86347470fa736c35fe MD5 | raw file
Possible License(s): Apache-2.0
 1//
 2//  IOSVersion.h
 3//  ObjectiveGems
 4//
 5//  Created by Karl Stenerud on 10-11-07.
 6//
 7
 8#import <Foundation/Foundation.h>
 9#import "SynthesizeSingleton.h"
10
11/**
12 * Reports the version of iOS being run on the current device.
13 */
14@interface IOSVersion : NSObject
15{
16    /** Holds the current iOS version */
17	float version;
18}
19/** The version of iOS being run on the current device as a float in the format x.yy */
20@property(readonly) float version;
21
22/** Singleton implementation providing "sharedInstance" and "purgeSharedInstance" methods.
23 *
24 * <b>- (IOSVersion*) sharedInstance</b>: Get the shared singleton instance. <br>
25 * <b>- (void) purgeSharedInstance</b>: Purge (deallocate) the shared instance.
26 */
27SYNTHESIZE_SINGLETON_FOR_CLASS_HEADER(IOSVersion);
28
29@end