iOS Tutorials

[Tool] Swifter - Inline Swift code support

Here you can find a new (experimental) tool called Swifter (v. 1.0 beta) which allows you to add Swift code to your B4i Project.

How to use?
  • Open Swifter and enter the B4i...
 
Last edited:

script mode

I try to do the tutorial at page 142 in B4i beginner's guide but i have the following error...

scrit-mode (read only)
click on the properties grid to exit this mode....

Where it is ????
Capture.JPG
 

đź’ˇ [B4X] [XUI] [B4XPages] Simple B4i stock ticker code using JSON REST API - Newer developers

Hello to you all,
Here is a simple example on retrieving data from a REST API requested using the JSON Generator (you could also use http URL download), the same JSON library is also used to parse...
 
Last edited:

Notifications with actions

SS-2018-12-20_16.03.33.png


It is possible to add a list of actions to the push notifications. The list becomes visible when the user 3d touches the...
 

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: 537
Last edited:

List of methods to access external resources or share to external apps

There are all kinds of ways to share files with other apps or access external resources. Here is a short summary of the available methods:

- ActivityViewController (iPhone library)...
 
Last edited:

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
 

DeviceCheck - uniquely identify iOS device

Hi,

in this tutorial (intended for advanced B4i user) I want to demonstrate how you can use the DeviceCheck framework (introduced with iOS 11) in order to uniquely identify an iOS device. I...
 

Attachments

  • DC_ServerExample.zip
    418.2 KB · Views: 571
  • JWT.jar
    442.4 KB · Views: 469
  • DeviceCheckServer.bas
    3.4 KB · Views: 484
  • DC_AppExample.zip
    2 KB · Views: 482
  • DeviceCheck.bas
    1.3 KB · Views: 492

iOS 9 important changes

iOS 9 includes several features which can break existing apps. Note that these changes will only affect your app after it was compiled with Xcode 7. For now this is only relevant if you are using...
 

Get screenshots for all iPhone devices for free and easily for use in AppStore

Hi every one,

Here is an easy usage guide for creating screenshots for AppStore Presence.

1) From b4i version 5.80 while working with the Hosted Builder there is the option Build Simulator...
 
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,058

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

ShowPage Animated

Based on @narek adonts answer here:

this is a ShowPage animation Code Module

B4X:
'Code module
Sub Process_Globals

End Sub

'Transition: 0 = cameraIris, 1 = cameraIrisHollowOpen, 2 =...
 

Error compiling b4i bridge

I get the following error when I try to compile the bridge app

"
B4i version: 2.51
Parsing code. (0.00s)
Compiling code. (0.02s)
Building designer app. (0.01s)
Building Xcode project (0.04s)...
 

Fast arrays access

B4i v5.0 adds several methods to the Bit object that provide very fast access to arrays.

In most cases there is no reason to use these methods as they are more cumbersome and less safe than the...
 

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:

B4A, B4i, B4J and B4r API documentation - B4X Object Browser

[B4X] Localizator - Localize your B4X applications

i think this one is missing from B4i forum.

This is Erel's class. Just copying it in B4i forum...
 

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:

(solve)tutorial to create provisional and production certificates for ios push notifications

hi, B4X is definitely the best platform to generate applications, but every time I go to work with push notification I panic because I can't get the way to create development and production...
 
Top