Management method of IOS system derived projectTechnical Field
The invention relates to software project management, in particular to a management method of derivative projects of an IOS system.
Background
With the rise of IT technology, more and more industries adopt an online platform mode to operate at present, so that various software platforms/software systems are generated, and currently, independent development and design are often performed for different projects to meet design requirements. But there is some commonality between items or some system modules are common, which results in repeated development of many system modules, which undoubtedly increases the work of developers. In order to solve the technical problem, a system similar to a software product quick construction system is proposed at present, a plurality of parent functional modules required by software are compiled in a partitioning mode and then combined to realize a new function, although the design solves the problem of developing repeated compilation, software platforms constructed by the method are also enabled to be uniform and lack corresponding characteristics, and simultaneously, the generated software can only run independently and cannot be switched with each other, namely, the function of a project platform is fixed and cannot be switched correspondingly.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides a management method of derivative projects of an IOS system, which is used for deriving related project platforms on the same project platform, enabling one project platform to serve as a main project and the other project platforms to serve as derivative projects, converting the main project platform and the other project platforms in an operation mode, and realizing the difference realization of the derivative projects by using a debug mode and a project macro, thereby solving the problem of complex management of one derivative project and one file.
The purpose of the invention is realized by the following technical scheme:
a method of managing IOS system derived items, the method comprising:
1): creating a parent framework and a parent functional module of a parent project so that the parent framework and the parent functional module can normally run;
2): creating one or more derivative functional modules for each parent functional module, and establishing a one-to-one mapping relation between each parent functional module and each derivative functional module;
3): and calling the derivative function module in the debug mode to perform corresponding replacement on the parent function module, and performing corresponding debugging in the replacement process until the derivative function module can stably run to generate a corresponding derivative item.
Further, the derivative functional modules in 3) are replaced in batch, that is, the parent functional modules in the parent framework are replaced synchronously at the same time.
Further, in the replacement process, the replacement is performed according to a mode of array combination.
Further, after the corresponding derivative item is generated, a file table is created for all the derivative function modules corresponding to the derivative item, and the file table is used for storing all the derivative function modules.
Further, the project is switched from the running mode to the debug mode, so that conversion between the parent project and the derivative project is achieved.
The invention has the beneficial effects that: compared with the traditional software platform, the method and the system have the advantages that the derivative function module is introduced, the derivative function module under the project is subjected to macro processing in the debug mode, derivative from the main project to the derivative project is achieved, the same parent project (main software) can have a plurality of derivative projects, and the debug mode is used for cutting pictures, so that switching between the main project and the derivative projects is achieved, and one platform has a plurality of platform functions.
Drawings
FIG. 1 is a schematic flow chart of the present invention.
Detailed Description
The technical solution of the present invention is further described in detail with reference to the following specific examples, but the scope of the present invention is not limited to the following.
Referring to fig. 1, a method for managing a derivative project of an IOS system includes:
1): creating a parent framework and a parent functional module of a parent project so that the parent framework and the parent functional module can normally run;
2): creating one or more derivative functional modules for each parent functional module, and establishing a one-to-one mapping relation between each parent functional module and each derivative functional module;
3): and calling the derivative function module in the debug mode to perform corresponding replacement on the parent function module, and performing corresponding debugging in the replacement process until the derivative function module can stably run to generate a corresponding derivative item.
Optionally, a management method for derivative projects of the IOS system, 3) the derivative function modules in the system are replaced in batch, that is, each parent function module in the parent framework is replaced synchronously at the same time.
Optionally, in the replacement process, the replacement is performed according to a mode of a series combination, that is, a combination of any derivative function module is completed, so that different derivative items are realized, and meanwhile, expansion can be performed according to needs.
In another aspect, to implement extensions, an extension interface is configured for the project to facilitate adding or updating derivative function modules to implement different derivative project designs.
Optionally, in the management method for the derivative project of the IOS system, after the corresponding derivative project is generated, a file table is created for all the derivative function modules corresponding to the derivative project, and the file table is used for storing all the derivative function modules.
Optionally, a method for managing a derivative project of an IOS system switches a project from an operation mode to a debug mode, so as to implement conversion between a parent project and the derivative project.
The foregoing is illustrative of the preferred embodiments of this invention, and it is to be understood that the invention is not limited to the precise form disclosed herein and that various other combinations, modifications, and environments may be resorted to, falling within the scope of the concept as disclosed herein, either as described above or as apparent to those skilled in the relevant art. And that modifications and variations may be effected by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.