Skip to content

Instantly share code, notes, and snippets.

View Madman-dev's full-sized avatar
🐢
Loading...

Jack Lee Madman-dev

🐢
Loading...
View GitHub Profile
@lattner
lattner / TaskConcurrencyManifesto.md
Last active July 21, 2024 05:08
Swift Concurrency Manifesto
@crisbit
crisbit / ViewWithDynamicWidthScrollingView.swift
Last active June 30, 2024 00:06
How to make a dynamic height scroll view programmatically in swift (using SnapKit)
import Foundation
class ViewWithDynamicWidthScrollingView: UIView {
convenience init() {
self.init(frame: CGRectMake(0, 0, UIScreen.mainScreen().bounds.width, UIScreen.mainScreen().bounds.height))
}
override init(frame: CGRect) {
super.init(frame: frame)