Using custom NSNumberFormatter to prevent errors on validation.

This commit is contained in:
michael starke
2016-08-24 11:46:50 +02:00
parent 7755bc9b93
commit d776d1d8a0
6 changed files with 105 additions and 70 deletions

View File

@@ -0,0 +1,16 @@
//
// MPNumberFormatter.h
// MacPass
//
// Created by Michael Starke on 24/08/16.
// Copyright © 2016 HicknHack Software GmbH. All rights reserved.
//
#import <Foundation/Foundation.h>
/**
* A variation of NSNumberFormatter, that always supplies a valid value. Ideal for usage in NSPopover
*/
@interface MPNumberFormatter : NSNumberFormatter
@end