Skip to content

Commit

Permalink
Example project added
Browse files Browse the repository at this point in the history
  • Loading branch information
onl1ner committed Aug 7, 2020
1 parent 45a195a commit 811578a
Show file tree
Hide file tree
Showing 48 changed files with 2,329 additions and 1 deletion.
2 changes: 1 addition & 1 deletion STTextView/STTextView.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |spec|
spec.name = "STTextView"
spec.version = "1.0.0"
spec.version = "1.0.1"

spec.summary = "STTextView is a lightweight CocoaPod that adds a placeholder to the UITextView."

Expand Down
Binary file not shown.
5 changes: 5 additions & 0 deletions STTextView/STTextView/STTextView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,11 @@ import UIKit
addPlaceholder()
}

public override init(frame: CGRect, textContainer: NSTextContainer?) {
// To avoid Interface Builder render and auto-layout issues
super.init(frame: frame, textContainer: textContainer)
}

required public init?(coder aDecoder: NSCoder) {
super.init(coder: aDecoder)

Expand Down
5 changes: 5 additions & 0 deletions STTextViewExample/Podfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
target 'STTextViewExample' do
use_frameworks!

pod "STTextView"
end
16 changes: 16 additions & 0 deletions STTextViewExample/Podfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
PODS:
- STTextView (1.0.1)

DEPENDENCIES:
- STTextView

SPEC REPOS:
https://github.com/cocoapods/specs.git:
- STTextView

SPEC CHECKSUMS:
STTextView: 67478041829eb038248c8d26bb37246c2bb60bc6

PODFILE CHECKSUM: 05c7be9c6a5ef4637b0d88ae662371d0f8d9a6b6

COCOAPODS: 1.7.2
16 changes: 16 additions & 0 deletions STTextViewExample/Pods/Manifest.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

605 changes: 605 additions & 0 deletions STTextViewExample/Pods/Pods.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions STTextViewExample/Pods/STTextView/LICENSE

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions STTextViewExample/Pods/STTextView/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 811578a

Please sign in to comment.