How to create a dialog like component that allows drop other controls inside it?

Take a closer look at TTabControl / TTabItem in the unit FMX.TabControl. This is your perfect example because it basically needs to solve the same problem. The following function is what you need to override: procedure DoAddObject(const AObject: TFmxObject); override; This is called when a control is added to your control. Override this function so … Read more

Delphi XE6 link C code in iOS

The code looks proper and your calling convention handling is, to my eyes, perfectly correct. I think you may have ran into a possible/rumoured bug in Apple’s ARM clang where calling a static function (which may happen behind the scenes e.g. for type conversion) from a static function may cause stack corruption. You’re not doing … Read more