uniapp ios native plug-in and hybrid development tutorial - the beginning

illustrate

Feedback from readers: I don’t know which articles to start learning uniapp ios plug-in development, there is no clear learning route

This article provides an answer. First of all, the articles in this series are carefully sorted by the author. If you want to learn the uniapp ios native plug-in development technology completely, it is recommended to browse in order of articles. Of course, if you have relevant development experience and are only interested in a certain technology implementation, you can also read it selectively. At the same time, if you find any shortcomings in the article, you can also leave me a message in the comment area.

Tutorial introduction

In this series of tutorials, I will take you from 0 to 1 to learn uni-app ios native plug-in development and native hybrid development. There are currently 9 articles in this series, the first 7 mainly explain the technical points related to the development of native plug-ins. The last two articles mainly explain how to implement the functions of applets in native applications through uniapp's uni applet SDK.

  • The first "uniapp ios native plug-in development (framework, cocoapods)" is the basic and introductory chapter for learning plug-in development. This article mainly explains two major knowledge points:
    First, it introduces two ways of plug-in development and the exploration of another way of creating plug-ins (cocoapods method) that is not given in the official documents.
    Second, one of the uniapp plug-in extension methods is introduced: Module type plug-in and its creation process and related technical points

  • The second "uniapp ios native plug-in development component" The extension method of Component is another plug-in development method besides the Moudle method. In addition to introducing the technical implementation of the Component plug-in in detail, this article also explains how to choose between the two methods during the development process. In what scenario should I choose the Module plug-in, and in what scenario should I choose the Component plug-in?

  • The third article "globalEvent event for uniapp ios native plug-in development" explains another technical point in the plug-in development process: event delivery. This technical point is relatively common for real-time event monitoring scenarios.

  • The fourth article "Plug-in Package Format (package.json) for uniapp ios native plug-in development" needs to be read intensively. This article explains how to assemble the plug-in according to the requirements after the development of the plug-in is completed 插件包. If it is not configured as required, the developed plug-in will not be recognized.

  • The fifth chapter "How uniapp ios native plug-ins import pictures and other resource files" is an extra chapter on the plug-in package format. It introduces how to place resources in the plug-in package if the imported plug-in contains resources. This is very important. If the location is wrong, related Plugin resources will not be found.

  • The sixth article "Two ways to debug custom native plug-ins in uniapp ios" After the plug-in is developed and the plug-in package is generated, how to test it? This article will explain the debugging aspects of the plug-in in detail.

Guess you like

Origin blog.csdn.net/zhanglei5415/article/details/129837155