Skip to content
forked from nesium/cocoa-amf

Objective-C implementation of the Flash Remoting format (AMF0/AMF3) for servers and clients.

License

Notifications You must be signed in to change notification settings

magnayn/cocoa-amf

 
 

Repository files navigation

CocoaAMF

Description

CocoaAMF is a set of classes which can make AMF0 and AMF3 remoting calls or act as a server to handle AMF requests.

Examples

For sending a remoting call see SimpleRemotingCallExample. For setting up a server see ServerExample.

For testing an existing AMF server a more complex tool is provided, namely AMFClient, so be sure to check it out!

If you want to send custom classes from Cocoa make sure to implement the NSCoding protocol. You can encode keyed and non-keyed, where the latter means you're encoding an externalizable class.

While deserializing, if no class with the classname of the received object is found, CocoaAMF creates an instance of ASObject which will contain all attributes of that object and its classname as the ivar 'type'.

iPhone Support

01/11/09 I have added an example for remoting calls from the iPhone. See the XCode project CocoaAMF-iPhone.

Usage of the iPhone as an AMF Server is still untested.

Todo

  • Full test coverage

Contact

If you have any questions or ideas, let me know at [email protected].

Thanks

About

Objective-C implementation of the Flash Remoting format (AMF0/AMF3) for servers and clients.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 78.4%
  • HTML 21.6%