Copy one of Sina Weibo iOS clients-preface: Copy ios
Sina Weibo is one of the apps that are frequently used on various Internet platforms. It has a large number of users. At the same time, its app design also reflects the mainstream development trends of mobile apps. Therefore, the imitation of the app is also conducive to mastering the development technology of today's app. Let's Start copying our Sina Weibo project!
In this project, we will use features and technologies such as mainstream development architecture, OAuth authorized login, automatic layout, QR code scanning, Emoji text, custom image viewer, and database SQLite, coming soon!
I. Architecture
Currently, the basic architecture combination of TabBarController and NavigationController is widely used in mainstream multi-interface mobile app development, which makes the framework more reasonable and coordinated, such as Sina Weibo, therefore, we will also use this architecture during this imitation development.
Ii. OAuth login authentication method
Today, every Internet user has a large number of accounts. To reduce the number of accounts used, an authorization login method called OAuth is introduced. Taking Sina Weibo users as an example, users access Sina's OAuth server through their own Weibo accounts to obtain the authentication token, and then log on to a third-party app Based on the authentication token, you do not need to register with a third-party app. This method can indirectly reduce the number of accounts registered by users, reduce the risk of user information leakage, and expand the control and influence of large Internet companies on mobile applications. In this development, such a technology will be used.
3. QR code scanning
Nowadays, more and more apps are added with the QR code scanning function. Therefore, we need to add this function to our custom apps. Otherwise, we will be suspected of being outdated ...)
The implemented interface is basically like this:
The above section describes some of the new functions and architectures of this project. The development progress and introduction will be continuously updated. Stay tuned!