Share the hottest ios information
Authorized reprint by Hans Hahaha
Swift has been out for more than two years. Before that, he had learned some knowledge sporadically, but he had no chance to use it in the project. Because his company pursues efficiency, he is afraid of prolonging the process in case of pitfalls. Recently, I went home to take a driver's license test. I just had time to fully learn Swift development. In order to give myself some motivation, I decided to emulate an app -- "Gift Talk".
This should be a relatively complete project. Later, it will involve network layer design. If any god thinks that which part of the code needs to be optimized or has a better solution, he can reply to me, and then he will sort out a better solution.
Swift2.0
Adapt to i4, i5, i6 models
Compatible with iOS 8.0 and above systems
Large department structure mode: autolayout+xib
Third parties used: SnapKit, MJRefresh, SVProgressHUD
Due to the lack of free time, the project is completed in three stages
Improve the UI of most parts (the code is simple, because it has not been intruded by the model and network, so it's good to practice with your face)
Improve the remaining UI and network infrastructure
Design communication between model, viewModel and network layer, and between viewModel and view
Use: (if pod is not installed: http://code4app.com/article/cocoapods-install-usage )
GitHub (project source code): https://github.com/HHuiHao/liwushuo [Give a star? Thank you!]
Use will to overcome body inertia!
This article is written by Ji Changxin Author, article address: https://blog.isoyu.com/archives/725.html
use Knowledge Sharing Attribution 4.0 International License Agreement. Unless the reprint/source is indicated, they are all original or translated by this website. Please sign your name before reprinting. Last editing time: July 15, 2016 at 07:43 am