blackberry.com
BlackBerry Dynamics
Runtime library for iOS applications
from the application developer portal
Defines

GDPortability.h File Reference

Portability preprocessor macros and utility methods. More...

#include <Availability.h>

Defines


Detailed Description

This file has a number of preprocessor macros and utility methods that enable the BlackBerry Dynamics Software Development Kit (SDK) products for iOS and macOS to make use of newer features of the corresponding native SDKs whilst maintaining backward compatibility.

Some examples of these newer features are:

More comments can be found in the source .h file.


Define Documentation

#define GD_NSKINDOF   __kindof
#define GD_NSNULLABLE_PROP   nullable,
#define GD_NSNULLABLE   nullable
#define GD_NSNON_NULL_PROP   nonnull,
#define GD_NSNON_NULL   nonnull
#define GD_NSNULL_UNSPECIFIED   null_unspecified
#define GD_NSNULLABLE_POINTER   _Nullable
#define GD_NSNON_NULL_POINTER   _Nonnull
#define GD_NSNULL_UNSPECIFIED_POINTER   _Null_unspecified
#define GD_NSNON_NULL_CAST (   ObjectType,
  Expression 
)    ((ObjectType __nonnull)(ObjectType)Expression)
#define GD_NS_ASSUME_NONNULL_BEGIN   NS_ASSUME_NONNULL_BEGIN
#define GD_NS_ASSUME_NONNULL_END   NS_ASSUME_NONNULL_END
#define GD_NSDictionary (   KeyType,
  ObjectType 
)    NSDictionary<KeyType, ObjectType>
#define GD_NSMutableDictionary (   KeyType,
  ObjectType 
)    NSMutableDictionary<KeyType, ObjectType>
#define GD_NSArray (   ObjectType)    NSArray<ObjectType>
#define GD_NSMutableArray (   ObjectType)    NSMutableArray<ObjectType>
#define GD_NSSet (   ObjectType)    NSSet<ObjectType>
#define GD_NSMutableSet (   ObjectType)    NSMutableSet<ObjectType>
#define GD_NSDirectoryEnumerator (   ObjectType)    NSDirectoryEnumerator<ObjectType>
#define GD_API_AVAILABLE (   ...)    API_AVAILABLE(__VA_ARGS__)
#define GD_API_UNAVAILABLE (   ...)    API_UNAVAILABLE(__VA_ARGS__)