{"version":"1.0","author_name":"jjj777","url":"https://cocoaapi.hatenablog.com/entry/00150926/Foundation_NSConditionLock_tryLockWhenCondition_","blog_title":"macOS/iOS API\u89e3\u8aac","provider_url":"https://hatena.blog","height":"190","published":"0015-09-26 00:00:00","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcocoaapi.hatenablog.com%2Fentry%2F00150926%2FFoundation_NSConditionLock_tryLockWhenCondition_\" title=\"tryLockWhenCondition: - macOS/iOS API\u89e3\u8aac\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"width":"100%","description":"\u30ed\u30c3\u30af\u304c\u4f7f\u7528\u3055\u308c\u3066\u3044\u306a\u304f\u3066\u30ed\u30c3\u30af\u306e\u5024\u304c\u6761\u4ef6\u3068\u540c\u3058\u306a\u3089\u30ed\u30c3\u30af\u3057\u307e\u3059 -(BOOL)tryLockWhenCondition:(int)condition: \u89e3\u8aac \u30ed\u30c3\u30af\u304c\u4f7f\u7528\u3055\u308c\u3066\u3044\u306a\u304f\u3066\u30ed\u30c3\u30af\u306e\u5024\u304c\u6761\u4ef6\uff08condition\uff09\u3068\u540c\u3058\u306a\u3089\u30ed\u30c3\u30af\u3057\u307e\u3059\u3002 \u8fd4\u308a\u5024 ( BOOL ) YES/NO \u5f15\u6570 ( int )condition \u6761\u4ef6 \u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af Foundation \u30af\u30e9\u30b9 NSConditionLock Instance Methods \u4f7f\u7528\u53ef\u80fd 10.0 \u53c2\u7167 - tryLock \u4f8b\u6587 #import \"MyObject.h\" @implementation MyObject - (I\u2026","blog_url":"https://cocoaapi.hatenablog.com/","type":"rich","author_url":"https://blog.hatena.ne.jp/jjj777/","title":"tryLockWhenCondition:","categories":["Foundation","NSConditionLock","10.0-","iOS2.0","-"]}