<font size=2 face="sans-serif">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</font>
<br>
<br>
<font size=2 face="sans-serif"><b>Dave Foxcroft</b></font>
<br><font size=2 face="sans-serif">Senior Programmer</font>
<br>
<br><font size=1 color=#808080 face="sans-serif">Ricoh New Zealand Limited
| 60 Stanley Street | Parnell | PO Box 68-024 | Newton | Auckland | New
Zealand</font>
<br><font size=1 color=#808080 face="sans-serif">Phone: +64 800 80 76 76 | Fax: +64 9 368 6001
| Mobile: +64 21 801 086</font>
<br><a href=http://www.ricoh.co.nz><font size=1 color=#808080 face="sans-serif"><u>www.ricoh.co.nz</u></font></a>
<br>
<br>
<table width=100%>
<tr>
<td width=56%><font size=2 face="sans-serif">
</font><img src=cid:_1_08DD394008DD36180077850FCC25797F width=140 height=19>
<br>
<br><font size=1 face="Arial"><b> ISO 14001
Environmental Certification</b></font>
<br><font size=1 color=#808080 face="Arial">
One of the </font><a href=http://www.global100.org/><font size=1 color=#808080 face="Arial"><u>Global
100</u></font></a><font size=1 color=#808080 face="Arial"> Most Sustainable
Corporations in the World</font>
<br>
<td width=43%>
<div align=right><img src=cid:_2_08DD4CB808DD48B80077850FCC25797F>
<br></div>
<tr valign=top>
<td colspan=2></table>
<div align=right>
<br></div>
<font size=1 color=#808080 face="sans-serif">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.<br>
<br>
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.<br>
</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Jolyon Smith <jsmith@deltics.co.nz></b>
</font>
<br><font size=1 face="sans-serif">Sent by: delphi-bounces@listserver.123.net.nz</font>
<p><font size=1 face="sans-serif">15/06/2012 10:23 a.m.</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
NZ Borland Developers Group - Delphi List <delphi@listserver.123.net.nz></font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td valign=top><font size=1 face="sans-serif">NZ Borland Developers Group
- Delphi List <delphi@listserver.123.net.nz></font>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td valign=top>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td valign=top><font size=1 face="sans-serif">Re: [DUG] Delphi XE2, iOS
and ObjectiveC Question</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=3>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.<br>
<br>
There are still some key things missing from the <i>MacAPI.CoreFoundation</i>
"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).<br>
<br>
The things missing for FTP support include things such as <b>CFReadStreamCreateWithFTPURL</b>
and <b>CFWriteStreamCreateWithFTPURL</b>.</font>
<br><font size=3><br>
<br>
But as I say, you piqued my interest and so I am in the process of trying
to port the Xcode <i>CFFTPSample</i> to XE2 as an exercise in identifying
such gaps and how to plug them.<br>
<br>
:)</font>
<br><font size=3><br>
</font>
<br><font size=3>On 14 June 2012 15:18, <</font><a href=mailto:DFoxcroft@ricoh.co.nz target=_blank><font size=3 color=blue><u>DFoxcroft@ricoh.co.nz</u></font></a><font size=3>>
wrote:</font>
<br><font size=3 face="sans-serif">Thanks for that... Yes the question
was incorrectly phrased.</font><font size=3> </font><font size=3 face="sans-serif"><br>
I need to add the ObjC header to the XCode side of the project, which compiles
using FPC.</font><font size=3> </font><font size=3 face="sans-serif"><br>
The functions in the ObjC need to be exposed/extracted so that I can access
them from the .pas unit/s</font><font size=3> </font><font size=3 face="sans-serif"><b><br>
Dave Foxcroft</b></font><font size=3> </font><font size=3 face="sans-serif"><br>
Senior Programmer</font><font size=3> <br>
</font><font size=1 color=#808080 face="sans-serif"><br>
Ricoh New Zealand Limited | 60 Stanley Street | Parnell | PO Box 68-024
| Newton | Auckland | New Zealand</font><font size=3> </font><font size=1 color=#808080 face="sans-serif"><br>
Phone: +64 800 80 76 76 | Fax: +64 9 368 6001 | Mobile: +64 21 801 086</font><font size=3>
</font><font size=3 color=blue><u><br>
</u></font><a href=http://www.ricoh.co.nz/ target=_blank><font size=1 color=#808080 face="sans-serif"><u>www.ricoh.co.nz</u></font></a><font size=3>
<br>
</font>
<table width=100%>
<tr>
<td width=67%><font size=3 face="sans-serif">
</font><img src=cid:_1_090D4984090D4598006774C8CC257A21 width=140 height=19><font size=3><br>
</font><font size=1 face="Arial"><b><br>
ISO 14001 Environmental Certification</b></font><font size=3>
</font><font size=1 color=#808080 face="Arial"><br>
One of the </font><a href=http://www.global100.org/ target=_blank><font size=1 color=#808080 face="Arial"><u>Global
100</u></font></a><font size=1 color=#808080 face="Arial"> Most Sustainable
Corporations in the World</font><font size=3> </font>
<td width=32%>
<div align=right><img src=cid:_2_090D5450090D5050006774C8CC257A21 width=163 height=66></div>
<tr valign=top>
<td colspan=2></table>
<div align=right>
<br></div>
<br><font size=1 color=#808080 face="sans-serif">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.<br>
<br>
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.</font><font size=3 face="Arial"><br>
</font>
<hr><font size=3 color=#808080 face="Arial"><br>
Scanned by</font><font size=3 face="Arial"> </font><font size=3 color=#603181 face="Arial"><b>MailMarshal</b></font><font size=3 face="Arial">
</font><font size=3 color=#808080 face="Arial">- Marshal's comprehensive
email content security solution. Download a free evaluation of MailMarshal
at </font><a href=http://www.marshal.com/ target=_blank><font size=3 color=#808080 face="Arial"><u>www.marshal.com</u></font></a><font size=3 face="Arial"><br>
<br>
</font>
<hr><font size=3><br>
_______________________________________________<br>
NZ Borland Developers Group - Delphi mailing list<br>
Post: </font><a href=mailto:delphi@listserver.123.net.nz><font size=3 color=blue><u>delphi@listserver.123.net.nz</u></font></a><font size=3><br>
Admin: </font><a href=http://delphi.org.nz/mailman/listinfo/delphi target=_blank><font size=3 color=blue><u>http://delphi.org.nz/mailman/listinfo/delphi</u></font></a><font size=3><br>
Unsubscribe: send an email to </font><a href="mailto:delphi-request@listserver.123.net.nz"><font size=3 color=blue><u>delphi-request@listserver.123.net.nz</u></font></a><font size=3>
with Subject: unsubscribe</font>
<br><tt><font size=2>_______________________________________________<br>
NZ Borland Developers Group - Delphi mailing list<br>
Post: delphi@listserver.123.net.nz<br>
Admin: </font></tt><a href=http://delphi.org.nz/mailman/listinfo/delphi><tt><font size=2>http://delphi.org.nz/mailman/listinfo/delphi</font></tt></a><tt><font size=2><br>
Unsubscribe: send an email to delphi-request@listserver.123.net.nz with
Subject: unsubscribe</font></tt>
<br>
<FONT face=Arial><FONT size=2>
<HR>
<FONT color=#808080><BR>Scanned by</FONT> <FONT
color=#4f1f91><STRONG>MailMarshal</STRONG></FONT> <FONT color=#808080>-
Marshal's comprehensive email content security solution. Download a free
evaluation of MailMarshal at </FONT></FONT><A
href="http://www.marshal.com"><FONT color=#808080
size=2>www.marshal.com</FONT></A><BR><BR><FONT
color=#400080><STRONG></STRONG></FONT><FONT size=2>
<HR>
</FONT></FONT>