03 2012 档案

摘要: 阅读全文
posted @ 2012-03-21 21:47 xxd 阅读(6351) 评论(0) 推荐(0) 编辑
摘要:Railscast配色https://raw.github.com/ryanb/textmate-themes/master/railscasts.tmTheme (配图是xcode的,形似) Xcode-like https://github.com/jezdez/textmate-missingdrawer Railscasts color theme for E... 阅读全文
posted @ 2012-03-17 15:59 xxd 阅读(1613) 评论(0) 推荐(0) 编辑
摘要:类似Chrome在地址栏中输入就可以查询google的插件https://github.com/rs/SafariOmnibar类似ChromeCmd + 数字打开Bookmark中相应的tag,safari默认Cmd + 1 是打开书签的第一项内容 https://github.com/rs/SafariTabSwitchingAdBloc AdBlockForSafari.safariex... 阅读全文
posted @ 2012-03-17 15:22 xxd 阅读(362) 评论(0) 推荐(0) 编辑
摘要:继续《iOS 5 Storyboard 学习之 Tabbar Controller,Navigation Controller (3) 深入Segue,Class,Protocol,Delegate的基本使用》的内容,如果想从头学习Storyboard,请参考《iOS 5 Storyboard 学习之 UITableViews》1 我们来建立最后一个TableViewController,用来控制类别的选择。托一个“Table View Controller”,从类别 Control+Drog 到新的“Navigation Controller”上然后选择“Push”,Segue的identi 阅读全文
posted @ 2012-03-13 15:23 xxd 阅读(3835) 评论(1) 推荐(1) 编辑
摘要:继续《iOS 5 Storyboard 学习之 Tabbar Controller,Navigation Controller (2)》的内容,如果想从头学习Storyboard,请参考《iOS 5 Storyboard 学习之 UITableViews》1 首先我们添加一个“添加按钮” 2 随后托一个“Table View Controller”,然后配置它然后embed in Navigation Controller 从左上角的加号按钮 Control+Drog 到新的“Navigation Controller”上然后选择Modal 把这个Segue的Identifier设置成“Add 阅读全文
posted @ 2012-03-12 15:26 xxd 阅读(9959) 评论(2) 推荐(1) 编辑
摘要:迁移项目必然要遇到旧的库在新的环境下水土不服的情况,首先遇到的难题是ASIHttpRequest。Stackoverflow上找到了一个答案,如下:It's very easy to use asi-http-request in an ARC environment without changing anything, simply follow these steps:Simply create a static library target.Add asi-http-request files as required to the library targetConfigure 阅读全文
posted @ 2012-03-11 22:30 xxd 阅读(10175) 评论(0) 推荐(0) 编辑
摘要:继续《iOS 5 Storyboard 学习之 Tabbar Controller,Navigation Controller (1)》的内容,如果想从头学习Storyboard,请参考《iOS 5 Storyboard 学习之 UITableViews》1 建立文件“ PlayersViewController”记得选择”UITableViewController“2 选择“Table View Controller”设置“Identity Inspector”的Class为“PlayersViewController”编辑“ PlayersViewController.h”,建立一个可修改 阅读全文
posted @ 2012-03-09 15:50 xxd 阅读(9766) 评论(16) 推荐(0) 编辑
摘要:1 首先建立一个项目,随便起一个名字。2 点击“MainStoryboard.storyboard”,从“Object Library”托一个”Tab Bar Controller“进来: 3 点击“Tab Bar Controller” 在“Attributes Inspector”中选择“Is Initial View Controller”:然后可以看到“Tab Bar Controller” 的右边多了一个箭头4 删除上边的“ View Controllers - Item 1”,托一个“Table View Controller“进来 5 点击“Table View Controll 阅读全文
posted @ 2012-03-07 16:14 xxd 阅读(14236) 评论(1) 推荐(2) 编辑
摘要:用到的技术:UITableView,Navigation Controllers,Storyboard Push文章内容只是把关键的地方在文中讲解了一下,完整的代码在文章最后,请下载对比自己的代码。1 建立一个项目 “StoryboardUITableViews”,选择Single View Application2 点击“MainStoryboard.storyboard” 选择“Editor > Embed In > Navigation Controller” 会出现一个Navigation Controllers3 在右边的View Controller上放置一个Table 阅读全文
posted @ 2012-03-06 11:19 xxd 阅读(18517) 评论(23) 推荐(0) 编辑
摘要:重启MySQL时遇到下边错误InnoDB: Error: data file /usr/local/mysql/data/ibdata1 is of a different sizeInnoDB: 1152 pages (rounded down to MB)InnoDB: than specified in the .cnf file 1216 pages!找到原因是因为给mysql添加数据文件没有正确配置引起,查看一下当前数据文件的大小l# ll -h /usr/local/mysql/data/-rw-rw---- 1 mysql mysql 18M Mar 5 03:01 ibdata 阅读全文
posted @ 2012-03-05 11:13 xxd 阅读(5376) 评论(0) 推荐(0) 编辑