NSNumber status


(Ian Partridge) #1

Hi,

The status document [1] says that NSNumber is fully implemented. The
class reference [2] states it has a stringValue variable, however I
cannot find the implementation of stringValue in NSNumber [3] and
attempting to reference it from my code fails.

Is this a mistake in the status document, or am I missing something?

Many thanks in advance.

[1] https://github.com/apple/swift-corelibs-foundation/blob/master/Docs/Status.md
[2] https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSNumber_Class/
[3] https://github.com/apple/swift-corelibs-foundation/blob/master/Foundation/NSNumber.swift

···

--
Ian Partridge


(Philippe Hausler) #2

Looks like that was just a minor omission; the demarkation of “fully” implemented is more to mean that there is an implementation that is usable and a good majority of it is there.

If there is something that is missing (it is hard to programmatically determine the full coverage) and you think you have a decent handle on implementing it, give it a shot and we can move from there.

···

On Feb 11, 2016, at 1:13 PM, Ian Partridge via swift-corelibs-dev <swift-corelibs-dev@swift.org> wrote:

Hi,

The status document [1] says that NSNumber is fully implemented. The
class reference [2] states it has a stringValue variable, however I
cannot find the implementation of stringValue in NSNumber [3] and
attempting to reference it from my code fails.

Is this a mistake in the status document, or am I missing something?

Many thanks in advance.

[1] https://github.com/apple/swift-corelibs-foundation/blob/master/Docs/Status.md
[2] https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSNumber_Class/
[3] https://github.com/apple/swift-corelibs-foundation/blob/master/Foundation/NSNumber.swift

--
Ian Partridge
_______________________________________________
swift-corelibs-dev mailing list
swift-corelibs-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-corelibs-dev