     @IBAction func backToMain(sender: AnyObject) {
         navigationController?.popViewControllerAnimated(true)
     }
+    
     let settingIdentifier = "settingIdentifier"
-    private let settingLabel = ["Interval" , "Pulsation"]
-    //private let settingLabelDetail = ["Interval" , "pulsation"]
+    private let settingLabel = ["Interval" , "Vibration"]
+    enum AlarmInterval: String {
+        case Once="Once", EveryDay="EveryDay", WeekDay="WeekDay", WeekEnd="WeekEnd"
+    }
+    var settingLabelDetail:AlarmInterval = .Once
     func numberOfSectionsInTableView(tableView: UITableView) -> Int {
         // Return the number of sections.
         return 1

    func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {
        var cell = tableView.dequeueReusableCellWithIdentifier(
        settingIdentifier) as? UITableViewCell
        if (cell == nil) {
        cell = UITableViewCell(
        style: UITableViewCellStyle.Value1, reuseIdentifier: settingIdentifier)
        }
        
        cell!.textLabel!.text = settingLabel[indexPath.row]
        cell!.detailTextLabel!.text = "test"
        return cell!
    }
    
    
    /*

import MediaPlayer


class AlarmAddViewController: UIViewController, MPMediaPickerControllerDelegate, UITableViewDelegate,  UITableViewDataSource{

    @IBOutlet weak var datePicker: UIDatePicker!
    var mediaItem: MPMediaItem?
    static var isVibration:Bool = false
    
    override func viewDidLoad() {
        super.viewDidLoad()
