fix nil delegate before releasing
Merge pull request #61 from aogilvie/fix/removeview-ios

fix nil delegate before releasing