Tuto WINDEV Mobile 25
Part 3: iOS application 59 Note about the assisted input : As soon as the first two characters are typed, WINDEV Mobile proposes all words of WLanguage vocabulary containing these characters. The assisted development is a very powerful feature. No more mistakes when entering the name of an element: the syntax errors are reduced. All you have to do is select the requested word and press Enter to validate. You can focus on the algorithm. Remark When typing this WLanguage code in the code editor, you probably noticed that the different elements use different colors. This is the syntactic coloring. The code editor allows you to easily identify the different elements handled by the code: • the WLanguage functions are colored in blue, • the character strings (between quotes) are colored in purple, • the names of controls are colored in cyan. These colors can be modified element by element in the options of code editor (on the "Home" pane, in the "Environment" group, expand "Options" and select "Options of the code editor"). Info displays the message passed in parameter. ▶ Save the modifications by clicking among the quick access button (on the left of ribbon) or by pressing Ctrl + S. ▶ Close the code editor (cross at the top right of code editor). The window re-appears. First test For an iOS application, WINDEV Mobile offers several types of tests: • Project or window test on the development computer using the simulation mode . This test simulates an iOS device on the development computer. This test is useful when the developer does not have a Mac or an iOS device to compile the application. However, this test does not allow you to use the hardware components of device (GPS, SMS, camera, etc). • Project test directly on the device . This test is useful when the developer does not have a Mac to compile the application. All the components of the device are accessible. ▶ We will now run the window test in simulation mode. 1. Click among the quick access buttons (or press F9). 2. Validate (if necessary) the information message regarding the simulator mode. 3. The created window is started in execution, in a shell corresponding to the selected device (iPad or iPhone). 4. Click the "Display" button. 5. Validate the system window that is displayed.
Made with FlippingBook
RkJQdWJsaXNoZXIy NDQ0OA==