1. I thought about this project yesterday, there are three parts, the first part is based on the aggregation of online data for a query function, the second part is XMPP chat function, the third part is more features.
2. Online query function, the main use of the technology is a GET request or a POST request, this online query function, we use the aggregation of the SDK, has its own API, so we need to do some of the requested class.
3.xmpp chat function, mainly used in the XMPP protocol, framework we use iOS xmppframework-master this open source project, detailed features, I will consider in detail.
4. More features, such as every app will have some settings and other functions, this also need to think about the function.
5. Interface words, there are 3 ways to do, code, Xib,storyboard these 3 ways, ipad I choose Xib to do, Identity Butler project I choose Code +xib to do, iphone project I chose Storyborad.
My feeling is.
1). The code flexibility is relatively high, for people who used to like to use code to draw the interface, may be more comfortable with the code, but now the iphone has a big screen, need to do some adaptation, then use the code to do, you need to do some restrictions in the background, I used the VFL and ordinary constraints, the amount of code more, And more prone to error, especially the VFL.
2). Before storyboard comes out, Xib is dragging the controls on the interface and then adjusting the interface. After storyboard out, later projects can use storyboard to replace the xib.
3). As for Storyborad everybody, have the interest to be able to own Baidu, we this project uses storyboard to do, the interface is very convenient.
6. The interface of the homepage is
7. Next, we'll do a function menu on the first interface. I first say the next menu, that is, 3 children per line, as to how many sub-items, this does not matter, the data source can be added by itself. The next interface, similar to the 51job home page.
Ios Project developing MVVM pattern from scratch (ii)