pEpObjCAdapterFramework/NSNumber+PEPRating.h
author Dirk Zimmermann <dz@pep.security>
Fri, 20 Sep 2019 10:01:48 +0200
branchIOSAD-141
changeset 1250 b6a4d30abd26
parent 902 32760267cd59
permissions -rw-r--r--
IOSAD-141 Test for "hammering" the engine.
     1 //
     2 //  NSNumber+PEPRating.h
     3 //  pEpObjCAdapter
     4 //
     5 //  Created by Dirk Zimmermann on 13.04.18.
     6 //  Copyright © 2018 p≡p. All rights reserved.
     7 //
     8 
     9 #import <Foundation/Foundation.h>
    10 
    11 #import "PEPTypes.h"
    12 #import "PEPEngineTypes.h"
    13 
    14 /**
    15  Extension for wrapping the engine's PEP_rating inside a NSNumber.
    16  */
    17 @interface NSNumber (Extension)
    18 
    19 @property (nonatomic, readonly) PEPRating pEpRating;
    20 
    21 - initWithPEPRating:(PEPRating)pEpRating;
    22 
    23 + (NSNumber *)numberWithPEPRating:(PEPRating)pEpRating;
    24 
    25 @end