iPhone

Ad hoc配布で「資格が有効ではない」というエラーになった(解決済)

うーん…The executable was signed with invalid entitlements. - Stack Overflow FileメニューからNew File -> iPhone OS -> CodeSigning -> Entitlementsを選ぶ。ファイルの名前を"Entitlements.plist"にして"Finish"をクリック。これでデフォルトの"entit…

error: synthesized property 'foobar' must either be named the same as a compatible ivar or must explicitly name an ivar

いま実機でないと重要な機能が試せないアプリを作っていて、それ以外の機能を作るのでシミュレータでいいかと思ってSDKを切り替えたらこういうエラーが出るようになった。 error: synthesized property 'foobar' must either be named the same as a compati…

Metronomeを読む

@interface と @protocol は何が違うのか @protocolがJavaで言うところのinterfaceで@interfaceがJavaで言うところのクラス class Foo extends Bar implements Baz, Quux は @interface Foo : Bar < Baz, Quux > @classはなんだ 別のソースにそのクラスがあ…