The release of Delphi 10.4 Sydney is just around the corner. I’ve specifically been given permission to show updates and new features in the product, so let’s get to it..
Note: This is pre-release information
As such, any or all of it may change. Please check the What’s New when the product is officially released.
API enhancements and fixes
One of the things you may notice is that there have been fixes to existing APIs on macOS, and additions to APIs on macOS and iOS. In particular, there’s been a number of methods added to imports of Objective-C classes that developers have been asking for, such as for NSNotificationCenter and NSObject.
In Delphi 10.4 Sydney, the dependence on QTKit has now been totally removed – no more annoying warnings when uploading to the macOS App Store, and a couple of issues regarding permissions have now been solved.
Improvements to existing components
The implementation for TWebBrowser on macOS and iOS has now been migrated to use WKWebView. This means it now supports playing mp4 files from web pages that are navigated to, and there should be no more warnings when you upload your app to the store.
There are also improvements to TLocationSensor for iOS. 3 new properties have been added (all related to iOS only), namely:
- ActivityType – this property corresponds the to the activityType property for CLLocationManager on iOS
- UsageAuthorization – now you can specify what kind of usage is requested when starting TLocationSensor, i.e. Always and WhenInUse
- OnLocationUpdatesPausedChange event – this notifies when location updates “paused” state has changed.
Also, you should now find that location updates occur when the app is in the background, or when the app is not running, as long as you include location in UIBackgroundModes in the Project Options.
..and much, much more!
The above mentioned changes are just some of many. Please check the blogs of other MVPs, and product managers like Marco Cantu, Sarina Du Pont and David Millington, for more news about Delphi 10.4 Sydney.