 |
 |
Internet enabled apps
|
 |
|
 |
|
Senior User
Join Date: Nov 2003
Location: Middle of the street
Status:
Offline
|
|
Hi,
I'm new to programming on the Mac, so I would appreciate any help that anyone is willing to provide.
I wanted to know how easy it is to create a simple (tutorial) application that uses NNTP or FTP protocols, using XCode?
I have done development of Windoze based apps using Delphi and Visual Basic; and they had VCL/OCX components that provided the needed protocols, without me having to roll one for the application. Does it work the same in XCode or I am stuck with rolling my own components for the NNTP and/or FTP protocols.
Also, if anyone can point to a site or book that would take a newbie developer on the Mac, step by step, in creating applications.
Thanks.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Dec 2001
Location: Atlanta, GA, USA
Status:
Offline
|
|
For FTP, I don't believe there is a standard library. Lots of people use CURLHandle though, which is a wrapper for curl (a command line tool included with OSX). You can get it here:
http://curlhandle.sourceforge.net/
There are a lot of other Cocoa networking frameworks that do ftp, nntp, and others. Look here for some samples:
http://www.cocoadev.com/index.pl?ObjectLibrary
Some of those are not free though.
|
|
Mac Pro 2x 2.66 GHz Dual core, Apple TV 160GB, two Windows XP PCs
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status:
Offline
|
|
There's CFFTPStream as of 10.3 (see CFNetwork, part of CoreServices)
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Feb 2001
Location: Vancouver, WA
Status:
Offline
|
|
IIRC, the Foundation NSURL loading APIs (available in 10.2.x with Safari installed, or 10.3 or newer) also support FTP, so you've go quite a variety of approaches to choose from based on how much detailed control over FTP connections you want.
I'm pretty sure there's no built-in NNTP implementation on OS X, though.
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Nov 2003
Location: Middle of the street
Status:
Offline
|
|
Thanks for all the help.
I was more interested in cocoa classes relating to NNTP protocol. I just wanted to create a simple USENET reader as an exercise in getting use to network application development using cocoa. As my goals are to eventually incorporating Rendezvous in my applications.
|
|
|
| |
|
|
|
 |
|
 |
|
Junior Member
Join Date: Sep 2003
Location: Nowhere, Missouri
Status:
Offline
|
|
There are 3 good Rendezvous tutorials on this page. As for FTP, I would like to know too. I just downloaded CURLHandle and am checking it out now.
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|