diff --git a/README.md b/README.md index e04016c..b27ee87 100644 --- a/README.md +++ b/README.md @@ -1,19 +1,33 @@ # TsuzuKit -オレオレSwiftライブラリ - +オレオレ Swift ライブラリ + + + +### 部分角丸 -### 部分角丸 - PartlyRoundedCornerView -Useage -```.swift +Useage + +```swift .cornerRadius(20, maskedCorners: [.layerMinXMinYCorner, .layerMaxXMinYCorner]) ``` + ### HapticFeedback -```.swift +```swift HapticFeedback.notice(type: .success) HapticFeedback.impact(style: .medium) HapticFeedback.selection() ``` + +### Safe Access Collection + +```swift + import TsuzuKit + + ... + let collection: [String] = ["1", "2"] + print(collection[safe: 0]) // Optional("1") +```