Skip to content

Commit b01f751

Browse files
committed
feat: Update README.md
[ci skip]
1 parent ef3c294 commit b01f751

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

README.md

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
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/[email protected]?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/[email protected]?style=flat&logo=twitter)](https://twitter.com/capture_context)
44

55
Standard 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

8785
CoW 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

0 commit comments

Comments
 (0)