mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-22 03:19:21 +00:00
Using custom NSNumberFormatter to prevent errors on validation.
This commit is contained in:
16
MacPass/MPNumberFormatter.h
Normal file
16
MacPass/MPNumberFormatter.h
Normal 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
|
||||
Reference in New Issue
Block a user