pEpObjCAdapterFramework/NSNumber+PEPRating.h
author Dirk Zimmermann <dz@pep.security>
Wed, 20 Mar 2019 16:40:35 +0100
branchIOS-1480
changeset 902 32760267cd59
parent 855 3b6826f819a2
permissions -rw-r--r--
IOS-1480 Avoid framework imports.
dirk@569
     1
//
dirk@569
     2
//  NSNumber+PEPRating.h
dirk@569
     3
//  pEpObjCAdapter
dirk@569
     4
//
dirk@569
     5
//  Created by Dirk Zimmermann on 13.04.18.
dirk@569
     6
//  Copyright © 2018 p≡p. All rights reserved.
dirk@569
     7
//
dirk@569
     8
dirk@569
     9
#import <Foundation/Foundation.h>
dirk@569
    10
dz@902
    11
#import "PEPTypes.h"
dz@902
    12
#import "PEPEngineTypes.h"
dz@835
    13
dirk@569
    14
/**
dirk@573
    15
 Extension for wrapping the engine's PEP_rating inside a NSNumber.
dirk@569
    16
 */
dirk@569
    17
@interface NSNumber (Extension)
dirk@569
    18
dz@835
    19
@property (nonatomic, readonly) PEPRating pEpRating;
dirk@573
    20
dz@835
    21
- initWithPEPRating:(PEPRating)pEpRating;
dirk@569
    22
dz@835
    23
+ (NSNumber *)numberWithPEPRating:(PEPRating)pEpRating;
dirk@570
    24
dirk@569
    25
@end