Quelle est la bonne façon d'utiliser une catégorie Objective-C dans Swift?

Je suis en train d'importer certaines catégorie de méthodes dans mon Swift fichier sans aucune chance.

ios-un pont-d'en-Tête.h:

#import "UIColor+Hex.h"

UIColor+Hex.h

#import <UIKit/UIKit.h>

@interface UIColor (Hex)

+ (UIColor *)colorWithHex:(NSUInteger)hexInt;
+ (UIColor *)colorWithHexString:(NSString *)hexString;

@end

J'attendrais la saisie semi-automatique pour révéler UIColor(hexInt: NSUInteger) et UIColor(hexString: String)

source d'informationauteur sevenflow