Skip to content

Commit

Permalink
Typo fix, update to 0.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
E13Lau committed Jun 5, 2021
1 parent d9720c2 commit aef69a3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
4 changes: 2 additions & 2 deletions DotKit.podspec
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
Pod::Spec.new do |spec|
spec.name = 'DotKit'
spec.version = '0.0.2'
spec.version = '0.0.3'
spec.summary = 'DotKit'
spec.homepage = 'https://github.com/E13Lau/DotKit'
spec.license = 'MIT'
spec.author = 'e13lau'
spec.module_name = 'DotKit'
spec.source = { :git => 'https://github.com/E13Lau/DotKit.git', :tag => '0.0.2' }
spec.source = { :git => 'https://github.com/E13Lau/DotKit.git', :tag => '0.0.3' }
spec.source_files = 'Sources/DotKit/**/*.swift'
spec.swift_version = '5.0'

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ A description of this package.

```swift
dependencies: [
.package(url: "https://github.com/E13Lau/DotKit.git", from: "0.0.2"),
.package(url: "https://github.com/E13Lau/DotKit.git", from: "0.0.3"),
]
```

```ruby
pod 'DotKit', '~> 0.0.2'
pod 'DotKit', '~> 0.0.3'
```

## Usage
Expand Down
7 changes: 3 additions & 4 deletions Sources/DotKit/DotKit.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,13 @@ public struct Dotkit<Base> {
}
}


public protocol DotkitWrappalbe {
public protocol DotkitWrappable {
associatedtype T
var dk: T { get }
static var dk: T.Type { get }
}

extension DotkitWrappalbe {
extension DotkitWrappable {
public var dk: Dotkit<Self> {
return Dotkit(base: self)
}
Expand All @@ -24,4 +23,4 @@ extension DotkitWrappalbe {
}
}

extension NSObject: DotkitWrappalbe { }
extension NSObject: DotkitWrappable { }

0 comments on commit aef69a3

Please sign in to comment.