7 years iOS architect teaches you how to quickly improve and master iOS development core skills

Source: Internet
Author: User

Objective:

First of all, you need to spend some time on objective-c language learning, after all, this is the basis of iOS development (you can also try to use Swift, but this project is only for OC), programming routines are virtually the same, write more want more practice, about the environment is not described in this article, This part of the content can be self-Baidu or Google, there are corresponding instructions;

For a just getting started always want to have a complete project can be run directly, and learn how the functional module development; This project is to introduce the common function module, which also contains some basic knowledge of the introduction; If you can probably read the code in the project, For writing an iOS project should be no problem, the project also put the code used to organize, hope to help you;

As a developer, there is a learning atmosphere with a communication circle is particularly important, this is a My iOS communication group: 638302184, whether you are small white or Daniel Welcome to settle, share bat, a inside test, interview experience, discuss technology, we exchange learning and growth! Hope to help developers less detours.
Effect Show:

A: Overall project construction

In the project, the architecture and hierarchy of the code is relatively clear, can meet most of the small and medium-sized projects, the use of the traditional MVC model, for modules, resources, assistants, classification, macro definition files, etc. have a corresponding location to store; Of course, the project hierarchy is based on the project requirements, and personal preferences The project also defines a macro to differentiate between different environments and can add different environments as required;

Second: Common helper Code

In the project for some common function code has been encapsulated, can be used in the real project, to simplify the purpose of project culture, each assistant did not introduce each, you can download the source code for viewing;

Three: basic knowledge points

1:viewcontroller life cycle

2: Runtime knowledge usage includes some common examples of runtime, some simple introduction

3: Multithreading knowledge Application contains Nsthread multi-threading, GCD Multi-threading, Nsoperation Multi-threading, synchronous lock knowledge of various instances of implementation

How the 4:protocol implementation class is simply decoupled

5:block Memory release knowledge points common memory handling issues include block loops, object releases, and so on

6:tableviewdatasource Extract

7:cadisplaylink Knowledge Application

8:cashapelayer and Uibezierpath Knowledge application

9:cgcontext Knowledge Point Application

This module is a summary of some common iOS knowledge points, each base point has a corresponding example with code annotations introduced, especially about the runtime knowledge points, multi-threading, actions and other content, in the normal development process is more common;

Four: module knowledge points

1: Integrated Baidu Map (3.0.0 version), currently has Baidu positioning function (ThirdMacros.h modify the corresponding key value)

2: Integrated Friends League statistics (ThirdMacros.h modify the corresponding key value)

3: Integrated Cocoalumberjack logging

4: Introduce a third-party inputaccessoryview solution to add input responses for some controls that do not have an input source. such as buttons, cell, view, etc.

5: Integrated Push message push function (ThirdMacros.h to modify the corresponding key value), the certificate will also use your own message certificate;

6: Integrated Friends of the league to share the SDK, and on the landing page implemented (QQ, Sina) Three kinds of third-party login function (ThirdMacros.h modify the corresponding key value)

7: Integrated Friends third party sharing (QQ space sharing, friends Circle, Sina Weibo share, QQ Weibo sharing, friends)

8: Add the Display and view page about Cocoalumberjack log record

9: Add Baidu Map Display page function instance, realize on the map display several coordinate points, and customize the coordinates point icon with the popup content, realize the current position and draw the road map;

10: Add Flex, open in local beta version, Flex is an in-app debug Tool Flipboard officially released for iOS development that works well on simulators and physical devices, and developers don't have to connect to Lldb/xcode or other remote debugging servers. You can view or modify the status of a running app directly.

11: Add FCUIID Help class for acquiring device identity

12: Add hot update Jspatch plugin and add corresponding Help class and test function (Jspatchviewcontroller)

13: Integrated boot ad function module, if not function can be appdelegate inside the note off

14: Integrated Cyltabbarcontroller plug-in adds 4 Tabbar menus to the bottom of the project

15: Introduce Lkdbhelper and increase the creation of database helper classes to enable entities to map directly to database tables

16: Integrated boot page with first boot function module

17: Integrated Lbxscan plug-in, realizes QR code related function module, including sweep QR code display result, read QR code result from photo album

18: Package Mbprogresshud Extension class, define some common hints effect, see MBPROGRESSHUD+MP class

19: Development about image upload, including select photos, take pictures, browse large map, get picture GPs, picture name, picture photo time, upload to the picture to adjust, compress pictures, picture display effect

20: Development about the picture upload with the progress effect, and put the photos into the sandbox, upload successfully deleted, introduced M13progresssuite plug-in Display progress fan effect, part of the REACTIVECOCOA knowledge;

21: Write a iphone5 for the font adaptation screen, compatible with iphone6+ effect, if you are not iphone5, you can modify the corresponding macro definition, now is iphone5 as the standard

22: Write a UITableViewCell countdown function, instance because there is no server interface, so the time is based on local time, the official project time from the server to obtain;

23: Introduce Webviewjavascriptbridge for H5 interaction, and annotate the official website instance

24: Add three-level linkage of the province city help class, you can set the binding default value, you can also view the current pop-up state, and implement its small instance

25: Add custom Popup Help class, simulate system Uialertview effect, add a pop effect with Uitextview, other custom views are created according to the project;

26:yytext Rich Text example simple implementation about Yytext, and contains some small examples

27: List line expansion and the collection of the Hidden Implementation List group display, and then achieve the ability to show and shrink each group;

28: Common form single-line types of common forms of implementation, including input, selection, multi-line input, time selection;

29: Face recognition registration and verification of integrated identification SDK, the completion of human face recognition check-in effect;

30:javascriptcore Use the example of combining with H5 to complete the corresponding call effect.

31:masonry Layout Examples list some of the more common layout methods

32: Keyboard handling operation implements custom view height issues when keyboard pops up

33: Custom navigation bar Dynamic display effect can be achieved when scrolling to the navigation bar changes, monitoring about the changes in the scroll

34: List only load display when the Sdwebimage diagram implementation List of the cell is not loaded at the time of fast scrolling, the picture is loaded until it is stopped, and the image is optimized to show

35: Long Press the list line drag effect to implement a row in the list to pull dynamically, and insert to other position effect

36: Custom Date Popup control, filtering does not meet the maximum time and minimum time range;

This module is also the largest part of the project, which already contains the common function points, in fact, each is a real functional implementation; believe that these feature points are sufficient for you to develop an app, you can view each function point.

As a developer, there is a learning atmosphere with a communication circle is particularly important, this is a My iOS communication group: 638302184, whether you are small white or Daniel Welcome to settle, share bat, a inside test, interview experience, discuss technology, we exchange learning and growth! Hope to help developers less detours.
The article originates from the network, if has the infringement, please contact the small compilation to delete.

7 years iOS architect teaches you how to quickly improve and master iOS development core skills

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.