microsoft / AdaptiveCards

A new way for developers to exchange card content in a common and consistent way.
https://adaptivecards.io
MIT License
1.76k stars 550 forks source link

[iOS][Provide More Natural Dev Experiences for Swift Developers] #3468

Open jwoo-msft opened 5 years ago

jwoo-msft commented 5 years ago

What platform is your feature request related to? (Delete other platforms).

Describe the solution you'd like The newer iOS developers are more familiar with Swift, so we need strategy on accommodating this need. Since objective-c library can be co-oped with Swift code base via bridge header, this may not be a big concern, but we need to have a better solution for custom renderers. The custom renderer requires developers to interact with our c++ object model if values have to be read from json payload. This requirement may not be an issue to devs familiar with objective-c due to the language similarities and heritages, but it may be too burdensome to some swift developers.

ghost commented 4 years ago

This issue has been automatically marked as stale because it has not had any activity for 5 days.

gonzalezreal commented 4 years ago

Hi, I have been working on a Swift/SwiftUI Adaptive Cards decoder and renderer for the past few months, with good results so far.

It still lacks input elements but can render all the rest, and implements things like host configuration, fallbacks, and custom element rendering.

https://github.com/gonzalezreal/AdaptiveCardUI

I believe it can provide a more natural experience for Swift developers and serve as an opportunity to introduce this technology to other developer communities outside the Microsoft ecosystem.

Hope that helps! 😄

RebeccaAnne commented 3 years ago

@jwoo-msft is this issue still something you are using to track swift scenarios?