|
From: | Mathias Bauer |
Subject: | Missing implementations in NSScanner class |
Date: | Thu, 16 Jan 2014 15:52:16 +0100 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 |
Hi,I discovered that NSScanner misses some "scan..." methods. At least in one case it should be trivial to add it:
- (BOOL) scanInteger: (NSInteger *)value { long long result; BOOL ret = [self scanLongLong:&result]; if (value && ret) *value = (NSInteger)result; return ret; }
Would it be possible to add this as a patch? Regards, Mathias
[Prev in Thread] | Current Thread | [Next in Thread] |