doc
|
Classes | |
class | EMBitlyUtil |
protocol | <EMSelectFromContactsDelegate> |
Enumerations | |
enum | EMImageManipulatorRoundedCorner { EMImageManipulatorRoundedCornerTopLeft = 1, EMImageManipulatorRoundedCornerTopRight = 2, EMImageManipulatorRoundedCornerBottomRight = 4, EMImageManipulatorRoundedCornerBottomLeft = 8 } |
NSString * | EMLocalizedString (NSString *key, NSString *comment) |
NSString * | EMCurrentLanguage () |
NSString * | EMDescriptionForError (NSError *error) |
BOOL | EMIsIPad () |
CGFloat | EMScale () |
CGRect | CGRectInsetToSize (CGRect rect, CGSize size) |
CG_EXTERN CGImageRef | TrimWhitespace (CGImageRef inImage, double paddingPercent) |
CG_EXTERN CGImageRef | ApplyImageMask (CGImageRef imageMask, CGColorRef fillColor) |
CG_EXTERN CGImageRef | EmbossImage (CGImageRef image) |
CGRect CGRectInsetToSize | ( | CGRect | rect, |
CGSize | size | ||
) |
Returns a new CGRect of lesser or equal size, centered inside the rect
NSString* EMCurrentLanguage | ( | ) |
Checks the User Preferences for language, or returns "en" if no preferences were found.
NSString* EMDescriptionForError | ( | NSError * | error | ) |
Like TTDescriptionForError, except uses it uses EMLocalizedString, returns "Unknown Error" if error is nil, and returns the localizedDescription if the error is not in the NSURLErrorDomain.
Error codes handled:
BOOL EMIsIPad | ( | ) |
Returns true if the device is an iPad.
NSString* EMLocalizedString | ( | NSString * | key, |
NSString * | comment | ||
) |