Home/Blog/

Performing background fetches on iOS

By | 2017-02-16T18:02:35+00:00 June 18, 2016 5:46 pm|Code tips, Patches|

This article relates to any version of Delphi (or at least it should work) that can target iOS 7 or greater. The demo project was created using Delphi 10.1 Berlin. There's been the odd post to the Embarcadero forums as well as on StackOverflow about how to implement background fetches on iOS. Partly because it's [...]

Allowing an iOS app to run in the background

By | 2016-05-26T17:31:37+00:00 May 26, 2016 5:24 pm|Code tips, Patches|

NOTE: This article is about allowing your iOS app to run when it goes into the background (i.e. another app becomes active) for a short period (up to 3 minutes on iOS 9, at least). It does not relate to having the UIBackgroundModes option, an example of which is here. As some of you will [...]

Building OpenSSL dylibs for iOS simulator

By | 2017-02-16T18:02:35+00:00 March 5, 2016 9:33 am|Code tips, Patches, Resources|

NOTE: This article relates to using dylibs with iOS simulator only. If you're building your app for iOS device, you should link against the static libraries. See this link. Firstly, a couple of thanks: To Doron Adler, who created a fork of a script, of which mine is based on, and who gave some very [...]

A leg up for using ALAssetsLibrary in Delphi

By | 2017-02-16T18:02:35+00:00 January 29, 2016 8:43 pm|Code tips, Project tweaks|

Some time back, someone asked on the Embarcadero forums about using ALAssetsLibrary from the Assets Library framework in iOS with Delphi. I was curious because I thought I may be interested in using it myself. It seemed relatively simple enough: create an Assets Library instance (TALAssetsLibrary from the iOSapi.AssetsLibrary unit), enumerate the groups, and for [...]

Some stuff about Delphi 10 Seattle

By | 2017-02-16T18:02:35+00:00 November 19, 2015 7:08 pm|Uncategorized|

This isn't quite what I'd call a review; it's more like: I've been using Delphi 10 Seattle for a while now, and this is what I've liked, or found interesting :-) I've been very slightly behind the changes that have been happening with Delphi, so forgive me if I mention something that was included in [...]

Moving controls into view when the virtual keyboard is shown, revisited

By | 2017-02-16T18:02:36+00:00 November 19, 2015 6:16 pm|Uncategorized|

Just over 2 years ago, I posted this article: http://delphi.radsoft.com.au/2013/10/moving-controls-into-view-when-the-virtual-keyboard-is-shown/ Well, a little water has passed under the bridge since then, in terms of the changes to Delphi (I think I used XE5 for that article?), and in terms of my thinking. A recent task at work had me thinking there could be a more [...]

Fixing a detail insert bug in FireDAC with LiveBindings

By | 2017-02-16T18:02:36+00:00 April 23, 2015 8:19 am|Code tips, Patches|

I've recently started a project in Delphi XE8 that has me using Delphi a lot more again. It's designed to be cross-platform, however for now the GUI side uses VCL controls, so the initial iteration is going to be restricted to Windows. I'll be re-using the back end however, so FireDAC was chosen for database [...]

Show Buttons
Hide Buttons