From b6cb3f8bba19682f98198a96d3bf9f07fb945546 Mon Sep 17 00:00:00 2001 From: Ryo Tsuzukihashi Date: Sat, 13 Jul 2024 13:01:17 +0900 Subject: [PATCH] Update README.md --- README.md | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) 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") +```