[DUG] Delphi XE2, iOS and ObjectiveC Question

DFoxcroft at ricoh.co.nz DFoxcroft at ricoh.co.nz
Tue Jun 19 06:46:58 NZST 2012


That sounds great... I have been trying for a while.... The Delphi side is 
no problem, and I have worked with ObjectiveC in XCode, but for some 
reason I am not "getting it" when it comes to making ObjectiveC code 
Pascal friendly in the Xe2/FPC space





Jolyon Smith <jsmith at deltics.co.nz> 
Sent by: delphi-bounces at listserver.123.net.nz
15/06/2012 10:23 a.m.
Please respond to
NZ Borland Developers Group - Delphi List <delphi at listserver.123.net.nz>


To
NZ Borland Developers Group - Delphi List <delphi at listserver.123.net.nz>
cc

Subject
Re: [DUG] Delphi XE2, iOS and ObjectiveC Question






Your question piqued my interest and from what I have seen from looking at 
the CFTPSample in the Xcode documentation, it seems that everything you 
need for FTP is in the CoreFoundation framework and doesn't involve Cocoa.

There are still some key things missing from the MacAPI.CoreFoundation 
"import" unit though (which itself - or rather the slew of include files 
it references - provides some examples of how to create import references 
for Objective-C functions etc).

The things missing for FTP support include things such as 
CFReadStreamCreateWithFTPURL and CFWriteStreamCreateWithFTPURL.


But as I say, you piqued my interest and so I am in the process of trying 
to port the Xcode CFFTPSample to XE2 as an exercise in identifying such 
gaps and how to plug them.

:)


On 14 June 2012 15:18, <DFoxcroft at ricoh.co.nz> wrote:
Thanks for that... Yes the question was incorrectly phrased. 
I need to add the ObjC header to the XCode side of the project, which 
compiles using FPC. 
The functions in the ObjC need to be exposed/extracted so that I can 
access them from the .pas unit/s 
Dave Foxcroft 
Senior Programmer 

Ricoh New Zealand Limited | 60 Stanley Street | Parnell | PO Box 68-024 | 
Newton | Auckland | New Zealand 
Phone: +64 800 80 76 76 | Fax: +64 9 368 6001 | Mobile: +64 21 801 086 
www.ricoh.co.nz 

        

        ISO 14001 Environmental Certification 
        One of the Global 100 Most Sustainable Corporations in the World 



This email message and any accompanying attachments may contain 
information that is confidential and is subject to legal privilege. If you 
are not the intended recipient, do not read, use, disseminate, distribute 
or copy this message or attachments. If you have received this message in 
error, please notify the sender immediately and delete this message. Any 
views expressed in this message are those of the individual sender, except 
where the sender expressly, and with authority, states them to be the 
views of Ricoh New Zealand Limited. Before opening any attachments, please 
check them for viruses and defects.

Ricoh New Zealand Limited and/or its employees shall not be liable for the 
incorrect or incomplete transmission of this email or any attachments, nor 
be responsible for any delay in receipt.

Scanned by MailMarshal - Marshal's comprehensive email content security 
solution. Download a free evaluation of MailMarshal at www.marshal.com


_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi at listserver.123.net.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-request at listserver.123.net.nz with 
Subject: unsubscribe
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi at listserver.123.net.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-request at listserver.123.net.nz with 
Subject: unsubscribe

Dave Foxcroft
Senior Programmer

Ricoh New Zealand Limited | 60 Stanley Street | Parnell | PO Box 68-024 | 
Newton | Auckland | New Zealand
Phone: +64 800 80 76 76 | Fax: +64 9 368 6001 | Mobile: +64 21 801 086
www.ricoh.co.nz

        

        ISO 14001 Environmental Certification
        One of the Global 100 Most Sustainable Corporations in the World
	
	


This email message and any accompanying attachments may contain information 
that is confidential and is subject to legal privilege. If you are not the 
intended recipient, do not read, use, disseminate, distribute or copy this 
message or attachments. If you have received this message in error, please 
notify the sender immediately and delete this message. Any views expressed in 
this message are those of the individual sender, except where the sender 
expressly, and with authority, states them to be the views of Ricoh New Zealand 
Limited. Before opening any attachments, please check them for viruses and 
defects.

Ricoh New Zealand Limited and/or its employees shall not be liable for the 
incorrect or incomplete transmission of this email or any attachments, nor be 
responsible for any delay in receipt.

#####################################################################################
Scanned by MailMarshal - Marshal's comprehensive email content security solution. 
Download a free evaluation of MailMarshal at www.marshal.com
#####################################################################################
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20120619/a7849a36/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 1842 bytes
Desc: not available
Url : http://listserver.123.net.nz/pipermail/delphi/attachments/20120619/a7849a36/attachment-0002.gif 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 3351 bytes
Desc: not available
Url : http://listserver.123.net.nz/pipermail/delphi/attachments/20120619/a7849a36/attachment-0002.jpe 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 1842 bytes
Desc: not available
Url : http://listserver.123.net.nz/pipermail/delphi/attachments/20120619/a7849a36/attachment-0003.gif 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 3351 bytes
Desc: not available
Url : http://listserver.123.net.nz/pipermail/delphi/attachments/20120619/a7849a36/attachment-0003.jpe 


More information about the Delphi mailing list