text: //
  //  VTClassHelper.h
  //  MidtransKit
  //
  //  Created by Nanang Rafsanjani on 2/23/16.
  //  Copyright © 2016 Veritrans. All rights reserved.
  //
  
  #define VTBundle [VTClassHelper kitBundle]
  #define VTLocaleBundle  [VTClassHelper localeBundle]
  #define UILocalizedString(key, comment) \
  [VTBundle localizedStringForKey:(key) value:@"" table:nil]
  
  #define MidtransLocale(key, comment) \
  [VTLocaleBundle localizedStringForKey:(key) value:@"" table:nil]
  #define IPHONE_4 ( fabs( ( double )[ [ UIScreen mainScreen ] bounds ].size.height - ( double )480 ) < DBL_EPSILON )
  
  #define snpRGB(r, g, b) \
  [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:1]
  #define snpRGBA(r, g, b, a) \
  [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:(a)]
  
  #import <MidtransCoreKit/MidtransCoreKit.h>
  #import "VTInstruction.h"
  #import "VTGroupedInstruction.h"
  
  @interface NSMutableAttributedString (Helper)
  - (void)replaceCharacterString:(NSString *)characterString withIcon:(UIImage *)icon;
  @end
  
  @interface VTClassHelper : UIViewController
  + (NSBundle*)kitBundle;
  + (NSBundle *)localeBundle;
  + (NSString *)getTranslationFromAppBundleForString:(NSString *)originalText;
  + (NSArray <VTInstruction *> *)instructionsFromFilePath:(NSString *)filePath;
  + (NSArray <VTGroupedInstruction*>*)groupedInstructionsFromFilePath:(NSString *)filePath;
  + (BOOL)hasKindOfController:(UIViewController *)controller onControllers:(NSArray<UIViewController*>*)controllers;
  + (UIViewController *)rootViewController;
  @end
  
  @interface NSNumber (formatter)
  - (NSString *)formattedCurrencyNumber;
  @end
  
  @interface NSError (utilities)
  - (NSString*)localizedMidtransErrorMessage;
  @end
  
  @interface NSString (utilities)
  - (BOOL)isNumeric;
  - (NSString *)formattedCreditCardNumber;
  - (CGSize)sizeWithFont:(UIFont *)font constraint:(CGSize)constraint;
  - (NSString *)formattedCurrencyNumber;
  @end
  
  @interface UILabel (utilities)
  - (void)setRoundedCorners:(BOOL)rounded;
  @end
  
  @interface UIViewController (Utils)
  - (void)addSubViewController:(UIViewController *)viewController toView:(UIView*)contentView;
  - (void)removeSubViewController:(UIViewController *)viewController;
  @end
  
  @interface NSArray (Item)
  - (NSString *)formattedPriceAmount;
  @end
  
  @interface MidtransMaskedCreditCard (utilities)
  - (NSString *)formattedNumber;
  - (UIImage *)darkIcon;
  @end
  