     // MARK: - Localization
 
     private func localize(key: String, comment: String) -> String {
-        return NSLocalizedString(key, tableName: nil, bundle: NSBundle(URL: NSBundle(forClass: self.dynamicType).resourceURL!.URLByAppendingPathComponent("FDTake.bundle")!)!, value: key, comment: comment)
+        return NSLocalizedString(key, tableName: nil, bundle: NSBundle(URL: NSBundle(forClass: FDTakeController.self).resourceURL!.URLByAppendingPathComponent("FDTake.bundle")!)!, value: key, comment: comment)
     }
 
     private func textForButtonWithTitle(title: String) -> String {

    }

    /// Convenience method for getting a video
    public class func getVideoWithCallback(getVideoWithCallback callback: (video: NSURL, info: [NSObject : AnyObject]) -> Void) {
        let fdTake = FDTakeController()
        fdTake.allowsPhoto = false
        fdTake.didGetVideo = callback

                self.didCancel?()
                return
            }
            self.didGetPhoto?(imageToSave, info)
            if UI_USER_INTERFACE_IDIOM() == .Pad {
                self.popover.dismissPopoverAnimated(true)
            }
        } else if mediaType == kUTTypeMovie as String {
            self.didGetVideo?(info[UIImagePickerControllerMediaURL] as! NSURL, info)
        }

        picker.dismissViewControllerAnimated(true, completion: nil)
