Sina Weibo is one of the most frequently used apps on every internet platform and has a large number of users, and its app design also reflects the trend of mainstream development of current mobile applications. So on this basis, the imitation of its app is also conducive to the development of today's app technology mastery. Start copying your own Sina Weibo project now!
In this project, we will use the mainstream development architecture, OAuth authentication authorization login, automatic layout, QR code scanning, emoji emoji, custom picture Viewer, database SQLite and other features and technology, please look forward to!
I. Architectural approach
At present, the mainstream multi-interface mobile app development, the general use of Tabbarcontroller+navigationcontroller basic architecture combination, making the framework more reasonable coordination, such as Sina Weibo, is also used in this way, therefore, We will also use this architectural approach in this one-copy development.
Second, OAuth login authentication method
Today, every Internet user has a large number of accounts, and in order to reduce the number of accounts used, there is a beginning to be called OAuth authorization login mode. To Sina Weibo users, for example, users access Sina's OAuth server via their Weibo account to obtain an authentication token, and then sign in to a third party app based on the authentication token without having to register separately with the third party app. This way can indirectly reduce the number of users registered account, reduce the risk of user information leakage, but also can expand the large Internet companies on the mobile application of control and influence. In this development, we will use such a technology.
Three or two-dimensional code scanning
Now more and more apps add QR code scanning function, so our custom app will naturally join this function, otherwise there is a suspicion of being outdated (laughter ...). )
The implementation of the interface is basically like this:
The above is part of the project's new features and structure of the introduction, follow-up development progress and introduction will continue to update, please pay attention!
Copy one of the Sina Weibo iOS clients-preface