title: Pagecontrol for label in swift
body: <p>I have view controller which displays some text in the label with scrollview but I want to create a page control for that label meaning that different texts in labels with page control. I have following code for label.</p>
  
  <p>import Foundation
    import UIKit</p>
  
  <pre><code> class tips : UIViewController {
  
  
  
  @IBOutlet weak var tipsscroll: UIScrollView!
  
  @IBOutlet weak var solutionlabel: UILabel!
  override func viewDidLoad() {
      super.viewDidLoad()
  
  
  
      solutionlabel.text = "Some text"
  
      solutionlabel.numberOfLines = 0
      solutionlabel.lineBreakMode = NSLineBreakMode.byWordWrapping
     // solutionlabel.font = UIFont(name:"HelveticaNeue-Bold", size: 14.0)
  
  
  }
  </code></pre>
  
  <p>Thanks in advance.</p>