Skip to content

Commit

Permalink
[Changed] Update screenshots in README
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanhuang13 committed Jul 18, 2019
1 parent 9f50538 commit 405aa1f
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ Just like a SwiftUI `Text` takes a `String` as input, the purpose of `Attributed

To achieve this, `AttributedText.swift` uses `@NSAttributedStringBuilder` to support SwiftUI-style syntax:

![AttributedText.swift](demo2.png)
![AttributedText.swift](demo2.jpg)

Then using an `AttributedText` will be like:
![demo](demo.png)
![ContentView.swift](demo.jpg)

Open the sample in ***/SwiftUISampleApp/AttributedTextSample.xcodeproj*** and check `AttributedText`. It uses `UITextView`, you can also use `UILabel` or `NSTextView`.

Expand Down
Binary file added demo.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed demo.png
Binary file not shown.
Binary file added demo2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed demo2.png
Binary file not shown.

0 comments on commit 405aa1f

Please sign in to comment.