Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.

Commit

Permalink
Made more properties public
Browse files Browse the repository at this point in the history
These were supposed to be public from the start. I must not have
noticed until converting it to use frameworks. Since it was in the same
target, it was able to access the methods.
  • Loading branch information
cjwirth committed Oct 5, 2015
1 parent 0ad8efc commit 4e8fda2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions RichEditorView/Classes/RichEditorView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -98,15 +98,15 @@ public class RichEditorView: UIView {
The placeholder text that should be shown when there is no user input.
To set, use `setPlaceholderText(text: String)`
*/
private(set) var placeholder: String = ""
public private(set) var placeholder: String = ""

private var editorLoaded = false

/**
The internal height of the text being displayed.
Is continually being updated as the text is edited.
*/
private(set) var editorHeight: Int = 0 {
public private(set) var editorHeight: Int = 0 {
didSet {
delegate?.richEditor(self, heightDidChange: editorHeight)
}
Expand All @@ -116,7 +116,7 @@ public class RichEditorView: UIView {
The content HTML of the text being displayed.
Is continually updated as the text is being edited.
*/
private(set) var contentHTML: String = "" {
public private(set) var contentHTML: String = "" {
didSet {
delegate?.richEditor(self, contentDidChange: contentHTML)
}
Expand Down

0 comments on commit 4e8fda2

Please sign in to comment.