After mastering the basic concepts of iOS, we started to get started with the topic. We started to use sup, which provides very powerful development functions. We can use it to generateCodeTo develop offline mobile apps.
The basic process is to first create an MBO object, then generate the object API code based on the MBO, and then copy the code to the development environment, finally, add the UI interface and business logic we need.
Here, I used the example in the sup help document to generate an MBO object through the table customer table in the default sampledb database provided by sup, and then select to generate the Objective C code.
Then copy the generated code to xcode, and then we started to play a role in our previous homework. We were skilled in adding a tableview and detailview, and there were several buttons, the most basic query, creation, and modification of background data are achieved.
As sup serves as the middleware and completes most of the Framework transaction processing, we need to add the UI, so it is very convenient.