It is currently Fri Oct 30, 2020 3:18 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: A Little advice Needed for MAC & iOS
PostPosted: Sun May 03, 2020 7:40 am 
Offline
Addict
Addict

Joined: Fri Aug 28, 2015 6:10 pm
Posts: 1131
Location: Portugal
Hi All,

Written a large programme that works seamlessly on both MAC and Windows with all the quirks of each one. It is a quite large DB using Sqlite.

PB always seems to have a get out of jail free card.

I now want to have part of this programme run on the iPAD this will be a simple flat file database hopefully using Sqlite with very simple displays of the data including images. The idea would be for the iPAD to connect to the MAC for the iPAD to grab the data needed.

I have seen Swift and others but I would appreciate just a few words on where to start, what to download etc. I am using a MacBook pro so would like to keep using this if possible to build the app for the iPAD.

Regards

CD

_________________
Any intelligent fool can make things bigger and more complex. It takes a touch of genius — and a lot of courage to move in the opposite direction.


Top
 Profile  
Reply with quote  
 Post subject: Re: A Little advice Needed for MAC & iOS
PostPosted: Sun May 03, 2020 10:33 am 
Offline
Addict
Addict
User avatar

Joined: Fri May 12, 2006 6:51 pm
Posts: 2687
Location: Germany
Xcode provides the development environment for IOS (iPad, iPhone).
I didn't start with it, but Swift its a good choice.

P.S.
The next point is that you can't access the database directly.
To access the database you need to run a server on Window or macOS which then accesses the database.
For example via strings (UTF8) with control characters STX ($02) and ETX ($03)

First step with swift ...
https://github.com/swiftsocket/SwiftSocket

_________________
My Projects ThreadToGUI / OOP-BaseClass / OOP-BaseClassDispatch / EventDesigner V3
PB v3.30 / v5.70 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace


Top
 Profile  
Reply with quote  
 Post subject: Re: A Little advice Needed for MAC & iOS
PostPosted: Sun May 03, 2020 6:49 pm 
Offline
Addict
Addict
User avatar

Joined: Sat Apr 26, 2003 8:26 am
Posts: 2991
Location: Planet Earth
Apple's developer site: developer.apple.com => developer.apple.com/develop

You can get Xcode in the AppStore, or in the download area of Apple's developer site (login using your Apple ID).

If you like to use the BASIC language, you may want to have a look at www.b4x.com => www.b4x.com/b4i. (Documentation => "SQLite library")
If you have a Mac, B4i is $59 (Standard) or $119 (Enterprise). Checkout the B4X Video Tutorials


Top
 Profile  
Reply with quote  
 Post subject: Re: A Little advice Needed for MAC & iOS
PostPosted: Mon May 04, 2020 10:19 am 
Offline
User
User

Joined: Fri Dec 06, 2013 11:57 am
Posts: 54
As you are programming in PureBasic, why not using SpiderBasic? It builds Javascript files from a lot of your normal PB code, then this Javascript files can be run directly in mobile browser or they can be compiled to a browser app for iOS/iPadOS and Android using Apache Cordova. It's a bit fiddling around at start, but it works.
If you have more professional use and need more speed or access to mobile libraries, but want to use some basic language for coding, have a look at B4i.
If you want really native programming use Apples Xcode/Swift.
A last alternative could be Xojo, but it is expensive compared to all others.

And just to add: if you want a real app and install it on a lot of (not your own) devices, you need an Apple developer account (99$/year)


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye