There is currently an Array section in the iOS docs. Additionally, there is an Array section in both Objective-C and Swift. What are we supposed to do about this overlap?
Should the one in iOS be deleted?
There is currently an Array section in the iOS docs. Additionally, there is an Array section in both Objective-C and Swift. What are we supposed to do about this overlap?
Should the one in iOS be deleted?
In the case of arrays, I think it's pretty clear:
Array
is a Swift-type and documented in the Swift-Documentation. It has nothing to do with iOS or macOS (except that both OS use Swift ;-) ). You can use this type in Swift-programs on other platforms than iOS and macOS because it's not a part of the iOS/macOS-SDK.
That's why I would put Array
into Swift Language.
NSArray
is a part of Foundation, which implements the fundamentals of Objective-C. Although it only runs on iOS and macOS, I would put this into Objective-C Language, since it belongs to the basics of Objective-C.
iOS
docs, no reason why Arrays should be.
Swift Language
andObjective-C language
contain lots of information. Since arrays are features of the languages and NOT the OS, I would propose to keep the topics inSwift Language
andObjective-C
language.Cocoa
tag for everything what's shared on iOS and MacOS.cocoa
was added 2 hours ago. So you think we should move all topics about APIs toCocoa
that work on iOS and macOS but are not a fundamental part of Swift and Objective-C?iOS
since there are lot's of APIs exclusive for iOS (UIKit). But you are right. I don't think, new programmers would search there :-/ I'm not sure how we could solve it.