Skip to content

Conversation

logicxd
Copy link
Contributor

@logicxd logicxd commented Mar 20, 2019

uikit Shortcut For e @import UIKit

Screen Shot 2019-03-19 at 11 40 51 AM

How This Helps

A lot of people face the issue of not being able to use UIKit types that comes with UIKit during a debugging session. To make it work, they could use e @import UIKit. However, this command is needed every time they start debugging and can get annoying to type. This shortcut reduces that into uikit with autocomplete.

Tests

I believe tests are not necessary for import. Let me know otherwise.

Possible Addition in the Future

This one just adds one command to the UIKit. In the future, someone may want to import Foundation for MacOS developers. But since I haven't developed for MacOS so I've omitted it here.

Copy link
Contributor

@kolinkrewinkel kolinkrewinkel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks for submitting!

Co-Authored-By: logicxd <[email protected]>
@kolinkrewinkel kolinkrewinkel merged commit ce29719 into facebook:master Apr 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants