Skip to content

Instantly share code, notes, and snippets.

@aresxin
aresxin / AttributedStringBuilder.swift
Created November 16, 2021 08:33
AttributedStringBuilder
import Foundation
import UIKit
typealias Text = NSMutableAttributedString
typealias TextImage = (UIImage, CGSize)
public extension NSAttributedString {
convenience init(@AttributedStringBuilder _ builder: () -> NSAttributedString) {
self.init(attributedString: builder())
}
## 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
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一个超酷的命令行扩展工具,帮你打造超级终端。
@aresxin
aresxin / BuildTimeLapseViewController.swift
Created June 6, 2016 08:57 — forked from acj/ATTENTION.md
Build a movie from jpeg images in Swift using AVFoundation
//
// BuildTimelapseViewController.swift
//
// Created by Adam Jensen on 5/9/15.
//
import JGProgressHUD
import JoePro
import UIKit
@aresxin
aresxin / Swift
Last active January 10, 2018 05:03
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