You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14-37Lines changed: 14 additions & 37 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -178,7 +178,7 @@ You can also use `+` operator to add a style to a plain or attributed string:
178
178
let attStr ="Hello"+ ("\(username)"+ big)
179
179
```
180
180
181
-
Finally you can concatente strings usint function builders:
181
+
Finally you can concatente strings using function builders:
182
182
183
183
```swift
184
184
let bold =Style { ... }
@@ -705,8 +705,7 @@ The following properties are available:
705
705
706
706
## Requirements
707
707
708
-
SwiftRichString is compatible with Swift 5.1+ on:
709
-
708
+
* Swift 5.1+
710
709
* iOS 8.0+
711
710
* macOS 10.10+
712
711
* watchOS 2.0+
@@ -716,51 +715,29 @@ SwiftRichString is compatible with Swift 5.1+ on:
716
715
717
716
## Installation
718
717
719
-
<aname="cocoapods" />
720
-
721
-
### Install via CocoaPods
722
-
723
-
[CocoaPods](http://cocoapods.org) is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries like SwiftRichString in your projects. You can install it with the following command:
724
-
725
-
```bash
726
-
$ sudo gem install cocoapods
727
-
```
728
-
729
-
> CocoaPods 1.8+ is required to build SwiftRichString.
718
+
### CocoaPods
730
719
731
-
#### Install via Podfile
732
-
733
-
To integrate SwiftRichString into your Xcode project using CocoaPods, specify it in your `Podfile`:
720
+
[CocoaPods](https://cocoapods.org/) is a dependency manager for Cocoa projects. For usage and installation instructions, visit their website. To integrate Alamofire into your Xcode project using CocoaPods, specify it in your Podfile:
734
721
735
722
```ruby
736
-
source 'https://github.com/CocoaPods/Specs.git'
737
-
platform :ios, '8.0'
738
-
739
-
target 'TargetName'do
740
-
use_frameworks!
741
723
pod 'SwiftRichString'
742
-
end
743
724
```
744
725
745
-
Then, run the following command:
726
+
### Swift Package Manager
746
727
747
-
```bash
748
-
$ pod install
749
-
```
750
-
751
-
<aname="carthage" />
752
-
753
-
### Carthage
728
+
The [Swift Package Manager](https://swift.org/package-manager/) is a tool for automating the distribution of Swift code and is integrated into the swift compiler. It is in early development, but Alamofire does support its use on supported platforms.
754
729
755
-
[Carthage](https://github.com/Carthage/Carthage) is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.
730
+
Once you have your Swift package set up, adding Alamofire as a dependency is as easy as adding it to the dependencies value of your Package.swift.
756
731
757
-
You can install Carthage with [Homebrew](http://brew.sh/) using the following command:
[Carthage](https://github.com/Carthage/Carthage) is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.
764
741
To integrate SwiftRichString into your Xcode project using Carthage, specify it in your `Cartfile`:
0 commit comments