Manage relations with ease in 4D for iOS

In a previous version of 4D for iOS, we introduced Many to One relations. 4D v18 completes the list of relations available in 4D for iOS by allowing you to easily build the most complete apps with the most engaging user experience you can get on a mobile phone!

HOW DOES IT WORK

All of your relations are now available in the Structure section. One to Many relations and related tables in your iOS app are displayed. Managing relations is very intuitive, to do so simply:

  • Publish the One to Many relations.
  • Drop the relation onto the detail form of your choice in the Forms section.

 

And that’s it! 4D for iOS does the rest for you! 

Take a look at the complete documentation about the relation definition process.

After building YOUr IOS APP

When you build your app, you’ll see that a new custom relation button (the Tasks list button in the image below) is available in the detail form you linked. This button allows you to navigate straight to the related table. And since we’re huge fans of customization, 4D for iOS allows you toeasily create and include your own custom relation button in your project.

 

blank

You’re also able to define the title in the Labels & Icons section to be displayed in the destination view and keep track of the view you come from. And of course, you can define a short and a long label, as well as an icon in the Labels & Icons section.

NAVIGATE BETWEEN RELATED VIEWS

In your 4D for iOS app, you will be able to easily navigate between your related views thanks to the new Card navigation feature available in iOS 13. You can then swipe from the top to the bottom to dismiss the current related views. Tutorials are available from the 4D for iOS doc center to guide you through the creation process.

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.