MemeChallengeViewController
open class MemeChallengeViewController: NibViewController,
    ChallengeResponderDelegate,
    UIGestureRecognizerDelegate,
    UITextFieldDelegate,
    UIPickerViewDelegate,
UIPickerViewDataSourceUndocumented
- 
                  
                  Textfied that is used for putting caption on a separateFromImagesubtype.DeclarationSwift @IBOutlet public weak var captionSeparateFromImageTextField: UITextField!
- 
                  
                  Textfield used for selecting font sizeof the caption.DeclarationSwift @IBOutlet public weak var fontTextField: UITextField!
- 
                  
                  Button used for selecting colorfor the captionDeclarationSwift @IBOutlet public weak var colorPickerButton: UIButton!
- 
                  
                  View where captions and images are being add. DeclarationSwift @IBOutlet public weak var canvasView: UIView!
- 
                  
                  Image view for the meme to respond. DeclarationSwift @IBOutlet public weak var imageView: UIImageView!
- 
                  
                  Textfied that is used for putting caption on a overImagesubtype.DeclarationSwift @IBOutlet public weak var captionTextField: UITextField!
- 
                  
                  Button for adding the text on the captionTextFieldon thecanvasView.DeclarationSwift @IBOutlet public weak var addButton: UIButton!
- 
                  
                  Parent view for overImagesubtype views.DeclarationSwift @IBOutlet public weak var captionEditorView: UIView!
- 
                  
                  Challenge Responder object. DeclarationSwift open var responder: ChallengeResponder?
- 
                  
                  Picker view that is added on the fontTextField.DeclarationSwift open lazy var fontPickerView: UIPickerView { get set }
- 
                  
                  Selected caption of the user. DeclarationSwift open var selectedCaption: UILabel?
- 
                  
                  Color use for the caption. DeclarationSwift open var captionColor: UIColor? { get }
- 
                  
                  Mininum caption font size. DeclarationSwift open var minCaptionFontSize: Int
- 
                  
                  Maximum caption font size. DeclarationSwift open var maxCaptionFontSize: Int
- 
                  
                  Array of font sizes ranging from minCaptionFontSizeup tomaxCaptionFontSize.DeclarationSwift open var fontSizes: [Int]
- 
                  
                  Current font that is used by captions. DeclarationSwift open var captionFont: UIFont { get set }
- 
                  
                  Delegate for presenting a color picker and passing color object. DeclarationSwift open var memeColorPickerDelegate: MemeColorPickerDelegate?
- 
                  
                  Delegate for sharing the challenge along with the data to social media. DeclarationSwift open var shareToSocialMediaDelegate: ShareChallengeToSocialMediaDelegate?
- 
                  
                  Loading alert that is displayed when responding on a challenge. DeclarationSwift open var loadingAlert: AlertViewController
- 
                  
                  Undocumented DeclarationSwift override open func dismiss(animated flag: Bool, completion: (() -> Void)? = nil)
- 
                  
                  Undocumented DeclarationSwift override open func viewWillAppear(_ animated: Bool)
- 
                  
                  Undocumented DeclarationSwift public convenience init(challenge: Challenge)
- 
                  
                  DeclarationSwift override open func setup()
- 
                  
                  This sets the font, text color, and sizeof the selected label.DeclarationSwift open func updateSelectedCaption()
- 
                  
                  Update the views when a caption was tapped. DeclarationSwift open func selectCaption(label: UILabel)
- 
                  
                  Reset the view’s subviews to its original state. DeclarationSwift open func resetViews()
- 
                  
                  Generate a label inside the canvasView.DeclarationSwift open func createCaptionInsideCanvas()
- 
                  
                  Updates the location of the panned caption. DeclarationSwift @objc open func didPanCaption(_ gestureRecognizer: UIPanGestureRecognizer)
- 
                  
                  Selects the tapped caption. DeclarationSwift @objc open func didTapCaption(_ gestureRecognizer: UITapGestureRecognizer)
- 
                  
                  Resets the view. DeclarationSwift @objc open func dismissKeyboard()
- 
                  
                  Undocumented DeclarationSwift open func onSuccess(with apiResponse: APIResponse<Challenge.ResponseInfo>)
- 
                  
                  Undocumented DeclarationSwift open func onFailure(with error: Error)
- 
                  
                  Undocumented DeclarationSwift open func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive touch: UITouch) -> Bool
- 
                  
                  Undocumented DeclarationSwift open func textField(_ textField: UITextField, shouldChangeCharactersIn range: NSRange, replacementString string: String) -> Bool
- 
                  
                  Undocumented DeclarationSwift open func textFieldShouldReturn(_ textField: UITextField) -> Bool
- 
                  
                  Undocumented DeclarationSwift public func pickerView(_ pickerView: UIPickerView, titleForRow row: Int, forComponent component: Int) -> String?
- 
                  
                  Undocumented DeclarationSwift public func pickerView(_ pickerView: UIPickerView, didSelectRow row: Int, inComponent component: Int)
- 
                  
                  Undocumented DeclarationSwift public func numberOfComponents(in pickerView: UIPickerView) -> Int
- 
                  
                  Undocumented DeclarationSwift public func pickerView(_ pickerView: UIPickerView, numberOfRowsInComponent component: Int) -> Int
 View on GitHub
View on GitHub MemeChallengeViewController Class Reference
        MemeChallengeViewController Class Reference