iOS Tutorials

Designer Script & AutoScale tutorial

Designer script feature allows you to write simple scripts that manage the user interface in the visual designer.

The main advantage of the scripts over the program code is that you can see the...
 

Porting (game) from B4A > B4i and the differences

Hello,

Last night I ported a small game (CLAUStrophobia) from B4A > B4i just to get used to B4i & IOS and to know the differences in the B4i language & OS.

As I ran into some issues and some...
 
Last edited:

Design Guidelines

DrawBitmapRotated over ImageView

The latest version of my Face Flashcards app (waiting for review) had one issue that was nagging me. I had used the designer to create an imageview called "flashCards", for which a randomly...
 

How to "Screenrecording"

You can record the screen of your device for free.
what you will need is an IOS8+ device and OS Yosemite on your mac

 

Static Modules and Classes

There are two types of modules in B4i: static modules and classes.

A class is a template. At runtime you can create any number of instances based on the class template.
Each instance will have...
 

Workaround for strange pause during installation

In the last week or two I encountered a strange pause which happened during full installations.

There were two symptoms:
1. The installation paused for a few seconds after it started.
2. It took...
 

[example] Coordinates Calculator source code

Attachments

  • Coordinates.zip
    55.5 KB · Views: 1,892

B4i Change Log (versions history)

Last edited:

Some findings about graphics and pixels

I begun 'learning' graphics in B4i, and found some differences between B4a and B4i based on an iPhone 6:

- There are no 'dip' values in B4i (perhaps not yet ?)

- On my iPhone 6...
 

Attachments

  • Drawing.zip
    2.7 KB · Views: 722
Last edited:

Bouncing smilay - Drawing with Canvas

A Canvas object allows you to draw over a view.

Canvas.Initialize expects a single parameter which is the target view.

You can then use the different drawing methods to draw over the view...
 

Attachments

  • Smiley.zip
    4.7 KB · Views: 1,238
Top