Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
@welsonla
高级会员
第 1098 位会员 / 2012-02-20

北京
11 篇帖子 / 102 条回帖
0 关注者
0 正在关注
63 收藏
GitHub Public Repos
  • welsonla.github.io 2

    我的blog

  • CleanyModal 1

    Swift UI Kit to present clean modal/alert

  • booklist 1

    毕业设计开发的书单笔记分享项目

  • Closures 1

    Swifty closures for UIKit and Foundation

  • AppWage 1

    iTunes connect reporting tool

  • booklist-front 1

  • Lightbox 0

    :milky_way: A convenient and easy to use image viewer for your iOS app

  • PanModal 0

    An elegant and highly customizable presentation API for constructing bottom sheet modals on iOS.

  • contribution-graph-swi... 0

  • Shuffle 0

    🔥 A multi-directional card swiping library inspired by Tinder

More on GitHub
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • 自从上了 ruby-china 后,我就很少开 javaeye 了 at 2012年03月30日

    其实 eye 有不少有价值的 blog 文章

  • 日本女人的 Rubyist at 2012年03月29日

    在学习 ruby

  • 有人做过 goole reader 的东西吗? at 2012年03月29日

    #4 楼 @reus 可否告之官方 reader api 的地址,或者相关的调用方法

  • 有人做过 goole reader 的东西吗? at 2012年03月28日

    http://code.google.com/p/r2-release/wiki/GoogleReaderApi#google_reader_api_介绍

    找到了这个,测试可用,希望对大家有帮助

  • 有人做过 goole reader 的东西吗? at 2012年03月28日

    @ichord 但是我看到不少人做了第三方的工具,比如 Reeder 这样的,应该还是可以调用到的吧

  • SAE Ruby 平台出现了 at 2012年03月27日

    是即将出现吧

  • 写给 Ruby 新人的公开信 (我的 Ruby 学习经历) at 2012年03月21日

    @Standme 看这里,http://stackoverflow.com/questions/9651670/issue-updating-ruby-on-mac-with-xcode-4-3-1 难道第一个回答还搞定不了你的问题吗?

  • 现今 PHP 的框架中最接近 Rails 的是什么? at 2012年03月19日

    YIi

  • 怎么将 UITableViewCell 拖到 UITableView 中去? at 2012年03月18日

    用代码的方式实现,我写了个简单的

    定义你的 cell 头文件

    #import <UIKit/UIKit.h>
    
    @interface MyCell : UITableViewCell
    
    @end
    
    m文件
    #import "MyCell.h"
    
    @implementation MyCell
    
    - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
    {
        self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
        if (self) {
            UILabel *tempLabel = [[UILabel alloc] initWithFrame:CGRectMake(10, 10, 150, 25)];
            [tempLabel setText:@"Test my Label"];
            [self addSubview:tempLabel];
            [tempLabel release];
        }
        return self;
    }
    
    - (void)setSelected:(BOOL)selected animated:(BOOL)animated
    {
        [super setSelected:selected animated:animated];
    
        // Configure the view for the selected state
    }
    
    @end
    
    
    

    在你的 tableView 初始化 cell 的时候

    #pragma mark -
    #pragma mark Table View Data Source Methods
    - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section{
        return [noteListArray count];
    }
    
    - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
        UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"thecell"];
    
        if(cell == nil){
            cell =[[MyCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:@"thecell"];
        }
    
        return cell;
    }
    
    
    
    

    主要是这句

    if(cell == nil){
        cell =[[MyCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:@"thecell"];
    }
    
    
    
    

    Sorry,不知道怎么格式化代码和高亮

  • Ruby China 北京 3.18 网易活动后签到贴 at 2012年03月18日

    上次在活动帖报名,一直没确认,看到有人数限制,也不确定是否可以前去参加,错过了

  • 敏捷开发第 4 版比第 3 版差不少呀? at 2012年03月18日

    @willmouse 握手,这两本书我都有,不过那个我看的第三版

  • OS X 10.7.3 Xcode 4.3.1 再次安装 rails 出错,求助 at 2012年03月18日

    还要在 xcode 里面安装那个 command line tools

  • 除了 Ruby China,还有什么比较好的学习 ruby/rails 中文论坛么 at 2012年03月14日

    http://ihower.tw/rails3/index.html

    我在看这个教程

  • [北京] Ruby China 第一次技术交流活动公布 (3 月 18 日) at 2012年03月10日

    报名

  • mysqlbinlog 与 nginx 记的访问日志你们都是怎么处理的? at 2012年03月09日

    binlog 可以只保留最新的四五个,只要数据每天都有备份就没必要留那么多

  • 在 fedora 下如何开始运行 ruby at 2012年03月06日

    http://rails-deployment.group.iteye.com/group/wiki/1296-deploy-rails-on-linux

    可以参照这个编译,版本下载新的

  • 各位是因为什么事件和原因接触到 Ruby at 2012年03月06日

    #3 楼 @lgn21st 我也是因为 robbin 的推荐开始关注 ruby

  • 有多少人读过《Ruby for Rails》 at 2012年03月06日

    http://book.douban.com/subject/1839273/

    在读这本,淘的二手书

  • macbook pro 10.6 安装 rails 问题? at 2012年03月03日

    我用 rvm 装的,不想前期在这些问题上纠结太久,以后慢慢的就会明白

  • rails 怎么连接 mysql? at 2012年03月03日

    #9 楼 @geekontheway thanks,原来是 yaml 写的不标准。 @all,thanks a lot

  • rails 怎么连接 mysql? at 2012年03月03日

    #4 楼 @geekontheway 这些我确实都试过了

  • rails 怎么连接 mysql? at 2012年03月03日

    #1 楼 @azhao 也不行,您都是怎么连接 mysql 的,gem 可以安装吗?

  • 请用一句话证明你用过 ruby on rails! at 2012年03月02日

    rails server

  • 你们在什么平台下开发 rails? at 2012年03月02日

    Mac+Textmate+Aptana

  • vim for ios at 2012年02月29日

    ESC 键映射成了向左拨动屏幕,试过 set nu,这个支持,但是好像没办法保存文件,也不高亮

  • 建议开一个`图书交换'版块 at 2012年02月29日

    +1

  • 怎么卸载用 make install 编译安装的软件 at 2012年02月29日

    删除安装的文件,有的支持 make uninstall

  • 上一页
  • 1
  • 2
  • 3
  • 4
  • 下一页
关于 / RubyConf / Ruby 镜像 / RubyGems 镜像 / 活跃会员 / 组织 / API / 贡献者
由众多爱好者共同维护的 Ruby 中文社区,本站使用 Homeland 构建,并采用 Docker 部署。
服务器由 赞助 CDN 由 赞助
iOS 客户端 / Android 客户端 简体中文 / English