 extension NewFeedViewController: UIPickerViewDataSource, UIPickerViewDelegate {
 
     func numberOfComponentsInPickerView(pickerView: UIPickerView) -> Int {
-        return 1
+        return skills.isEmpty ? 0 : 1
     }
 
     func pickerView(pickerView: UIPickerView, numberOfRowsInComponent component: Int) -> Int {

            return view
        }
    }
}



        return []
        }()

    var pickedSkill: Skill?

    override func viewDidLoad() {
        super.viewDidLoad()

