Jabber Guest iOS SDK
JGUIHelper.h
1 //
2 // JGUIHelper.h
3 // JabberGuestSDK
4 //
5 // Created by oliviers on 7/2/13.
6 // Copyright (c) 2013 Cisco Systems, Inc. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
10 #import <UIKit/UIKit.h>
11 #import "JCFJabberCRestErrorCategory.h"
12 
13 @interface JGUIHelper : NSObject
14 
15 + (UIImage*)imageNamed:(NSString *)name;
16 + (NSURL*)resourceNamed:(NSString*)name;
17 + (NSString*)NSLocalizedString:(NSString *)key comment:(NSString*)def;
18 + (UINib*)nibWithNibName:(NSString *)name;
19 + (UIFont*)fontWithName:(NSString *)fontName size:(CGFloat)fontSize;
20 + (NSBundle *)loadBundle;
21 + (void)applyBackgroundGradient:(UIView *)view topColor:(UIColor *)topColor bottomColor:(UIColor *)bottomColor;
22 + (NSString*) stringFromInterfaceOrientation:(UIInterfaceOrientation) orientation;
23 + (NSString*) stringFromjcfErrorCategory:(JCFJabberCRestErrorCategory) category defaultString:(NSString*)defaultString;
24 
25 @end