iOS Tutorials

DropboxSync Tutorial

Dropbox has dropped support for this API. It doesn't work anymore.

The iDropboxSync library allows you to use Dropbox Sync service to manage an app specific folder inside the user Dropbox...
 

Attachments

  • DropboxSync.zip
    52.2 KB · Views: 622
Last edited:

[Objective C] Writing libraries for B4i

B4i libraries are written in Objective C. You need to use a Mac with Xcode and you need to know Objective C.
From my experience it is more difficult to write B4i libraries compared to B4A / B4J...
 

Attachments

  • Libraries.zip
    101.8 KB · Views: 1,093
  • B4Ih2xml.jar
    98.2 KB · Views: 766
Last edited:

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...
 

B4i Change Log (versions history)

Last edited:

Loading B4i on Mac with Parallels and Windows 7

Thought I'd share this sequence of tasks on how to set up B4i from scratch - hope it helps anybody just starting.

1. Windows

1.1 Create a Keys Folder e.g. C:\Users\User1\Documents\B4i\Keys

1.2...
 

B4i Beginner's Guide

This guide is obsolete ! It is no more updated.
Please use the B4X Booklets.


Here is a B4i Beginner's Guide in pdf format.

The source code for the example programs is included.
It's...
 
Last edited:

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...
 

Multiple Pages Example

This example demonstrates how you can use a different code module for each page.

B4i structure (like B4J) is very flexible. Pages are regular objects like all other objects. You can use a single...
 

Attachments

  • ThreePages.zip
    7 KB · Views: 2,569

Reading and Writing PDF Documents

SS-2014-12-17_14.51.55.png


iOS has built-in support for reading and writing PDF documents.

The Canvas object allows us to display existing PDF...
 

Attachments

  • PDFReader.zip
    2.5 KB · Views: 1,755

Managing multiple certificates / provision files

This tutorial is only relevant after you were able to build and install B4i-Bridge.
If you haven't yet started with B4i then please go over these two tutorials instead:
Creating a...
 
Last edited:

Push notifications

Last edited:

LLCamera - Low level camera access

iMedia library v1.10 includes a new type of object named LLCamera. LLCamera provides low level camera access, similar to B4A Camera library. If you just want to allow the user to take a...
 

Attachments

  • CCTV-Client-B4i.zip
    4.4 KB · Views: 843
  • LLCameraExample.zip
    3.4 KB · Views: 792
Last edited:

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

 

Adding your settings to the default Settings app

By following the steps in this tutorial you can allow users to configure the various app settings in the default Settings app...
 

Attachments

  • SettingsCreator.jar
    246.5 KB · Views: 694
  • SettingsExample.zip
    2 KB · Views: 731
Last edited:

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...
 

Inline Objective C code

B4i v1.80 adds support for inline Objective C code. This means that you can add Objective C code to your modules and they will be compiled together with all other code.
You can then use...
 

Design Guidelines

iStore - In App Purchases

The iStore library allows you to use the store In-App Purchases features inside your app.
You can let the user purchase digital products from inside your app.

(Unsurprisingly) the configuration...
 
Last edited:

Monitor the device attitude (orientation) and acceleration with Motion object

iPhone library v1.30 includes a new type named Motion. With this object you can monitor the device orientation and acceleration (similar to B4A PhoneSensors).

The Motion object doesn't raise...
 

Attachments

  • MotionExample.zip
    4.1 KB · Views: 749

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:
Top