Encapsulated Cocoa reader in rwpng