Oct
                
                
                14
            iOS 小知识: 获取网页内容高度
            
                Published 12:10 Oct 14, 2014 by @ezra.
            
            
                #Programming# 介绍一些 iOS 小知识。
获取 Web 页面内容高度
利用 JavaScript 来实现,一般写在 UIWebView 代理中。
- (void)webViewDidFinishLoad:(UIWe...
            
            
            
        
            
            Oct
                
                
                14
            iOS 小知识: 防止锁屏
            
                Published 12:10 Oct 14, 2014 by @ezra.
            
            
                #Programming# 介绍一些 iOS 小知识。
防止锁屏
[[UIApplication sharedApplication] setIdleTimerDisabled:YES];...
            
            
            
        
            
            Oct
                
                
                09
            iOS apps and the Open Source they use
            
                Published 12:10 Oct 09, 2014 by @ezra.
            
            
                #Programming# I've compiled a list of six popular iPhone apps and the iOS Open Source Software they use.
I've also...
            
            
            
        
            
            Sep
                
                
                25
            如何在 Github 搭建静态博客
            
                Published 12:09 Sep 25, 2014 by @ezra.
            
            
                #Programming# 其实最初做这个博客,可能是因为我暗藏了一颗文青的心,后来老有人问我博客怎么做的,想来想去干脆写个教程好了。
引言
这样的博客系统适合哪些人群呢?
不想、或者不愿意租用服务器
不想、或者不熟悉后端代码...
            
            
            
        
            
            Sep
                
                
                20
            iOS: 获取应用版本
            
                Published 12:09 Sep 20, 2014 by @ezra.
            
            
                #Programming# 获取 iOS 应用版本信息:
- (NSString *)applicationVersion {
    return [[[NSBundle mainBundle] infoDictionary]...
            
            
            
        
            
            Sep
                
                
                16
            UNIX/Linux Command: find
            
                Published 12:09 Sep 16, 2014 by @ezra.
            
            
                #Technology# find 是 UNIX/Linux 系统中用于查找档案的命令,这里我们来看一下它的用法和相关选项。
命令用法
`find path -option [ -print ] [ -exec -ok com...
            
            
            
        Sep
                
                
                15
            reStructuredText 怎么玩
            
                Published 12:09 Sep 15, 2014 by @ezra.
            
            
                #Mark-up# 其实之前写过一篇 关于 AsciiDoc 的博文,其中提到过 reStructuredText ,最近赋闲,有朋友问了我关于 reStructuredText 的问题,于是也就有了写这篇语法入门的念头...
            
            
            
        Sep
                
                
                13
            Markdown Syntax
            
                Published 12:09 Sep 13, 2014 by @ezra.
            
            
                #Mark-up# Markdown是一种可以使用普通文本编辑器编写的标记语言,通过类似HTML的标记语法,它可以使普通文本内容具有一定的格式。
Markdown具有一系列衍生版本,用于扩展Markdown的功能 (如表...
            
            
            
        
            
            Sep
                
                
                12
            Cocoa/Cocoa Touch: Hex Color
            
                Published 12:09 Sep 12, 2014 by @ezra.
            
            
                #Programming# 将 Hex 颜色 (例如 #ffffff) 转换为 UIColor/NSColor, 以 UIColor 举例:
我们通过分类方式实现:
@implementation UIColor (MXColo...
            
            
            
        
            
            Sep
                
                
                12
            iOS: Copy UIColor
            
                Published 12:09 Sep 12, 2014 by @ezra.
            
            
                #Programming# UIColor 实例默认是不支持 copy 操作的, 但有时候我们还是需要这样的操作, 怎么实现呢?
// @implementation UIImage (Copying)
+ (UIImage *...
            
            
            
        
            
            Sep
                
                
                11
            iOS : lldb 浅析
            
                Published 12:09 Sep 11, 2014 by @ezra.
            
            
                #Programming# 做 iOS 开发的小伙伴们肯定对 gdb 和 lldb 不陌生,即便你不知道它是什么。
概念
lldb 都是 Xcode 中的调试器工具,如果你使用的是 Xcode 5 (或是 4.3,记不清了)以后...
            
            
            
        
            
            Sep
                
                
                08
            Swift 学习资源
            
                Published 12:09 Sep 08, 2014 by @ezra.
            
            
                #Programming# 本文罗列了一些比较好的 Swift 学习资源。
苹果公司在WWDC 2014上宣布了他们将会推出一款新的编程语言,面向iOS和OS X系统的开发人员,这个新的语言被命名为Swift。
Swift在i...