tag:blogger.com,1999:blog-1853768304794693097.post7257559615881987893..comments2024-03-10T08:33:47.120-07:00Comments on It's a blong, blong, blong road...: Delphi for iOS - some notesblonghttp://www.blogger.com/profile/15865043713752235355noreply@blogger.comBlogger19125tag:blogger.com,1999:blog-1853768304794693097.post-10846434974871389282013-07-09T08:16:43.609-07:002013-07-09T08:16:43.609-07:00That is correct. The trial version did not have t...That is correct. The trial version did not have the source. This made it hard to really evaluate iOS development using Delphi as there were things I needed to do and couldn't.<br /><br />The source is supplied with the purchased versions.<br /><br />Great article, btw. CJ Stackhttps://www.blogger.com/profile/02032830270515089563noreply@blogger.comtag:blogger.com,1999:blog-1853768304794693097.post-89498451474349060042013-06-22T03:42:26.002-07:002013-06-22T03:42:26.002-07:00If you don't have the source, that suggests yo...If you don't have the source, that suggests you installed a trial version, I think. The full version has complete source code.blonghttps://www.blogger.com/profile/15865043713752235355noreply@blogger.comtag:blogger.com,1999:blog-1853768304794693097.post-52372231683892540732013-06-20T19:28:46.323-07:002013-06-20T19:28:46.323-07:00In the directory $(BDS)\source\ my Delphi has just...In the directory $(BDS)\source\ my Delphi has just DUnit folder. Do not have the folder FMX. Why is that?Rene Melohttps://www.blogger.com/profile/04567401915963266523noreply@blogger.comtag:blogger.com,1999:blog-1853768304794693097.post-76552437144114469752013-06-20T19:24:11.111-07:002013-06-20T19:24:11.111-07:00sorry, meant to be. PAS
I just sent an email to yo...sorry, meant to be. PAS<br />I just sent an email to you.<br /><br />ReneRene Melohttps://www.blogger.com/profile/04567401915963266523noreply@blogger.comtag:blogger.com,1999:blog-1853768304794693097.post-40891269040335174032013-06-20T01:08:18.506-07:002013-06-20T01:08:18.506-07:00I did throw something together, but it leaks an Ob...I did throw something together, but it leaks an Objective-C object. It works though, ignoring that issue. I wanna fix the leak when I get time, but if you send me an email (use the Contact Me page if you haven't got the email address) I'll send you what I currently have.blonghttps://www.blogger.com/profile/15865043713752235355noreply@blogger.comtag:blogger.com,1999:blog-1853768304794693097.post-78087439700649322912013-06-20T01:06:25.376-07:002013-06-20T01:06:25.376-07:00Not sure what SBP means, but that source file live...Not sure what SBP means, but that source file lives in $(BDS)\source\fmxblonghttps://www.blogger.com/profile/15865043713752235355noreply@blogger.comtag:blogger.com,1999:blog-1853768304794693097.post-69327700791959988552013-06-20T00:43:52.833-07:002013-06-20T00:43:52.833-07:00Dear Brian, could you at least tell me where I can...Dear Brian, could you at least tell me where I can find FMX.Platform.iOS.pas so I can study it?<br /><br />I'm not finding. SBP only. DCU.<br /><br />Thank you.<br />ReneRene Melohttps://www.blogger.com/profile/04567401915963266523noreply@blogger.comtag:blogger.com,1999:blog-1853768304794693097.post-48128146723426205022013-06-19T13:04:13.990-07:002013-06-19T13:04:13.990-07:00Hi Lachlan, no problem - I think it should be done...Hi Lachlan, no problem - I think it should be done now. Let me know if it hasn't worked.blonghttps://www.blogger.com/profile/15865043713752235355noreply@blogger.comtag:blogger.com,1999:blog-1853768304794693097.post-51237663308864782162013-06-16T20:36:09.956-07:002013-06-16T20:36:09.956-07:00Hello Brian,
I'd like to link to this article...Hello Brian,<br /><br />I'd like to link to this article from several areas of The TIndex but as you currently have it structured I can't link directly to the relevant sections. Any chance you could add HTML anchors to each of the headings?Lachlan Gemmellhttp://www.tindex.netnoreply@blogger.comtag:blogger.com,1999:blog-1853768304794693097.post-59007486102873349082013-06-16T04:40:01.828-07:002013-06-16T04:40:01.828-07:00Hi Rene, glad you found it useful. It requires pas...Hi Rene, glad you found it useful. It requires passing in an object to act as the alert view delegate and implementing the alertView:clickedButtonAtIndex: method. You can likely see Embo code doing it if you look at the iOS-specific implementation underlying MessageDlg.<br />I'll try and rustle up a small example in isolation, but I'm not sure when that will happen as I'm a bit tied up preparing a talk on something entirely different just now. If I get the code sorted, I'll post it separately.blonghttps://www.blogger.com/profile/15865043713752235355noreply@blogger.comtag:blogger.com,1999:blog-1853768304794693097.post-78071152954021091042013-06-13T19:45:35.445-07:002013-06-13T19:45:35.445-07:00Brian, you know how to capture inform the selected...Brian, you know how to capture inform the selected button in UIAlertView ?<br /><br />Thanks Brian. Great article!<br /><br />ReneRene Melohttps://www.blogger.com/profile/04567401915963266523noreply@blogger.comtag:blogger.com,1999:blog-1853768304794693097.post-12724660252502541852013-05-31T08:45:45.480-07:002013-05-31T08:45:45.480-07:00Thanks Brian. Great article!Thanks Brian. Great article!Erwinhttps://www.blogger.com/profile/06545496084313808689noreply@blogger.comtag:blogger.com,1999:blog-1853768304794693097.post-51515484512748766172013-05-31T02:41:05.668-07:002013-05-31T02:41:05.668-07:00Yes, that sounds familiar - I had a feeling I had ...Yes, that sounds familiar - I had a feeling I had seen a concrete reason for making the original comment in the first place. That's probably what it was :o)blonghttps://www.blogger.com/profile/15865043713752235355noreply@blogger.comtag:blogger.com,1999:blog-1853768304794693097.post-67295627703890313142013-05-31T02:12:58.654-07:002013-05-31T02:12:58.654-07:00We do keep you busy :-)
For the record, TObject.F...We do keep you busy :-)<br /><br />For the record, TObject.Free in System.pas contains this comment: "under ARC, this method isn't actually called since the compiler translates the call to be a mere nil assignment to the instance variable, which then calls _InstClear"<br /><br /><br />GielAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-1853768304794693097.post-75752522949122029542013-05-31T01:46:21.867-07:002013-05-31T01:46:21.867-07:00Yes, the codegen suggests I had it right in the fi...Yes, the codegen suggests I had it right in the first place - I've reverted it back.<br /><br />Note to self: always check before making changes...blonghttps://www.blogger.com/profile/15865043713752235355noreply@blogger.comtag:blogger.com,1999:blog-1853768304794693097.post-31055767333458778592013-05-31T01:37:40.293-07:002013-05-31T01:37:40.293-07:00Lol. I shall have to look at the code generated to...Lol. I shall have to look at the code generated to see for myself now I've had 2 conflicting comments on it. Maybe I was write in the first place :o)blonghttps://www.blogger.com/profile/15865043713752235355noreply@blogger.comtag:blogger.com,1999:blog-1853768304794693097.post-30574676666701530792013-05-31T00:49:06.249-07:002013-05-31T00:49:06.249-07:00Actually 'obj.Free' is identical to 'o...Actually 'obj.Free' is identical to 'obj := nil', so it decreases the refcount and sets the reference to nil.<br /><br />GielAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-1853768304794693097.post-1581958356521169942013-05-31T00:35:57.225-07:002013-05-31T00:35:57.225-07:00Bah!
Thanks for the correction, gabr.
It's qui...Bah!<br />Thanks for the correction, gabr.<br />It's quite frustrating as I had it written correctly, then saw something that suggested it was as you quote it, so changed it just before posting without checking...<br />That'll teach me :o)blonghttps://www.blogger.com/profile/15865043713752235355noreply@blogger.comtag:blogger.com,1999:blog-1853768304794693097.post-16871863256042218782013-05-30T23:48:00.132-07:002013-05-30T23:48:00.132-07:00"... in the NextGen compiler TObject.Free si..."... in the NextGen compiler TObject.Free simply sets the object reference to nil ..."<br /><br />Actually, FreeAndNil just sets the reference to nil, Free does nothing.gabr42https://www.blogger.com/profile/06903558857617342477noreply@blogger.com