calloutview
calloutview copied to clipboard
convert to swift
would be super nice to convert this to swift. No?
Super nice for those with all-Swift projects; not so nice for everyone else :)
Do you think there could be a reason why its not possible to convert to swift?
What are the benefits to doing so in your view?
I see your point. Functionality wise I think it would not matter. Currently I am working on a full swift project and included the .h and .m file(s) and I am using a bridging header to use the obj-c code in my swift code. It works fine. However I try to get my project to only use native swift code :) so its more from an idealistic point of view I guess... Do you see any (other) advantages?
The only advantage I can think of is for all-Swift projects to be a bit cleaner. What are the downsides? What happens when you drag a swift file into an existing all-ObjC project?
If you drag a swift file in an objc project I dont know for sure what happens... Should test it...
I think there is bridge for swift to obj-c... https://developer.apple.com/library/prerelease/ios/documentation/Swift/Conceptual/BuildingCocoaApps/MixandMatch.html
There is section called "Importing Swift into Objective-C"