blob: 56a584fc0b26d1dd6ff5e6b832df2cb1316ca9fe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
//
// NSNumber+NumberType.h
// SmartDeviceLink-iOS
//
// Created by Joel Fischer on 11/19/15.
// Copyright © 2015 smartdevicelink. All rights reserved.
//
#import <Foundation/Foundation.h>
/**
* A declaration that this NSNumber contains an NSInteger.
*/
@protocol SDLInt
@end
/**
* A declaration that this NSNumber contains an NSUInteger.
*/
@protocol SDLUInt
@end
/**
* A declaration that this NSNumber contains a BOOL.
*/
@protocol SDLBool
@end
/**
* A declaration that this NSNumber contains a float.
*/
@protocol SDLFloat
@end
@interface NSNumber (NumberType) <SDLInt, SDLUInt, SDLBool, SDLFloat>
@end
|