• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How to include UIColor picker in code-completion in Swift playgroundbook
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Custom font in IB doesn't work reliably
  • Next by Date: NSSecureCoding & NSAttributedString
  • Previous by thread: Re: Custom font in IB doesn't work reliably
  • Next by thread: NSSecureCoding & NSAttributedString
  • Index(es):
    • Date
    • Thread