Kobold2D  1.1
Kobold2D API Reference (iOS version) for www.kobold2d.com developers
 All Classes Files Functions Variables Enumerations Enumerator Properties Defines
kobold2d_version.h File Reference
#import <Foundation/Foundation.h>
Include dependency graph for kobold2d_version.h:

Functions

NSString * kobold2dVersion ()
BOOL isWidescreenEnabled ()
int macOSVersionMajor ()
int macOSVersionMinor ()
int macOSVersionBugFix ()

Detailed Description


Function Documentation

Returns whether the device has a 16:9 widescreen display AND widescreen is enabled. For example, iPhone 5 is widescreen but unless your project includes the Defau.nosp@m.lt-5.nosp@m.68h@2.nosp@m.x.pn.nosp@m.g an iPhone 5 will report only 480x320 point screen size.

This function returns YES only if the device HAS a widescreen display AND it is enabled by including the Defau.nosp@m.lt-5.nosp@m.68h@2.nosp@m.x.pn.nosp@m.g in your project.

NSString* kobold2dVersion ( )

Returns the Kobold2D Version string.

Returns the bugfix Mac OS X version. For example, for Mac OS X 10.7.2 it will return 2. Returns 0 on iOS.

Returns the major Mac OS X version. For example, for Mac OS X 10.7.2 it will return 10. Returns 0 on iOS.

Returns the minor Mac OS X version. For example, for Mac OS X 10.7.2 it will return 7. Returns 0 on iOS.