変数名をキー、その値をバリューにして辞書を作成します。
NSNumber *hoge = @1;
NSNumber *piyo = @2;
NSDictionary *dict = NSDictionaryOfVariableBindings(hoge, piyo);
たま〜に使えるかもしれません
Go to list of users who liked
More than 5 years have passed since last update.
変数名をキー、その値をバリューにして辞書を作成します。
NSNumber *hoge = @1;
NSNumber *piyo = @2;
NSDictionary *dict = NSDictionaryOfVariableBindings(hoge, piyo);
たま〜に使えるかもしれません
Register as a new user and use Qiita more conveniently
Go to list of users who liked