CRUD and more in 4D for iOS

Automatically translated from English

CRUD (Create, Read, Update, Delete), a pillar of database actions, makes its debut in 4D for iOS in 4D v17 R6.

In 4D v17 R5, we introduced actions so you could better interact with your 4D for iOS apps. This included the ability to create actions to execute 4D code from your iOS apps. Things are getting even more interesting with this R-release, now you can easily manage and edit your app content using parameters.

Action PARAMETERS

The Actions section (in the Project Editor) has been redesigned to allow you to define action parameters and build iOS edit forms for each action.

 

The process is very simple:

  • Select an action
  • Create the parameters for the action
  • Define the properties for each parameter (e.g., name, label, format, etc.)
  • Create and edit the On Mobile App Action database method
  • Done! 

 

This will enable you to edit data directly in your iOS app using the edit form you defined in the Project Editor.

This feature opens a whole new world of possibilities and allows you to create more engaging and advanced iOS apps than ever before!

But wait! We have even more good news! We’ve also defined some preset actions and made them available for you!

PRESET actions

4D for iOS offers three types of preset actions to simplify the process of creating actions:

  • Add action – allows you to create all of the parameters you need with their properties already completed
  • Edit action – allows you to edit an entity
  • Delete action – allows you to delete an entity

 

And these three preset actions can be easily created from the Actions section:

Example

The documentation has been updated, and a tutorial is available to help you take your 4D for iOS applications to new heights!

David Azancot

• 4D for iOS Product Owner •

David Azancot joined the 4D Product team as a Product Owner in 2017. He's in charge of writing the user stories and translating them into functional specifications. His role also includes making sure that feature implementations meet customers' needs.

David graduated with an MBA in Marketing, Internet and Mobility from the Leonard De Vinci Institute and began his career in 2011 with a mobile start-up company, later acquired by Madvertise (a mobile marketing group). Passionate about mobile interfaces, he was the natural choice to develop interactive mobile ad formats for the group in 2015. In parallel, David has been developing his own iOS and Android applications since 2012.