Jan
26
发条消息就能破解iPhone?
Published 14:01 Jan 26, 2024 by @ezra.
#Hacking# 前几天在网上冲浪的时候看到了一条相当震撼的消息:
简单来讲,就是主打封闭安全的 iPhone ,不仅被攻击者发现了漏洞成功入侵,完全控制整个手机。
更加抽象的是入侵的还是知名杀毒软件卡巴斯基团队成员的...
Jun
13
WWDC 2018 Summary for iOS developers
Published 12:06 Jun 13, 2018 by @ezra.
#Programming# WWDC 2018 Summary for iOS developers.
What's new in Xcode 10
An ability to launch XCTest and XCUITe...
Jun
13
What’s new in Swift 4.2?
Published 12:06 Jun 13, 2018 by @ezra.
#Programming# Swift 4.2 is the second minor release of Swift 4, and brings with it another raft of awesome improve...
Jun
11
Swift struct type recursion
Published 12:06 Jun 11, 2018 by @ezra.
#Programming# the enums in Swift support recursive types using the indirect keyword so you can do something like:
...
Mar
05
Swift: Codable not decoding properties with subclasses
Published 12:03 Mar 05, 2018 by @ezra.
#Programming# In this code, the groceries properties is not deserialised from JSON. The name property is, but not ...
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...