File tree Expand file tree Collapse file tree 1 file changed +12
-13
lines changed
Expand file tree Collapse file tree 1 file changed +12
-13
lines changed Original file line number Diff line number Diff line change 11# swift-foundation-extensions
22
3- [ ![ SwiftPM 5.9] ( https://img.shields.io/badge/swiftpm-5.9-ED523F.svg?style=flat )] ( https://swift.org/download/ ) ![ Platforms] ( https://img.shields.io/badge/Platforms-iOS_13_|_macOS_10.15_|_tvOS_14_|_watchOS_7-ED523F.svg?style=flat ) [ ![ @capture_context] ( https://img.shields.io/badge/contact-@capturecontext-1DA1F2.svg?style=flat&logo=twitter )] ( https://twitter.com/capture_context )
3+ [ ![ CI ] ( https://github.com/CaptureContext/swift-foundation-extensions/actions/workflows/ci.yml/badge.svg )] ( https://github.com/CaptureContext/swift-foundation-extensions/actions/workflows/ci.yml ) [ ![ SwiftPM 5.9] ( https://img.shields.io/badge/swiftpm-5.9-ED523F.svg?style=flat )] ( https://swift.org/download/ ) ![ Platforms] ( https://img.shields.io/badge/Platforms-iOS_13_|_macOS_10.15_|_tvOS_14_|_watchOS_7-ED523F.svg?style=flat ) [ ![ @capture_context] ( https://img.shields.io/badge/contact-@capturecontext-1DA1F2.svg?style=flat&logo=twitter )] ( https://twitter.com/capture_context )
44
55Standard extensions for Foundation framework
66
7- Macros: [ ` swift-foundation-extensions-macros ` ] ( https://github.com/capturecontext/swift-foundation-extensions-macros )
8-
97- [ Documentation] ( https://swiftpackageindex.com/CaptureContext/swift-foundation-extensions/0.5.0/documentation/foundationextensions )
108- [ Contents] ( #contents )
119 - [ Coding] ( #coding )
@@ -86,6 +84,17 @@ state.redo() // value == 2
8684
8785CoW container, which allows you to recursively include single instances of value types
8886
87+ ``` swift
88+ struct ListNode <Value > {
89+ var value: Value
90+
91+ @Indirect
92+ var next: ListNode<Value >?
93+ }
94+ ```
95+
96+
97+
8998### PropertyProxy
9099
91100``` swift
@@ -177,16 +186,6 @@ extension UIViewController {
177186 )
178187 }()
179188
180- // Swizzle automatically when the first
181- // navigationController loads it's view
182- // for some classes you may have to make `swizzle`
183- // handle public and trigger it in the beginning
184- // of your app's lifetime (ex: in AppDelegate)
185- open override func loadView () {
186- UIViewController.swizzle
187- super .viewDidLoad ()
188- }
189-
190189 @objc dynamic
191190 private func __swizzledViewWillAppear (_ animated : Bool ) {
192191 __swizzledViewWillAppear (animated) // calls original method
You can’t perform that action at this time.
0 commit comments