You are viewing a single comment's thread from:

RE: SwiftyConnect - Steemconnect for iOS - More Helpers & Bugfixing

in #utopian-io7 years ago

That's pretty, I wonder why don't you use AnyObject instead of Any.
And while you implement comments I just want to remind comment_options in case if you forget it somehow. https://github.com/steemit/steem-js/blob/09213cb7954ec849bf2db4592a57ae0e0def9950/test/comment.test.js#L21-L57

Sort:  

Hey man,
Honestly I forgot about comment_options... thanks for mentioning them. I will add them directly into the next update!

Also there is no big reason that I am using Any instead of AnyObject. AnyObject is just more specific and I am unsure if it could lead to errors, so I have chosen Any.

But I am open to enhancements, so I will check if AnyObject could make sense :))

Sounds nice, I once tried to do it for steem API, I just couldn't handle those JSON responses and those many optionals :) I hope it won't bother you on your journey.