An iOS, React Native and Rails Developer
請看上一篇GraphQL Evolution #1後,接下去看。
在擁有#1所提到的新功能後,我覺得我們可以走得更遠。
雖然GraphQL解決了Query的問題,但在處理Mutation上,甚至做得比RESTful API還糟。
GraphQL解決了很多REST API的問題,但在轉換到GraphQL的過程中,發現還是有許多不夠好的地方。
接下來將會依序提到以下的問題:
When we use UITableView, except for add table view’s dataSource and delegate, we may also add UIRefreshControl and UIActivityIndicatorView to the footer. And also load more data when scrolling to bottom.
When we have to initialize some local variables to setup UI in UIViewControllers, we may do things like
Normally you’ll listen keyboard events to change table view’s contentInset by this way
class MyViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad()…