简体   繁体   English

快速坐标系视图

[英]Swift Coordinate System View

I recently checked out the Swift Playgrounds App available inside the App Store where I stumbled across this interactive coordinate system view similar to the one that can be found inside of Xcode playgrounds on the Mac. 我最近检查了App Store中提供的Swift Playgrounds App,在其中偶然发现了这种交互式坐标系视图,类似于在Mac上的Xcode游乐场中可以找到的视图。

斯威夫特游乐场

My question is if this framework is accessible for developers or if it's something Apple developed internally for the playground? 我的问题是,该框架是否可供开发人员使用,或者是Apple内部为游乐场开发的?

Thanks in advance. 提前致谢。

It seems like apple is using it internally. 好像苹果公司在内部使用它。 But you can build it yourself see this blogpost for inspiration. 但是您可以自己构建它,请参阅此博客文章以获取启发。 However it's written in Swift 3 but it should be easily transferable to Swift 4. 但是它是用Swift 3编写的,但应该可以轻松地转移到Swift 4。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM