• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
KerryJava
博客园 | 首页 | 新随笔 | 新文章 | 联系 | 订阅 订阅 | 管理

05 2015 档案

 
categoriy 重写函数会怎样?
摘要:Fromcomp.lang.objective-C FAQ listing: "What if multiple categories implement the same method?Then the fabric of the Universe as we know it ceases to ... 阅读全文
posted @ 2015-05-26 11:01 KerryJava 阅读(370) 评论(0) 推荐(0)
多线程处理
摘要:多线程 阅读全文
posted @ 2015-05-25 23:12 KerryJava 阅读(129) 评论(0) 推荐(0)
复习一下property
摘要:在面向对象程序里,一个对象不要直接访问另一个对象内部的数据。所以我们使用accessor methods来进行对象内部的数据交互。accessor methods(getters and setters) are used as an abstraction for interacting with... 阅读全文
posted @ 2015-05-24 16:48 KerryJava 阅读(161) 评论(0) 推荐(0)
共用tableview一个继承类里面有
摘要:里面的复用cell会不会混在一起呢? 阅读全文
posted @ 2015-05-23 13:22 KerryJava 阅读(132) 评论(0) 推荐(0)
使用block的好处
摘要:1 使用block 可以轻松地绑定各处代码块,使用delete 结构是分散的,不利于变量之间传值,不像block可以随意地获取变量值。2.使用block可以方便执行异步代码,作为异步处理回调。In terms of code readability, the block makes it easy ... 阅读全文
posted @ 2015-05-22 22:43 KerryJava 阅读(477) 评论(0) 推荐(0)
条件断点 符号断点
摘要:the breakpoint will always be skipped. Your breakpoint condition can be any code that evaluatestrueorfalse. For example, if you only want the breakpoi... 阅读全文
posted @ 2015-05-19 23:20 KerryJava 阅读(385) 评论(0) 推荐(0)
设计方法
摘要:storyboard迭代比较快You’ll get more valuable feedback if you can put together a fleshed-out prototype that runs on a device. When people can interact with ... 阅读全文
posted @ 2015-05-17 00:48 KerryJava 阅读(138) 评论(0) 推荐(0)
iOS设计规范HIG
摘要:点击图标大小至少为这么大:Make it easy for people to interact with content and controls by giving each interactive element ample spacing.Give tappable controls a h... 阅读全文
posted @ 2015-05-16 19:59 KerryJava 阅读(888) 评论(0) 推荐(0)
一些常用的库
摘要:1.AFNetworking地址:https://github.com/AFNetworking/AFNetworking用于网络请求2.JSONKit地址:https://github.com/johnezang/JSONKit解析JSON3.Reachability地址:https://gith... 阅读全文
posted @ 2015-05-16 11:52 KerryJava 阅读(192) 评论(0) 推荐(0)
isKindOfClass isMemeberOfClass 的区分
摘要:isKindOfClass:returns YES if the receiver is an instance of the specified class or an instance of any class that inherits from the specified class.isM... 阅读全文
posted @ 2015-05-13 11:45 KerryJava 阅读(239) 评论(0) 推荐(0)
自学知识的博客
摘要:一位朋友的博客,可以当做自学教材http://blog.csdn.net/stpeace/article/list/5 阅读全文
posted @ 2015-05-11 23:26 KerryJava 阅读(151) 评论(0) 推荐(0)
更新进度
摘要:notification 也有顺序,如何保证数据先更新,界面接着更新?或者是用那种KVO模式还有我之前说的RAC模式,但是有人说用起来比较方便,但是调试起来就比较困难,多线程。我使用KVO的感想,存在几个问题:1.keyPath,我如何把proerty 装换成NSString, 我不想写死,因为不灵... 阅读全文
posted @ 2015-05-11 20:39 KerryJava 阅读(221) 评论(0) 推荐(0)
好用的工具库
摘要:DDLog 打印日志,可以改变打印等级,也可以彩色显示。封装约束,就不用写一堆代码来写约束了。可以很方便就定义一个view的位置。https://github.com/SnapKit/Masonry点击事件或者其他事件的blockzwaldowski/BlocksKithttps://github.... 阅读全文
posted @ 2015-05-10 20:24 KerryJava 阅读(252) 评论(0) 推荐(0)
免费的自动构建CI
摘要:https://travis-ci.org/ 阅读全文
posted @ 2015-05-10 18:51 KerryJava 阅读(231) 评论(0) 推荐(0)
如何减少block的嵌套层次?
摘要:1.首先了解一个概念函数式反应型编程(FRP) —— 实时互动应用开发的新思路http://www.infoq.com/cn/articles/functional-reactive-programming 我的理解,无非是把以前异步处理用同步处理代码方式表现出来。 需求: 1.因为一般初学者搞... 阅读全文
posted @ 2015-05-10 14:03 KerryJava 阅读(461) 评论(0) 推荐(0)
一些ios牛人的博客
摘要:王巍的博客:王巍目前在日本横滨任职于LINE。工作内容主要进行Unity3D开发,8小时之外经常进行iOS/Mac开发。他的陈列柜中已有多款应用,其中番茄工作法工具非常棒。http://onevcat.com池建强的博客:池建强,70后程序员,Blogger。98年毕业,先后就职于洪恩软件、Rock... 阅读全文
posted @ 2015-05-10 13:49 KerryJava 阅读(666) 评论(0) 推荐(0)
pop to 特定的UIViewController
摘要:1. 我们可以推出到特定的UIViewController2. 有一个类没有navigationController,以前一般用delegate,我觉得我们可以把引用一个navigationController,然后使用它来推出另一个UIViewController 阅读全文
posted @ 2015-05-07 22:12 KerryJava 阅读(152) 评论(0) 推荐(0)
notification 是同步的
摘要:所有notification的观察者执行之后,post notification的函数才会往下执行。 阅读全文
posted @ 2015-05-07 22:09 KerryJava 阅读(224) 评论(0) 推荐(0)
什么时候block 是放在全局区里面的?
摘要: When a Block literal is written where there are global variables  When the syntax in a Block literal doesn’t use any automatic variables to be cap... 阅读全文
posted @ 2015-05-07 22:07 KerryJava 阅读(175) 评论(0) 推荐(0)
ios runloop
摘要:app 生命周期 阅读全文
posted @ 2015-05-06 23:49 KerryJava 阅读(148) 评论(0) 推荐(0)
ios 工作日志
摘要:1.设计模式1.1 想用一个controllerK控制多个页面的切换 但是每一个页面必须要引用这个controller,这样才能控制进度, 所以必须是弱引用。controller必须被某一个实例强引用,否则它会释放。1.2 页面不在当前的时候,我们要控制窗口不要弹出,所以必须自己保存好页面是否已... 阅读全文
posted @ 2015-05-06 23:45 KerryJava 阅读(230) 评论(0) 推荐(0)
工作日志
摘要:1.调试少写一个break到case分支,导致代码fall through出现bug --------- 这样,编译器应该告警才对。添加case要注意。 2.tabbleviewcell reload导致cell样试没有保留。所以需要用额外的变量来保存。 ------- tableviewcell是 阅读全文
posted @ 2015-05-04 23:58 KerryJava 阅读(191) 评论(0) 推荐(0)
学习ios
摘要:Tabbar navigation uinavigation parentViewController1. main 函数的类2. tcp udp3. instancetype 与 id的差别4. autopoolrealease5. ios 8 new feature6. GCD如何确实两个队列中... 阅读全文
posted @ 2015-05-03 21:51 KerryJava 阅读(179) 评论(0) 推荐(0)
ios理解 -- Pro Mutlithreading and Memory Management for iOS and OS X with ARC, Grand Central Dispatch, and Blocks
摘要:Capturing automatic variablesNext, you need to learn what the “together with automatic (local) variables” part means. For Blocks, this can be rephrase... 阅读全文
posted @ 2015-05-03 21:46 KerryJava 阅读(203) 评论(0) 推荐(0)
 

公告


博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3