 class ListViewController: UITableViewController,
                             NSXMLParserDelegate {
     
-    enum ListViewControllerRSSType {
-        case ListViewControllerRSSTypeBNR
-        case ListViewControllerRSSTypeApple
+    enum ListViewControllerRSSType: Int {
+        case ListViewControllerRSSTypeBNR = 0
+        case ListViewControllerRSSTypeApple = 1
     }
     
     // - Properties
     
     
     var channel: RSSChannel?
+    var rssType: ListViewControllerRSSType = .ListViewControllerRSSTypeBNR
     var webViewController: WebViewController!
     
     init(nibName nibNameOrNil: String!, bundle nibBundleOrNil: NSBundle!) {

        
        channelViewController.listViewController(self, handleObject: self.channel!)
    }

    
    
    // - View

                                                target: self,
                                                action: Selector("showInfo:"))
            self.navigationItem.rightBarButtonItem = barButtonItem
            
            // add UISegmentedControl
            var rssTypeControl = UISegmentedControl(items: ["BNR", "Apple"])
            rssTypeControl.selectedSegmentIndex = 0
            rssTypeControl.segmentedControlStyle = .Bar
            rssTypeControl.addTarget(self, action: Selector("changeType:"), forControlEvents: UIControlEvents.ValueChanged)
            self.navigationItem.titleView = rssTypeControl
            
            self.fetchEntries()
        }
