Skip to content

Instantly share code, notes, and snippets.

@satoshin2071
Last active December 29, 2015 15:19
Show Gist options
  • Save satoshin2071/7690341 to your computer and use it in GitHub Desktop.
Save satoshin2071/7690341 to your computer and use it in GitHub Desktop.
[ObjC][基本]hogeプロパティ.delegate = selfとしたい時
//以下でIncompatible pointer types消える
self.hoge.delegate = (id<hogeDelegate>)self;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment