Date
Sep. 17th, 2024
 
2024年 8月 15日

Post Tag: "iOS" #4

A Developer's Faux Pas
iOS
181 posts tagged as #iOS#.
Jan
28
iOS : 模拟微信红包照片
Published 12:01 Jan 28, 2016 by @ezra.
#Programming# 上一篇博客用 HTML5 + CSS3 实现了一个简单的微信红包照片的效果,那当然少不了街机 iPhone 中的实现。 iOS 实现这个效果常用的有三种方式: CoreImage 绘图 CAL...
Jan
26
Using the View Hierarchy and Console for easier debugging
Published 12:01 Jan 26, 2016 by @ezra.
#Programming# At some point in life, you are gonna work with a codebase that you didn't write from the very beginn...
Jan
05
Objective-C: weakSelf
Published 12:01 Jan 05, 2016 by @ezra.
#Programming# The correct way to define a weak object is: __typeof__(obj) __weak wobj = obj; Note that having __...
Dec
29
AppleDoc: Docset Generator
Published 12:12 Dec 29, 2015 by @ezra.
#Programming# Appledoc 是一个命令行工具,用来生成 .docset 文件。 文档风格默认与苹果保持一致的。 开源 生成 docset 并自动集成到 Xcode 中 没有特殊的注释要求,可以用...
Dec
10
CoreData 与 SQLite 线程安全
Published 12:12 Dec 10, 2015 by @ezra.
#Programming# 数据库读取操作一般都是多线程访问的。在对数据进行读取时,我们要保证其当前状态不能被修改,即读取时加锁,否则就会出现数据错误混乱。 iOS中常用的两种数据持久化存储方式: CoreData SQLit...
Dec
02
iOS : HealthKit 牛刀小试
Published 12:12 Dec 02, 2015 by @ezra.
#Programming# HealthKit 发布已经很久了,最近有机会用到,小试一把。 Framework 首先要导入 HealthKit.framework 框架,在 Build Phases 下 Link Binary ...
Nov
29
Download the Xcode Documentations
Published 12:11 Nov 29, 2015 by @ezra.
#Programming# 由于 Xcode 中的自带的文档为在线文档,不包含离线 HTML 文件,然而 Xcode 中的下载速度又实在让人无奈,所以本文主要介绍如何加速下载 Xcode 文档的问题。 首先需要访问苹果官网的 X...
Nov
23
Work with CocoaPods and Gemfile
Published 12:11 Nov 23, 2015 by @ezra.
#Programming# 工作在一个 iOS 开发团队中,可能会有很多关于安装 CocoaPods 的问题。团队成员拥有不同的 cocoapods gem 的安装版本,并且当有人运行 pod install 时,会将事情搞得一...
Nov
20
Swift : Changing the Value of Struct in an Array
Published 12:11 Nov 20, 2015 by @ezra.
#Programming# 今天帮朋友看了这样一个问题: import UIKit struct A { var a:Bool } struct B { var b : String var ba :...
Nov
20
怎样验证 Xcode 来源
Published 12:11 Nov 20, 2015 by @ezra.
#Programming# 由于 Xcode Ghost 肆虐,苹果提供了验证 Xcode 来源的方法,需要使用终端: spctl --assess --verbose /Applications/Xcode.app 其中 ...
Nov
07
The best way to create constants in Objective-C
Published 12:11 Nov 07, 2015 by @ezra.
#Programming# The first question is what scope you want your constants to have, which is really two questions: Ar...
Nov
01
iOS: WKWebView Useage
Published 12:11 Nov 01, 2015 by @ezra.
#Programming# iOS8以后, 苹果推出了新框架Wekkit, 提供了替换UIWebView的组件WKWebView。各种UIWebView的问题没有了, 速度更快了, 占用内存少了, 一句话, WKWebView是...
Pinned Message
HOTODOGO
The Founder and CEO of Infeca Technology.
Developer, Designer, Blogger.
Big fan of Apple, Love of colour.
Feel free to contact me.
反曲点科技创始人和首席执行官。
程序猿、设计师、奇怪的博主。
苹果死忠、热爱色彩斑斓的世界。
如有意向请随时 与我联系