Jump to content

Dave Nottage

Members
  • Content Count

    1562
  • Joined

  • Last visited

  • Days Won

    36

Everything posted by Dave Nottage

  1. Dave Nottage

    %G equivalent in FormatFloat?

    %g can be used with the Format statement, e.g: Format('This is a float value: %g', [Value])
  2. Dave Nottage

    ios sdk version

    11.3 is backward compatible for devices that have at least iOS 14, possibly earlier
  3. Dave Nottage

    Testers needed for GExperts Instant Grep expert

    Not there for me. I'm assuming I'm doing something wrong ๐Ÿ™‚ I'll take a look at the code later...
  4. Dave Nottage

    Testers needed for GExperts Instant Grep expert

    Something is amiss for me: I'm building from r4065 and I can see files referring to Instant Grep, but there appears to be no menu item - is it not under the GExperts item? On a side note: is there a plan to make GExperts respect the IDE theme?
  5. Dave Nottage

    How do I execute code after FormShow ?

    Using a background thread is extremely normal.
  6. Dave Nottage

    IOS shared document path access

    I have added a demo to the HowTo repo that demonstrates how to achieve this. Please read the readme for instructions. Note that there is no special folder - it's a case of configuration in order to share files from the documents folder.
  7. Dave Nottage

    How to detect when a Form is active in Designer

    Thanks.. your ticket is the explanation I was looking for.
  8. Dave Nottage

    How to detect when a Form is active in Designer

    Just so I understand: why do you need to do this?
  9. Dave Nottage

    How to detect when a Form is active in Designer

    Can you explain this in another way? It sounds very confusing.
  10. Dave Nottage

    Help me to fix compilation error for iOS

    I always install macOS support anyway, so had not noticed. I haven't seen the requirement anywhere (as yet), so someone might want to report the issue ๐Ÿ˜‰
  11. Dave Nottage

    Rad 12 Beta - Link to News

    I was going to expand on it, but Uwe has done it! https://www.uweraabe.de/Blog/2023/10/04/tzipfile-improvements-in-delphi-12/
  12. Dave Nottage

    Help me to fix compilation error for iOS

    You mean it worked after installing macOS support? Compiling for iOS Simulator should not require it, as far as I know.
  13. Dave Nottage

    Help me to fix compilation error for iOS

    dsymutil.exe should be in the bin folder of your Delphi install, e.g. C:\Program Files (x86)\Embarcadero\Studio\22.0\bin If it is not, then it seems your install of Delphi did not complete correctly, which may mean you need to reinstall. Less drastic is perhaps uninstall iOS support and reinstall it using Tools | Manage Platforms
  14. Dave Nottage

    iOS 17, Delphi 11.3, TidTCPClient, CP1251

    I was looking at the wrong part of IdGlobal, i.e. line 2865 (in Delphi 11.3)
  15. Dave Nottage

    iOS 17, Delphi 11.3, TidTCPClient, CP1251

    If I understand correctly, the current beta of Xcode is relevant only to those developing for Vision OS - it is otherwise the same as the released version. Can you provide evidence that this is the case? Regardless, I'm not sure why Indy chooses to use its own function over the one in System.pas - the code for it is executed differently on iOS than on Windows.
  16. Dave Nottage

    TWebbrowser & camera permission

    After a bit of experimenting and searching around, it appears it's currently not possible. Here is one link relating to the issue: https://bugs.chromium.org/p/chromium/issues/detail?id=669492 I expect you'll need to implement photo taking in the app itself, and then when the user taps "Select Photo" or "Take A Photo" link in the TWebBrowser, they'll be able to select the image that has been taken.
  17. Dave Nottage

    macOS Sonoma and UI layout

    They're the only ones I have seen so far. On Facebook: https://www.facebook.com/groups/137012246341854 and https://www.facebook.com/groups/342580832556845
  18. Dave Nottage

    macOS Sonoma and UI layout

    I've seen similar issues reported on social media groups. I'll be testing it myself later
  19. Dave Nottage

    iOS 17

    Interestingly enough, that's exactly the fix that was reported here ๐Ÿ˜‰
  20. Your project appears to include a folder in its search path that contains the file Macapi.ObjectiveC.pas, which by default is in the source\rtl\osx folder in the Delphi install, but perhaps you have a copy of the file elsewhere. The fact that it reports: Undeclared identifier: 'SObjCClassRegistrationFailed' means that there's a mismatch between the Macapi.ObjectiveC.pas it finds, and the System.RTL.Consts unit, which contains the missing identifier.
  21. I have kept Kastri very much up to date, and I "officially" support the last 2 major updates, i.e. presently 10.4.x and 11.x. Rest assured that the same will apply to Delphi 12.
  22. Where did you have the idea that SharedFileName was a property of TShowShareSheetAction? This class supports sharing only images and text. If you want to share a file, you may be interested in this: https://github.com/DelphiWorlds/Kastri/tree/master/Demos/ShareItems
  23. Dave Nottage

    iOS 17

    No official fix as yet, however I have come up with the following workaround - Note: this has had no testing beyond a blank app: 1. Copy FMX.Platform.iOS from source\fmx into your project folder. 2. In the TApplicationDelegate.applicationDidFinishLaunchingWithOptions method towards the end, make the following change (i.e. add the one line of code indicated๐Ÿ˜ž // Creating window WindowManager := PlatformCocoaTouch.WindowManager; WindowManager.Window := TFMXWindow.Create(MainScreen.bounds); WindowManager.RootViewController := TFMXViewController.Create; // *** iOS17 SDK crash issue - Add the following line: *** WindowManager.RootViewController.Super.init; WindowManager.NativeWindow.makeKeyAndVisible; Note also that this measure is needed only if you are building against the iOS 17 SDK - it is not required when building against earlier SDKs.
  24. Dave Nottage

    iOS 17

    The In-App purchase issue might have been occurring only on earlier betas. Chris has extreme users ๐Ÿ˜‰
  25. Dave Nottage

    iOS 17

    Never mind - it seems debugging from Delphi is not possible for iOS 17 devices at the moment. I confirm that apps built against iOS 17 SDK crash on start. For now, you'll need to use an older SDK (e.g. iOS 16.4 SDK), if you had imported that earlier.
ร—