• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            隨筆 - 42  文章 - 3  trackbacks - 0
            <2012年6月>
            272829303112
            3456789
            10111213141516
            17181920212223
            24252627282930
            1234567

            常用鏈接

            留言簿(2)

            隨筆檔案

            文章檔案

            網(wǎng)頁(yè)收藏

            搜索

            •  

            最新評(píng)論

            閱讀排行榜

            評(píng)論排行榜

            All objects that inherit from NSObject know these three methods:
            isKindOfClass: returns whether an object is that kind of class (inheritance included)
            isMemberOfClass: returns whether an object is that kind of class (no inheritance)
            respondsToSelector: returns whether an object responds to a given method

            Class testing methods take a Class
            You get a Class by sending the class method class to a class :)
            if ([obj isKindOfClass:[NSString class]]) {
            NSString *s = [(NSString *)obj stringByAppendingString:@”xyzzy”];
            }

            Method testing methods take a selector (SEL)
            Special @selector() directive turns the name of a method into a selector
            if ([obj respondsToSelector:@selector(shoot)]) {
            [obj shoot];
            } else if ([obj respondsToSelector:@selector(shootAt:)]) {
            [obj shootAt:target];
            }
            SEL is the Objective-C “type” for a selector
            SEL shootSelector = @selector(shoot);
            SEL shootAtSelector = @selector(shootAt:);
            SEL moveToSelector = @selector(moveTo:withPenColor:);
            posted on 2012-06-04 19:43 鷹擊長(zhǎng)空 閱讀(136) 評(píng)論(0)  編輯 收藏 引用

            只有注冊(cè)用戶登錄后才能發(fā)表評(píng)論。
            網(wǎng)站導(dǎo)航: 博客園   IT新聞   BlogJava   博問(wèn)   Chat2DB   管理


            色偷偷88888欧美精品久久久| 久久久久人妻精品一区三寸蜜桃| 久久综合亚洲鲁鲁五月天| 国产精品一区二区久久精品涩爱 | 伊人热热久久原色播放www| 久久人人爽人人人人爽AV| 性高湖久久久久久久久| 国产精品欧美久久久久天天影视| 亚洲欧洲久久av| 97久久精品无码一区二区天美| 久久精品综合一区二区三区| 人妻无码久久一区二区三区免费| 久久久WWW成人| 精品国际久久久久999波多野| 久久精品国产72国产精福利| 久久久无码一区二区三区| 一级做a爰片久久毛片毛片| 久久美女网站免费| 精品综合久久久久久888蜜芽| 久久一本综合| 狠狠精品久久久无码中文字幕| 久久久无码一区二区三区| 久久99精品国产麻豆宅宅| 国产精品久久久久乳精品爆| www.久久热.com| 久久久久久久久无码精品亚洲日韩| 久久高清一级毛片| 久久91精品综合国产首页| 久久夜色精品国产亚洲| 99久久精品国产免看国产一区| 久久国产免费直播| 中文字幕日本人妻久久久免费| 久久中文字幕精品| 久久久国产99久久国产一| 午夜精品久久久久久影视riav| 久久夜色精品国产| 少妇熟女久久综合网色欲| 欧美亚洲国产精品久久| 亚洲伊人久久大香线蕉综合图片| 亚洲中文字幕无码久久2017| 99久久免费国产精品特黄|