9 #import <Foundation/Foundation.h>
10 #import <UIKit/UIKit.h>
11 #import "JCFJabberCRestErrorCategory.h"
13 @interface JGUIHelper : NSObject
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;