Using native controls such as D.P.F. offers great performance once the app is launched even on an older device such as an iPhone 4, but the start up is still slow. I'm sure it is due to having to use the Firemonkey framework. Does anyone know of a way to speed up the start up time of an app when only D.P.F. controls are used and no visual Firemonkey controls are used?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I noticed this also (Iphone 3), I have many forms, The time it takes to create the forms must be the issue. I use DPFUIView's to show the form and slid them in an out, works quite fast, but like you say the initial loading of the form takes the time. I have made sure that my form does not draw like the tip in the install instructions, but it still takes a while and I'm not done yet.
Not sure if there are any time savings if one was to use FRAMES instead of forms... i'll have to experiment with this.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think it is still slow to start even with just one form. Maybe the only way to fix this is to figure out the minimum code required from the Firemonkey framework to use D.P.F. only.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, justapps
Do you follow the History.txt tips (override TForm.PaintRects) ?
This can be speed up loading time.
we can't separate FM controls with Native Controls, these two elements are combined.
Hi Tyson
The frame creating time lower than a form, you better to use frame instead of forms.
Regards
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I built an entirely new user on my Mac and installed XCode and setup all my certs again. I am making sure to add the code that you suggested the apps are launching in an acceptable time now. Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Does anyone use Frames now? With the lastest code (svn) I can't run anything that using Frames on device. In simulator everything works fine, but when I start the app on an iPhone 4 It quits after loading. I got the followings in the console (XCode / Window / Organizer):
My last message wasn't accurate. I did some testing, and It seems that I can't run any app on iPhone compiled with the last source. I restarted the iPhone, I killed all the apps, refresh the Framework files in Delphi, check for latest XCode but nothing. Then I reinstalled 3.0.0, and everything works fine.
Please verify it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Using native controls such as D.P.F. offers great performance once the app is launched even on an older device such as an iPhone 4, but the start up is still slow. I'm sure it is due to having to use the Firemonkey framework. Does anyone know of a way to speed up the start up time of an app when only D.P.F. controls are used and no visual Firemonkey controls are used?
I noticed this also (Iphone 3), I have many forms, The time it takes to create the forms must be the issue. I use DPFUIView's to show the form and slid them in an out, works quite fast, but like you say the initial loading of the form takes the time. I have made sure that my form does not draw like the tip in the install instructions, but it still takes a while and I'm not done yet.
Not sure if there are any time savings if one was to use FRAMES instead of forms... i'll have to experiment with this.
I think it is still slow to start even with just one form. Maybe the only way to fix this is to figure out the minimum code required from the Firemonkey framework to use D.P.F. only.
Hi, justapps
Do you follow the History.txt tips (override TForm.PaintRects) ?
This can be speed up loading time.
we can't separate FM controls with Native Controls, these two elements are combined.
Hi Tyson
The frame creating time lower than a form, you better to use frame instead of forms.
Regards
I built an entirely new user on my Mac and installed XCode and setup all my certs again. I am making sure to add the code that you suggested the apps are launching in an acceptable time now. Thanks!
Does anyone use Frames now? With the lastest code (svn) I can't run anything that using Frames on device. In simulator everything works fine, but when I start the app on an iPhone 4 It quits after loading. I got the followings in the console (XCode / Window / Organizer):
Can somebody try the Frames Demo on device?
Thanks
Last edit: Fenistil 2013-08-28
My last message wasn't accurate. I did some testing, and It seems that I can't run any app on iPhone compiled with the last source. I restarted the iPhone, I killed all the apps, refresh the Framework files in Delphi, check for latest XCode but nothing. Then I reinstalled 3.0.0, and everything works fine.
Please verify it.
I second that. I tried a few demo apps - they all crash when launched on the device. I will create a bug ticket.