Do you use them a lot outside of a Cocoa/UIKit context? Félix
> Le 6 janv. 2016 à 00:08:35, John Randolph via swift-evolution > <[email protected]> a écrit : > > Sorry if this is a repeat, but I’d like to suggest promoting certain structs > from Foundation to the Swift standard library. > > As an OS X and iOS developer, it sometimes seems that I work with > [GG|NS]Point, [GG|NS]Rect, and [GG|NS]Size almost as much as I use Float or > String. I’d love to see Swift’s standard library include Rect, Point, and > Size types, with bridging to make them “just work” with any UIKit or AppKit > API that expects their NS or CG equivalents. Maybe also typealias Frame and > Bounds to Rect while we’re at it. > > Thoughts? > > -jcr > > _______________________________________________ > swift-evolution mailing list > [email protected] > https://lists.swift.org/mailman/listinfo/swift-evolution
_______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
