                             
     @IBOutlet weak var imageView: UIImageView!
     
-    override func viewDidLoad() {
-        super.viewDidLoad()
-        // Do any additional setup after loading the view, typically from a nib.
-    }
-
-    override func didReceiveMemoryWarning() {
-        super.didReceiveMemoryWarning()
-        // Dispose of any resources that can be recreated.
-    }
 
 // MARK: IBAction funcs -
     @IBAction func takePhoto(sender: AnyObject) {

    }
    
    @IBAction func sharePhoto(sender: AnyObject) {
        let image = self.imageView.image?
        if (image != nil)
        {
            let activity = UIActivityViewController(activityItems: [image!], applicationActivities: nil)
            self.presentViewController(activity, animated: true) { () -> Void in
                // we don't need to do anything
            }

        self.imageView.image = image
        picker.dismissViewControllerAnimated(true, completion: nil)
    }
    
    func imagePickerControllerDidCancel(picker: UIImagePickerController!) {
        picker.dismissViewControllerAnimated(true, completion: nil)
    }
