Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 'uikit' command to import UIKit #258

Merged
merged 2 commits into from
Apr 6, 2019
Merged

Add 'uikit' command to import UIKit #258

merged 2 commits into from
Apr 6, 2019

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 <aungmoe12@yahoo.com>
@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