cancel
Showing results for 
Search instead for 
Did you mean: 

Mac Objective C client application

ktundwal
Champ in-the-making
Champ in-the-making
I am wondering whats the best way to develop a client for mac in Objective-C.

This mac client should allow following:
1. Login/logout
2. Creates assets with metadata and file data. Ex. jpg.
3. Checkout/checkin files
4. Request previews/entire data

Apologies for not using correct Alfresco terminology - I have just started on Alfresco.

A few options to do the plumbing work with Alfresco
1. Web Services: Objective C support for WS is very weak and from forums suggest to stay away from it. To be able to use java one would need to rely on Cocoa-java binding which again is something not maintained.
2. HTTP API: As I understand is the best way to do this. Disadvantage is that API wrappers need to be written for Objective C.

If this is not the right place to post this, please advice.

Thanks
Kapil
2 REPLIES 2

rwetherall
Confirmed Champ
Confirmed Champ
Hi Kapil,

I'd suggest looking at using the HTTP API.  Using this API will provide you with far greater flexibility as you will be able to easily write your own additions, in the form of web scripts, to meet your specific use cases.

The HTTP protocol is much 'lighter' than the WS and I'd expect there to far fewer compatibility issues with HTTP.

At Alfresco we currently tend to use our HTTP when developing remote clients (eg: office integration, portlets, flex applications all use web scripts extensively)

Hope this helps,
Roy

ewwhitley
Champ in-the-making
Champ in-the-making
There used to be something called WSMakeStubs in /Developer/Tools that would generate an objective-C proxy, but… since I upgraded to 10.5 I'll be darned if I can find it.  I didn't install WebObjects, so I'm not sure if I need to or not. 

Maybe post on the Apple Developer mailing lists?