[swift-corelibs-dev] NSArray.descriptionWithLocale implementation
Documentation says what it checks for item to respond to specific selectors. There are no selectors in Swift, so new implementation should check for protocol conformance instead, I guess. Any ideas? Should new protocol be introduced? Class reference: https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSArray_Class/#//apple_ref/occ/instm/NSArray/descriptionWithLocale:indent : ___ swift-corelibs-dev mailing list swift-corelibs-dev@swift.org https://lists.swift.org/mailman/listinfo/swift-corelibs-dev
[swift-corelibs-dev] NSURL.fileSystemRepresentation implementation
As far as I understand NSURL is responsible for deallocating memory to which UnsafePointer returned from NSURL.fileSystemRepresentation points to. Could one use private buffer to store result for NSURL.fileSystemRepresentation or layout of this class should be the same as CFURL? Also NSFileManager has similar method fileSystemRepresentationWithPath, but I'm not sure about it because it allocates memory that is not freed in case of success. ___ swift-corelibs-dev mailing list swift-corelibs-dev@swift.org https://lists.swift.org/mailman/listinfo/swift-corelibs-dev