CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 源码下载 通讯/手机编程 IOS

文件名称:MUBlockDelegate

  • 所属分类:
  • 标签属性:
  • 上传时间:
    2013-03-17
  • 文件大小:
    125.35kb
  • 已下载:
    0次
  • 提 供 者:
  • 相关连接:
  • 下载说明:
    别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容来自于网络,使用问题请自行百度

MUBlockDelegate——一个基于Block的通用委托实现

使用了MUBlockDelegate...

不需要写委托协议,也不需要新建委托实现,你只需要新建一个BlockDelegate-MUBlockDelegate

============



1.normally, we use delegates as follows:

 

  firstly,

 

  @protocol TestProtcol <NSObject>



  - (NSString*) testDelegateMethod:(NSString*) aString



  @end



  @interface TestDelegateImpl : NSObject<TestProtcol>



  @end



  and:



  @implementation TestDelegateImpl



  - (NSString*) testDelegateMethod:(NSString*)aString

  {

    return aString

  }



  @end

  

  secondly,

  

  #import "TestProtcol.h"



  @interface TestObject : NSObject



  @property(nonatomic, weak) id<TestProtcol> delegate



  - (NSString*) callDelegate:(NSString*) aString



  @end

  

  @implementation TestObject



  @synthesize delegate = _delegate



  - (NSString*) callDelegate:(NSString*) aString

  {

    if ([_delegate respondsToSelector:@selector(testDelegateMethod:)]) {

      return [_delegate testDelegateMethod:aString]

    }

    

    return nil

 
(系统自动生成,下载前可以参看下载内容)

下载文件列表

MUBlockDelegate/
MUBlockDelegate/.DS_Store
__MACOSX/
__MACOSX/MUBlockDelegate/
__MACOSX/MUBlockDelegate/._.DS_Store
MUBlockDelegate/.git/
MUBlockDelegate/.git/config
MUBlockDelegate/.git/FETCH_HEAD
MUBlockDelegate/.git/HEAD
MUBlockDelegate/.git/index
MUBlockDelegate/.git/logs/
MUBlockDelegate/.git/logs/HEAD
MUBlockDelegate/.git/logs/refs/
MUBlockDelegate/.git/logs/refs/heads/
MUBlockDelegate/.git/logs/refs/heads/master
MUBlockDelegate/.git/logs/refs/remotes/
MUBlockDelegate/.git/logs/refs/remotes/origin/
MUBlockDelegate/.git/logs/refs/remotes/origin/HEAD
MUBlockDelegate/.git/objects/
MUBlockDelegate/.git/objects/01/
MUBlockDelegate/.git/objects/01/81bcc0a7ef6e8532f1775b97b8389b113fabdd
MUBlockDelegate/.git/objects/02/
MUBlockDelegate/.git/objects/02/37597b848a1890bb30ba0ff4102f8107cafdcb
MUBlockDelegate/.git/objects/03/
MUBlockDelegate/.git/objects/03/bef2b2e1a522bbc63d1cc1be44cce60282f6c3
MUBlockDelegate/.git/objects/0a/
MUBlockDelegate/.git/objects/0a/7c993be98ff56c189afce5ae612a8a6216e39c
MUBlockDelegate/.git/objects/0b/
MUBlockDelegate/.git/objects/0b/5fbee6045956307f79863131c04bfe8d64090c
MUBlockDelegate/.git/objects/0e/
MUBlockDelegate/.git/objects/0e/3ed8e041259b5b47474d384f58ad7af20673ac
MUBlockDelegate/.git/objects/10/
MUBlockDelegate/.git/objects/10/fa68477fdff21a32c45f7f8cad41f99995f0e3
MUBlockDelegate/.git/objects/11/
MUBlockDelegate/.git/objects/11/bd6015f163fd540cbac922b4c05da2b3966102
MUBlockDelegate/.git/objects/13/
MUBlockDelegate/.git/objects/13/cbd6176dfaedcc5f31f615b103dba11b84a4a5
MUBlockDelegate/.git/objects/14/
MUBlockDelegate/.git/objects/14/0bfbca949d06b98f51f156a50ed798117ceb74
MUBlockDelegate/.git/objects/15/
MUBlockDelegate/.git/objects/15/a696ef53b2feb0afeac3e892715a8441721665
MUBlockDelegate/.git/objects/1b/
MUBlockDelegate/.git/objects/1b/0e52c8c6254674b3ef96e56c1191898056d93d
MUBlockDelegate/.git/objects/1b/acf64ff97a6323436212c7366a6ed27cb7db12
MUBlockDelegate/.git/objects/25/
MUBlockDelegate/.git/objects/25/a09708c166139bb9f816d03227729127aa629b
MUBlockDelegate/.git/objects/28/
MUBlockDelegate/.git/objects/28/ff5e90b310fd6027d33fd6bdb77d8fc8e8ef0d
MUBlockDelegate/.git/objects/2f/
MUBlockDelegate/.git/objects/2f/a2c7af777e499dfc444f1b9bf50a201f4d25db
MUBlockDelegate/.git/objects/31/
MUBlockDelegate/.git/objects/31/fe5926fd50aad0dffd807cae89362fb10b4dda
MUBlockDelegate/.git/objects/34/
MUBlockDelegate/.git/objects/34/52aff9e45a5a566e20a8705729c746003126bd
MUBlockDelegate/.git/objects/3b/
MUBlockDelegate/.git/objects/3b/b06a53ea20fe8bede47318d41a6b78f90913e6
MUBlockDelegate/.git/objects/3c/
MUBlockDelegate/.git/objects/3c/5c4ecd8d30ee5275120c3cc5c46f0d67f6ad69
MUBlockDelegate/.git/objects/3c/6d5aff149aac706db5d0b382e85192f091c84d
MUBlockDelegate/.git/objects/3d/
MUBlockDelegate/.git/objects/3d/bce43b9b1ff7d020583c2c3cc5cf2041bd1a24
MUBlockDelegate/.git/objects/47/
MUBlockDelegate/.git/objects/47/7b28ff8f86a3158a71c4934fbd3a2456717d7a
MUBlockDelegate/.git/objects/4e/
MUBlockDelegate/.git/objects/4e/64f1601596fa555cd381e3be99635a516006e9
MUBlockDelegate/.git/objects/4e/f7ec1625c46deec1402ab740c5dc2a4f140e2d
MUBlockDelegate/.git/objects/53/
MUBlockDelegate/.git/objects/53/a30632036c07fbdeed3240de6e03e9a5d2f842
MUBlockDelegate/.git/objects/56/
MUBlockDelegate/.git/objects/56/0306d5c80fe0b74716e01f7f55b98a83c1de3e
MUBlockDelegate/.git/objects/57/
MUBlockDelegate/.git/objects/57/5abd41a5f563c91b1ef04c1eeb0ca8d3a29407
MUBlockDelegate/.git/objects/57/657554c27cb39b7b40299b81d1e9e24c2ffc07
MUBlockDelegate/.git/objects/62/
MUBlockDelegate/.git/objects/62/797e35e6bacfed8dfe719178d64c48f88cfb33
MUBlockDelegate/.git/objects/64/
MUBlockDelegate/.git/objects/64/3e1d8754e37ddeb0c563bad08a4f5f5d06e392
MUBlockDelegate/.git/objects/6b/
MUBlockDelegate/.git/objects/6b/c95e82fb8f63fb1d248a992ab93ebf6b6298a6
MUBlockDelegate/.git/objects/6c/
MUBlockDelegate/.git/objects/6c/7f6ce8e619f0e3325794e423d916f3084409cf
MUBlockDelegate/.git/objects/6d/
MUBlockDelegate/.git/objects/6d/e3b30ef952d48a6230c3ba0125fd66ec30cf60
MUBlockDelegate/.git/objects/6e/
MUBlockDelegate/.git/objects/6e/9e15f06d2fd10fca06b7272584540bc71a1183
MUBlockDelegate/.git/objects/70/
MUBlockDelegate/.git/objects/70/d2af2b995d966a34309413966f2a57bcf20342
MUBlockDelegate/.git/objects/76/
MUBlockDelegate/.git/objects/76/6ff83e2e274905ef4b096ba28999752307074b
MUBlockDelegate/.git/objects/78/
MUBlockDelegate/.git/objects/78/fd46258745f69b2950c89add52e439f9890e3f
MUBlockDelegate/.git/objects/82/
MUBlockDelegate/.git/objects/82/f6c52caa2297b32139971ac770a1129bcc4e42
MUBlockDelegate/.git/objects/83/
MUBlockDelegate/.git/objects/83/aeef2f058cfc4f3f050d665c758e187a7f175a
MUBlockDelegate/.git/objects/89/
MUBlockDelegate/.git/objects/89/50bb73ed1fa977ff712515a31fe0a1afbd85b0
MUBlockDelegate/.git/objects/8a/
MUBlockDelegate/.git/objects/8a/4bb638fafe79b0bfc686d5c2a93c7982cc86ec
MUBlockDelegate/.git/objects/90/
MUBlockDelegate/.git/objects/90/b180d94a625dedcee14b59629a556d7dc949fe
MUBlockDelegate/.git/objects/92/
MUBlockDelegate/.git/objects/92/90e16a7e3ff18e1c537c2bc233eae0199e472a
MUBlockDelegate/.git/objects/93/
MUBlockDelegate/.git/objects/93/f2a566dc9a7d479e527a

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 搜珍网是交换下载平台,只提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。更多...
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或换浏览器;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*快速评论: 推荐 一般 有密码 和说明不符 不是源码或资料 文件不全 不能解压 纯粹是垃圾
*内  容:
*验 证 码:
搜珍网 www.dssz.com