Skip to content

Commit

Permalink
Drop support for CocoaPods and Carthage
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Feb 23, 2022
1 parent 7dea99c commit 1f0b2ec
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 26 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
xcuserdata
/.build
/Packages
/*.xcodeproj
Expand Down
15 changes: 14 additions & 1 deletion .swiftlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,13 @@ only_rules:
- discarded_notification_center_observer
- discouraged_assert
- discouraged_direct_init
- discouraged_none_name
- discouraged_object_literal
- discouraged_optional_boolean
- discouraged_optional_collection
- duplicate_enum_cases
- duplicate_imports
- duplicated_key_in_dictionary_literal
- dynamic_inline
- empty_collection_literal
- empty_count
Expand Down Expand Up @@ -137,7 +139,6 @@ only_rules:
- vertical_whitespace_closing_braces
- vertical_whitespace_opening_braces
- void_return
- weak_delegate
- xct_specific_matcher
- xctfail_message
- yoda_condition
Expand All @@ -160,12 +161,14 @@ identifier_name:
excluded:
- 'x'
- 'y'
- 'z'
- 'a'
- 'b'
- 'x1'
- 'x2'
- 'y1'
- 'y2'
- 'z2'
deployment_target:
macOS_deployment_target: '10.13'
custom_rules:
Expand All @@ -181,3 +184,13 @@ custom_rules:
regex: '\bNSPoint\b'
match_kinds: typeidentifier
message: 'Use CGPoint instead of NSPoint'
no_cgfloat:
regex: '\bCGFloat\b'
match_kinds: typeidentifier
message: 'Use Double instead of CGFloat'
no_cgfloat2:
regex: '\bCGFloat\('
message: 'Use Double instead of CGFloat'
final_class:
regex: '^class [a-zA-Z\d]+[^{]+\{'
message: 'Classes should be marked as final whenever possible. If you actually need it to be subclassable, just add `// swiftlint:disable:next final_class`.'
13 changes: 0 additions & 13 deletions Aperture.podspec

This file was deleted.

14 changes: 2 additions & 12 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,13 @@

## Install

#### Swift Package Manager
Add the following to `Package.swift`:

```swift
.package(url: "https://github.com/wulkano/Aperture", from: "1.0.0")
```

#### Carthage

```
github "wulkano/Aperture"
```

#### CocoaPods

```ruby
pod 'Aperture'
```
[Or add the package in Xcode.](https://developer.apple.com/documentation/xcode/adding_package_dependencies_to_your_app)

## Docs

Expand Down

0 comments on commit 1f0b2ec

Please sign in to comment.