开发者

Can one autogenerate a protocols stubs

开发者 https://www.devze.com 2022-12-30 21:13 出处:网络
Still waiting on my MacBook. When an interface that I create references a protocol e.g. CCLocationManagerDelegate does t开发者_高级运维he various methods get autogenerated or does intellisense pop up

Still waiting on my MacBook.

When an interface that I create references a protocol e.g. CCLocationManagerDelegate does t开发者_高级运维he various methods get autogenerated or does intellisense pop up with all the available methods to implement?


Xcode doesn't do this unless the methods are in a template file (and I'm not aware of a template for a <CLLocationManagerDelegate>.

That being said, you might want to check out Accessorizer, which is a neat app that can do a whole bunch of code generation for you, of which (I believe) protocol conformance is a part.

0

精彩评论

暂无评论...
验证码 换一张
取 消