Skip to content

Commit a97a17a

Browse files
authored
Merge pull request #21 from ra1028/chore/lower-case-repo-name
chore: Replace all upper case repo/library names with lower case letter
2 parents ed52e03 + 6a0ee32 commit a97a17a

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed

Examples/Examples.xcodeproj/project.pbxproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
5D7A73D3A88005D39142AA01 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; };
6666
5EE16AC7E6A5C62C32868DDE /* App.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = App.swift; sourceTree = "<group>"; };
6767
65ED06BAB6A47DBDBE4B7D43 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; };
68-
6A4277642C7FCF9F14B33FDC /* SwiftUI-Hooks */ = {isa = PBXFileReference; lastKnownFileType = folder; name = "SwiftUI-Hooks"; path = ..; sourceTree = SOURCE_ROOT; };
68+
68BC43055108D13B0F54B8D4 /* swiftui-hooks */ = {isa = PBXFileReference; lastKnownFileType = folder; name = "swiftui-hooks"; path = ..; sourceTree = SOURCE_ROOT; };
6969
6CD5F67CEEAFE74811B93864 /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = "<group>"; };
7070
803EE7E5F67D8627C8A11060 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; };
7171
86069121E82E72BAE07609D9 /* BasicUsage.app */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = wrapper.application; path = BasicUsage.app; sourceTree = BUILT_PRODUCTS_DIR; };
@@ -194,7 +194,7 @@
194194
7E899D0C531F0E3FE49D97BB /* Packages */ = {
195195
isa = PBXGroup;
196196
children = (
197-
6A4277642C7FCF9F14B33FDC /* SwiftUI-Hooks */,
197+
68BC43055108D13B0F54B8D4 /* swiftui-hooks */,
198198
);
199199
name = Packages;
200200
sourceTree = SOURCE_ROOT;

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ test: test-library build-examples
4242
.PHONY: test-library
4343
test-library:
4444
for platform in "$(TEST_PLATFORM_IOS)" "$(TEST_PLATFORM_MACOS)" "$(TEST_PLATFORM_TVOS)" "$(TEST_PLATFORM_WATCHOS)"; do \
45-
xcodebuild test -scheme SwiftUI-Hooks -destination platform="$$platform"; \
45+
xcodebuild test -scheme swiftui-hooks -destination platform="$$platform"; \
4646
done
4747
cd Examples \
4848
&& xcodebuild test -scheme Todo-UITests -destination platform="$(TEST_PLATFORM_IOS)" \

Package.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import Foundation
44
import PackageDescription
55

66
let package = Package(
7-
name: "SwiftUI-Hooks",
7+
name: "swiftui-hooks",
88
platforms: [
99
.iOS(.v13),
1010
.macOS(.v10_15),

README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<h1 align="center">SwiftUI Hooks</h1>
22
<p align="center">A SwiftUI implementation of <a href="https://reactjs.org/docs/hooks-intro.html">React Hooks</a>.</p>
33
<p align="center">Enhances reusability of stateful logic and gives state and lifecycle to function view.</p>
4-
<p align="center"><a href="https://ra1028.github.io/SwiftUI-Hooks/documentation/hooks">📔 API Reference</a></p>
4+
<p align="center"><a href="https://ra1028.github.io/swiftui-hooks/documentation/hooks">📔 API Reference</a></p>
55
<p align="center">
6-
<a href="https://github.com/ra1028/SwiftUI-Hooks/actions"><img alt="test" src="https://github.com/ra1028/SwiftUI-Hooks/workflows/test/badge.svg"></a>
7-
<a href="https://github.com/ra1028/SwiftUI-Hooks/releases/latest"><img alt="release" src="https://img.shields.io/github/v/release/ra1028/SwiftUI-Hooks.svg"/></a>
6+
<a href="https://github.com/ra1028/swiftui-hooks/actions"><img alt="test" src="https://github.com/ra1028/swiftui-hooks/workflows/test/badge.svg"></a>
7+
<a href="https://github.com/ra1028/swiftui-hooks/releases/latest"><img alt="release" src="https://img.shields.io/github/v/release/ra1028/swiftui-hooks.svg"/></a>
88
<a href="https://developer.apple.com/swift"><img alt="Swift5" src="https://img.shields.io/badge/language-Swift5-orange.svg"></a>
99
<a href="https://developer.apple.com"><img alt="Platform" src="https://img.shields.io/badge/platform-iOS%20%7C%20macOS%20%7C%20tvOS%20%7C%20watchOS%20%7C-green.svg"></a>
1010
<a href="LICENSE"><img alt="license" src="https://img.shields.io/badge/license-MIT-black.svg"></a>
@@ -82,28 +82,28 @@ import Hooks
8282
From Xcode menu: `File` > `Swift Packages` > `Add Package Dependency`
8383

8484
```text
85-
https://github.com/ra1028/SwiftUI-Hooks
85+
https://github.com/ra1028/swiftui-hooks
8686
```
8787

8888
#### [Swift Package Manager](https://www.swift.org/package-manager)
8989

9090
In your `Package.swift` file, first add the following to the package `dependencies`:
9191

9292
```swift
93-
.package(url: "https://github.com/ra1028/SwiftUI-Hooks"),
93+
.package(url: "https://github.com/ra1028/swiftui-hooks"),
9494
```
9595

9696
And then, include "Hooks" as a dependency for your target:
9797

9898
```swift
9999
.target(name: "<target>", dependencies: [
100-
.product(name: "Hooks", package: "SwiftUI-Hooks"),
100+
.product(name: "Hooks", package: "swiftui-hooks"),
101101
]),
102102
```
103103

104104
### Documentation
105105

106-
- [API Reference](https://ra1028.github.io/SwiftUI-Hooks/documentation/hooks)
106+
- [API Reference](https://ra1028.github.io/swiftui-hooks/documentation/hooks)
107107
- [Example apps](Examples)
108108

109109
---

Sources/Hooks/Hooks.docc/Hooks.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Furthermore, hooks such as useEffect also solve the problem of lack of lifecycle
1010

1111
## Source Code
1212

13-
<https://github.com/ra1028/SwiftUI-Hooks>
13+
<https://github.com/ra1028/swiftui-hooks>
1414

1515
## Topics
1616

Tools/Package.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import PackageDescription
55
let package = Package(
66
name: "Tools",
77
dependencies: [
8-
.package(name: "SwiftUI-Hooks", path: ".."),
8+
.package(name: "swiftui-hooks", path: ".."),
99
.package(url: "https://github.com/apple/swift-docc-plugin", exact: "1.0.0"),
1010
.package(url: "https://github.com/apple/swift-format.git", exact: "0.50600.0"),
1111
.package(url: "https://github.com/yonaskolb/XcodeGen.git", exact: "2.28.0"),

0 commit comments

Comments
 (0)