Forum > iPhone/iPad

iOS application development tutorial

<< < (2/3) > >>

Phil:

--- Quote from: jwdietrich on January 30, 2018, 12:39:30 am ---Are these projects not more than vaporware?

--- End quote ---

The word you're wanting is "abandonware." And one of them does not have anything to do with Lazarus, per se, which is was what was asked.

More abandonware:

https://macpgmr.github.io/ObjP/ObjP_Intro.html

An approach that might actually work would be to use Xcode as described here:

https://macpgmr.github.io/ObjP/ProjectXC.html

One key to getting iOS development right is to get the UI design to be flexible enough to fit all the various iOS device sizes. That means using Xcode, not Lazarus. Sorry.

jwdietrich:
Well, I couldn't know that you gave up some of your projects. What I realised, however, is a confusing variety of (mostly unfinished) approaches. Therefore, a tutorial would have been (and would be) welcome.

I will give ProjectXC a try, but that it "might work" is not very encouraging (given my chronic lack of time).

Phil:

--- Quote from: jwdietrich on January 30, 2018, 01:05:22 am ---Well, I couldn't know that you gave up some of your projects. What I realised, however, is a confusing variety of (mostly unfinished) approaches. Therefore, a tutorial would have been (and would be) welcome.

I will give ProjectXC a try, but that it "might work" is not very encouraging (given my chronic lack of time).

--- End quote ---

ProjectXC doesn't have any templates for iOS development, although that would be a possibility.

Another approach would be to do the UI with Swift. Think of Swift as the UI language of iOS the way Javascript is the UI language of Web apps. Then put common Pascal code in a dynamic library and call it from the Swift code. Swift can digest any header file (.h) for C and Obj C libraries and frameworks. If the Pascal dynamic library has a C interface and a header file, then you're good to go.

skalogryz:

--- Quote from: Phil on January 30, 2018, 01:09:39 am ---Another approach would be to do the UI with Swift. Think of Swift as the UI language of iOS the way Javascript is the UI language of Web apps. Then put common Pascal code in a dynamic library and call it from the Swift code. Swift can digest any header file (.h) for C and Obj C libraries and frameworks. If the Pascal dynamic library has a C interface and a header file, then you're good to go.

--- End quote ---
That defeats the benefits of Pascal being cross-platform.
Why learn pascal, if in the end you've to learn C/ObjC or Swift any way?!

I can accept that approach on an earlier stage of development - back in a days, when there were no Objective-Pascal.
But, with objective-pascal such language mix looks redundant

GillesH:
Hello,
actually, I don't know how to start. But maybe Lazarus doesn't make it possible to do...

My lazarus projects are currently targeted  for Windows, Linux and OS X  in which I use TMS Software components. However, this TMS FNC Controls can be simultaneously used on these operating systems: [...], iOS, [...]. I'm obviously putting them in TForms and of course, exclusively in Lazarus Tforms (and not UI Xcode). Is this approach possible in the case of an iOS application produced with Lazarus or does it mean that these components can only be used with Firemonkey ?

Regards. Gilles

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version