Jan
21
Tkinter Cheatsheet
Published 10:01 Jan 21, 2018 by @ezra.
#Programming# Hello World
We always need to follow two steps no matter how big the application is, there is always...
Jan
06
CSS Selectors Cheatsheet
Published 17:01 Jan 06, 2018 by @ezra.
#Programming#
Selector
Example
Example description
.class
.intro
Selects all elements with class="i...
Jan
05
Swift: Return instancetype
Published 12:01 Jan 05, 2018 by @ezra.
#Programming# To return instancetype in Swift, you can define a generic helper method which infers the type of sel...
Jan
03
CocoaPods: Encountered an unknown error (Pod::DSLError) during validation
Published 12:01 Jan 03, 2018 by @ezra.
#Programming# 在发布到 CocoaPods 是如果遇到下面的问题:
Validating podspec
-> UIMessageBar (1.0.0)
- ERROR | [iOS] unknow...
Dec
28
Swift: Codable With Custom Dates
Published 12:12 Dec 28, 2017 by @ezra.
#Programming# How do you decode a JSON feed that has several custom date formats? If you are lucky using a dateDec...
Dec
21
Swift: Access Levels
Published 12:12 Dec 21, 2017 by @ezra.
#Programming# You may not have noticed but there was a small but important change to the private access level in S...
Dec
18
LAContext.biometryType returns LABiometryType.none in iOS 11
Published 12:12 Dec 18, 2017 by @ezra.
#Programming# I'm trying to support FaceID in my application.
Running LAContect().canEvaluatePolicy(.deviceOwnerAu...
Sep
27
What is TIC Read Status?
Published 12:09 Sep 27, 2017 by @ezra.
#Programming# Apple staff gave the following answer:
TIC expands to "TCP I/O connection", which is a subsystem wi...
Sep
25
Disable the full swipe on a tableview cell in iOS 11
Published 12:09 Sep 25, 2017 by @ezra.
#Programming# Implement like below:
func tableView(_ tableView: UITableView, trailingSwipeActionsConfigurationForR...
Sep
10
NYTimes Objective-C Style Guide/纽约时报 移动团队 Objective-C 规范指南
Published 12:09 Sep 10, 2017 by @ezra.
#Programming#
English Version
中文版本
English
This style guide outlines the coding conventions of the iOS teams at...
Sep
10
Swift 代码规范
Published 12:09 Sep 10, 2017 by @ezra.
#Programming# 这是什么
这是一份 Swift 代码规范和约定, 它存在的目的是:
提高代码明确性, 避免意外错误
减少冗余
增强美感及可读性
留白和空行
行首空白用 Tabs 而非 空格
文件结束时留一行空行...
Sep
10
The Objective-C Style Guide/Objective-C 规范指南
Published 12:09 Sep 10, 2017 by @ezra.
#Programming#
English Version
中文版本
English
This style guide outlines the coding conventions for {{ site.author }...