Every repository with this icon (
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
.gitattributes | Thu Jan 08 15:18:17 -0800 2009 | |
| |
.gitignore | Fri Feb 20 04:04:07 -0800 2009 | |
| |
CocoaAMF-iPhone.xcodeproj/ | Fri Jun 19 14:22:35 -0700 2009 | |
| |
CocoaAMF.xcodeproj/ | Fri Sep 25 07:55:17 -0700 2009 | |
| |
CocoaAMF/ | Mon Nov 16 14:48:02 -0800 2009 | |
| |
Examples/ | Mon Nov 16 14:41:18 -0800 2009 | |
| |
LICENSE.txt | Sat Jan 10 16:45:18 -0800 2009 | |
| |
Libraries/ | Sat Jan 10 12:55:02 -0800 2009 | |
| |
README.markdown | Sun Mar 29 14:42:36 -0700 2009 | |
| |
Tests/ | Tue Sep 15 16:03:44 -0700 2009 |
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 mb@nesium.com.
Thanks
- Deusty Designs for CocoaAsyncSocket (http://code.google.com/p/cocoaasyncsocket/)
- Binary God for BGHUDAppKit (http://code.google.com/p/bghudappkit/)
- Jonathan Wight for TouchJSON (http://code.google.com/p/touchcode/)
- The PyAMF Team for PyAMF (http://pyamf.org/) and therefor letting me have a reference and unit tests which I can steal shamelessly







