Advertisement
Guest User

Untitled

a guest
Oct 24th, 2016
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.43 KB | None | 0 0
  1. Selector name found in current argument registers: release
  2.  
  3. function signature specialization <Arg[0] = Exploded, Arg[1] = Owned To Guaranteed and Exploded> of SpecificTextField.shouldChangeCharactersInRange (__C._NSRange, replacementString : Swift.String) -> Swift.Bool (SpecificTextField.swift:0)
  4. SpecificTextField.shouldChangeCharactersInRange (__C._NSRange, replacementString : Swift.String) -> Swift.Bool (SpecificTextField.swift:91)
  5. function signature specialization <Arg[0] = Dead and Owned To Guaranteed, Arg[1] = Exploded, Arg[2] = Owned To Guaranteed and Exploded> of MyController.textField (__ObjC.UITextField, shouldChangeCharactersInRange : __C._NSRange, replacementString : Swift.String) -> Swift.Bool (MyController.swift:645)
  6. @objc MyController.textField (__ObjC.UITextField, shouldChangeCharactersInRange : __C._NSRange, replacementString : Swift.String) -> Swift.Bool (MyController.swift:0)
  7. ...
  8.  
  9. func textField(textField: UITextField, shouldChangeCharactersInRange range: NSRange, replacementString string: String) -> Bool
  10. {
  11. if isOptionalObjectNil(string) {
  12. return false
  13. }
  14. return specificTextField?.shouldChangeCharactersInRange(range, replacementString: string) ?? true
  15. }
  16.  
  17. class SpecificTextField: UITextField
  18. {
  19. func shouldChangeCharactersInRange(range: NSRange, replacementString string: String) -> Bool {
  20. ...
  21. }
  22. }
  23.  
  24. public func isOptionalObjectNil(testable: AnyObject?) -> Bool
  25. {
  26. return testable == nil
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement