iOS Tutorials

Visual Designer

VideoPlayer - Replaces VideoView

iUI8 library v1.50 includes a new VideoPlayer view. It replaces VideoView from iMedia library.

Apple has deprecated the API that VideoView was based on. VideoPlayer is based on the newer...
 

Attachments

  • VideoPlayerExample.zip
    2.2 KB · Views: 1,196
Last edited:

Video corso Preparazione ambiente di sviluppo B4i

Buongiorno,
vorrei condividere il corso gratuito "Preparazione ambiente di sviluppo per B4 IOS" .
Questo corso aiuta a preparare l'ambiente di sviluppo B4I ed il MAc per iniziare a...
 

Use Face ID Touch ID and Passcode

This is a short tutorial/code snippet on how to successfully implement Touch ID in your app.
Thanks to @Semen Matusovskiy for his code.

You need this OBJC Code
B4X:
#IF OBJC
#import...
 

UITableView LongClick Trigger

UITableView is a very powerful Listview. It loads items very fast and scrolling is very smooth. thanx to b4i it is also very customizable.

B4i support 5 Events for the UITableView:

B4X:
Sub...
 

Tutorial for PC

hello,
Is there a tutorial that explains step by step how to install B4i on a PC. Should we install Java and what libraries to install (because it requires the path). And after?
Thank you
 

Tip: on device logs

I'm not sure whether it is a new feature in iOS or I simply wasn't aware of it, but it is a very useful one.
Apparently you can access the crash logs from the settings app. This helps when you...
 

Third party antivirus interferes with b4i

Perhaps this is well known, if so sorry. My third party anti-virus software may have been interfering with B4i (worked fine on android!). I use AVAST and had to create an exception for B4i. After...
 

Textchanged difference between B4a and B4i

All,

I found an interesting difference between the textchanged event in B4a and B4i.

In B4a, EditText1_TextChanged will fire whenever the text is changed whether by User or in code

In B4i...
 

Test web back ends in your computer without fiddler and see what your app will post

 

TableView with custom items

iTableView v1.20 adds support for custom items.

Each TableCell includes a CustomView property. You can set a Panel with views to this property and the panel will be added to the cell...
 

Attachments

  • TableViewWithCustomItems.zip
    4.2 KB · Views: 1,475

TableView - Action (swipe) Buttons

TableView2 library extends TableView and adds support for action buttons.
The reason for the new library is that TableView2 requires iOS 8+.
You can download it here...
 

TableView - "B4i ListView"

The TableView view from iTableView library wraps the native UITableView control. This control is similar to B4A ListView though it is more powerful.
Do not confuse TableView with Table...
 
Last edited:

T3 - The Timer Tutorial

During the creation of Callosum, I used 7 different timer for everything from level transitions to the level countdown and overall count up timers.

Here's a simple summary of the steps to create...
 
Last edited:

Symbolicating app crash reports

Symbolicating a crash report

I will cover the steps required to symbolicate a crash report received from Apple.
The result is a readable stack trace.

It requires a local Mac.

The crash report is a text file that looks like...
 
Last edited:

Swift libraries

B4i supports libraries written in Swift and compiled as frameworks.
Note that adding swift frameworks makes the compilation process considerably more complicated and it is recommended to avoid...
 
Last edited:

Super small tutorial: Messing with #PlistExtra might get unrelated error

I was trying out what was possible to enter in #PlistExtra and tried adding a   to see if that worked:
B4X:
#PlistExtra:<key>NSLocationAlwaysUsageDescription</key><string>This is...
 

StoreKit2 - Server to Server communication with Apple servers - Clear purchases history for sandbox tester

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