RMRColorTools-iOS icon indicating copy to clipboard operation
RMRColorTools-iOS copied to clipboard

Swift support feature request.

Open Visput opened this issue 10 years ago • 3 comments

It would be cool to have option to choose language for UIColor category: --objc - will generate Objc category to UIColor class. --swift - will generate Swift extension to UIColor class.

Do you have any plans for such kind of feature?

Visput avatar Nov 19 '15 03:11 Visput

We haven’t decided yet. I think we’ll do it later. But there is no deadline.

firmach avatar Nov 30 '15 17:11 firmach

I already changed it to support Swift. But I did it in dirty way: I just updated generator, so now it generates Swift extension. Flexible solution is to add option, so user can choose Objc or Swift. But I don't have enough time to do it. Any way you can find updated project in my fork, probably it will help you in future when you decide to implement it.

Visput avatar Nov 30 '15 18:11 Visput

Awesome, thank you!

firmach avatar Dec 07 '15 08:12 firmach