xcode必装插件VVDocumenter

什么是VVDocumenter

VVDocumenter是xcode下自动生成注释的一款非常好有用的工具,写注释是一件十分浪费我们时间与精力的事,要写符合文档格式的注释,更是会消耗我们很多的功夫,幸运的是,VVDocumenter可以帮我们很大的忙。



安装方法

方法1:通过Alcatraz安装

点击xcode菜单Windows->Package Manager 搜索VVDocumenter 点击Install



方法2:通过GitHub下载后, 安装

  https://github.com/onevcat/VVDocumenter-Xcode

安装与使用方法:下载github源码,使用xcode打开工程,运行一下,如果成功,插件就安装好了,这时,我们必须将xcode重新启动一下,才可以使用。



设置VVDocumenter

打开VVDocumenter :点击Window 



显示设置界面


使用示例

/**
 *  @author ruglcc, 15-12-24 15:12:31
 *
 *  @brief 列表下拉刷新执行函数,这里执行更新列表数据
 *
 *  @since <#5.0.0#>
 */
-(void)updateTableViewData
{
    NSLog(@"刷新新的数据");
    
    dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(3 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
        [self.tableView headerEndRefreshing];
    });
    
}


/**
 *  @author liming, 15-12-24 15:12:45
 *
 *  @brief 主页八大条目点击跳转
 *
 *  @param item 点击的类型
 *
 *  @since <#5.0.0#>
 */
-(void)didClickLeftItem:(HomeCenterViewClickType) item
{
   //......
<span style="font-family: Arial, Helvetica, sans-serif;">}</span>

/**
 *  @author liming, 15-12-24 15:12:13
 *
 *  @brief Description
 *
 *  @param tableView tableView description
 *  @param section   section description
 *
 *  @return <#return value description#>
 *
 *  @since 5.0.0
 */
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
    return 0;
}



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

ruglcc

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值