skylarsch/SSPostmark — pull request #5 by coneybeare (2012-06-24 19:42:30+00:00)
Title: Major refactor

I cleanup up the code a ton to remove redundancy and improve the error handling. I killed the instance vars pertaining to nsurlconnection as we can use the block based methods instead. It already targets iOS 5.0 and higher with the JSONSerialization, so the block based methods will be there too. I also cleaned up a bunch of the long validation methods for a cleaner, more concise method.

I removed the deprecated methods.

If you want to use this as is, great! Otherwise, feel free to cherry pick whatever you feel is a good addition.