TwitterAPIKit icon indicating copy to clipboard operation
TwitterAPIKit copied to clipboard

SwiftUI Example App

Open amirsaam opened this issue 2 years ago • 6 comments

Hey, Thanks for your great framework!

The only thing is, me (and many other I assume), we are not a StoryBoard & UIKit user and have (very) limited knowledge about them, personally I cannot read those correctly, can you please make a SwiftUI example? I'll appreciate it.

Regards

amirsaam avatar Oct 23 '22 19:10 amirsaam

Sorry for bothering, but will we see one?

amirsaam avatar Oct 30 '22 13:10 amirsaam

Thanks for the request. I would like to add a SwiftUI sample, although it is difficult to create one right away.

mironal avatar Oct 31 '22 12:10 mironal

Thanks for answering. There is no rush, I was just making sure about the possibility of it.

amirsaam avatar Oct 31 '22 12:10 amirsaam

Hi @amirsaam, As long as you can deal with MVVM pattern you'll have no problem implementing this library for your needs. I'm currently building an app in SwiftUI using TwitterAPIKit, holding the logic that I need from Twitter in a Manager class, (where I import this library) and injecting it to the proper view models. You can handle the asynchronism with async-await, completion handlers or in my case I'm using Combine. Hope it helps!

juanjovn avatar Nov 01 '22 07:11 juanjovn

@juanjovn Thanks for the explanation! Much appreciated.

amirsaam avatar Nov 01 '22 18:11 amirsaam

Any update for this?

amirsaam avatar Jan 06 '23 15:01 amirsaam