How to include UIColor picker in code-completion in Swift playgroundbook
How to include UIColor picker in code-completion in Swift playgroundbook
- Subject: How to include UIColor picker in code-completion in Swift playgroundbook
- From: John Michael Zorko <email@hidden>
- Date: Tue, 13 Feb 2018 19:55:56 -0800
Hello, all …
A friend and I are creating a playgroundbook that allows users to write code to
control, among other things, the color of an external device. We would like to
use the UIColor picker box in the code-completion bar above the keyboard, but
so far, the only way we know how to include it is to include everything, like
so:
//#-code-completion(everything, show)
While this certainly works, it includes a bunch of other stuff that is
overkill. Is there a way to specify, in addition to our own APIs (playSound()
and setLightColor(), just the color picker? Something like:
//#-code-completion(playSound(), setLightColor(), UIColor(), show)
Regards,
John
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden