Yet Another Swift Blog
Asynchronous Image Loading from URL in SwiftUI
Modern Networking in Swift 5 with URLSession, Combine and Codable
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
import UIKit | |
typealias Text = NSMutableAttributedString | |
typealias TextImage = (UIImage, CGSize) | |
public extension NSAttributedString { | |
convenience init(@AttributedStringBuilder _ builder: () -> NSAttributedString) { | |
self.init(attributedString: builder()) | |
} |
https://developer.apple.com/documentation/foundation/formatter/displaying_human-friendly_content
https://www.swiftbysundell.com/articles/exploring-some-of-the-lesser-known-formatter-types/
https://developer.apple.com/videos/play/wwdc2020/10160/
https://developer.apple.com/documentation/foundation/data_formatting
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Creating Launch Daemons and Agents | |
https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/CreatingLaunchdJobs.html | |
## PKG | |
### productbuild | |
https://www.manpagez.com/man/1/productbuild/ | |
https://developer.apple.com/library/archive/documentation/DeveloperTools/Reference/DistributionDefinitionRef/Chapters/Distribution_XML_Ref.html | |
https://developer.apple.com/library/archive/documentation/DeveloperTools/Reference/DistributionDefinitionRef/Chapters/Introduction.html#//apple_ref/doc/uid/TP40005370-CH1-DontLinkElementID_16 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Gitkraken是一个炫酷又非常容易上手的Git图形化工具,可以自动添加GitFlow | |
Gitscout可浏览、组织以及管理你的GitHub Issues | |
GitBar是菜单栏上的git提醒工具 | |
Build Time Analyzer是一款适用于Swift的实用编译时间分析工具 | |
Tomato One是一个可提高工作效率的番茄时钟 | |
WatchDog可自动清理DerivedData,而无需退出Xcode或者重启macOS | |
Cakebrew是图形化管理Homebrew的一个软件 | |
Liya可通过单个界面同时访问MySQL、PostgreSQL以及SQLite3三种数据库系统 | |
Quiver是专为程序员打造的notebook,支持文本、代码、Markdown和LaTeX文件混编,通过代码编辑器编辑代码,并支持实时预览。 | |
Oh My Zsh一个超酷的命令行扩展工具,帮你打造超级终端。 |
Swift SQLite ORM 框架 - GRDB.swift 使用
1.IGListKit [UICollectionView 框架] -> pod 'IGListKit', '~> 2.0.0
2.Realm [移动端数据库] -> pod 'RealmSwift’
3.Moya [抽象网络层] -> pod 'Moya', ‘8.0.0’
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// BuildTimelapseViewController.swift | |
// | |
// Created by Adam Jensen on 5/9/15. | |
// | |
import JGProgressHUD | |
import JoePro | |
import UIKit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1.API Design Guidelines | |
https://swift.org/documentation/api-design-guidelines/ | |
2.Protocol-Oriented Programming in Swift | |
<iOS 9 Tutorial Series: Protocol-Oriented Programming with UIKit> | |
https://www.captechconsulting.com/blogs/ios-9-tutorial-series-protocol-oriented-programming-with-uikit | |
<Swift 2.0之初识面向协议编程> | |
http://www.jianshu.com/p/3bff58e6bd8b | |
3.functional programming |