Skip to content

Commit

Permalink
working on basic sample for Horizontal case.
Browse files Browse the repository at this point in the history
  • Loading branch information
superbderrick committed Sep 24, 2017
1 parent bd7483a commit 3ff331d
Showing 1 changed file with 26 additions and 13 deletions.
39 changes: 26 additions & 13 deletions Example/basicExample/SummerSlider/HorizontalViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,29 +7,42 @@
//

import UIKit

import SummerSlider
class HorizontalViewController: UIViewController {

var testSlider1:SummerSlider!
var testSlider2:SummerSlider!
var testSlider3:SummerSlider!

let testRect1 = CGRect(x:30 ,y:100 , width:300 , height:30)
let testRect2 = CGRect(x:30 ,y:150 , width:300 , height:30)
let testRect3 = CGRect(x:30 ,y:200 , width:300 , height:30)

override func viewDidLoad() {
super.viewDidLoad()

// Do any additional setup after loading the view.

testSlider1 = SummerSlider(frame: testRect1)


testSlider2 = SummerSlider(frame: testRect2)

testSlider3 = SummerSlider(frame: testRect3)



self.view.addSubview(testSlider1)
self.view.addSubview(testSlider2)
self.view.addSubview(testSlider3)


}

override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
// Dispose of any resources that can be recreated.

}


/*
// MARK: - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
// Get the new view controller using segue.destinationViewController.
// Pass the selected object to the new view controller.
}
*/


}

0 comments on commit 3ff331d

Please sign in to comment.