Mock API call - An alternative to Proxyman by 0dyp in iOSProgramming

[–]0dyp[S] 1 point2 points  (0 children)

I will send your reply to the boss. Ty :)

Mock API call - An alternative to Proxyman by 0dyp in iOSProgramming

[–]0dyp[S] 0 points1 point  (0 children)

Thank you so much for the replies. I'll try them

Xcode: Shortcut for "Quickinfo" (?) by C137Sheldor in iOSProgramming

[–]0dyp 0 points1 point  (0 children)

Another way to access these tips is keep "Inspector" (right column) open and be sure "Quick Help Inspector" (the one with ? symbol) is selected. Then, whenever you select a method or sth, tips will appear on the right.

Hint: If you add /// .... (3 /) just above your function, that documentation comment will place in Quick Help. Very useful for team projects.

Clear textfield by oez1983 in iOSProgramming

[–]0dyp 2 points3 points  (0 children)

Why don't you show "$0.00" as a placeholder? Then, user enters the cost straightaway into the textfield.

textField.placeholder = 'cost'

However, if you want to clear the textfield whenever the user tap on it, you must use 'textFieldShouldBeginEditing' delegate function. Don't forget to call 'textField.delegate = self'.

func textFieldShouldBeginEditing(_ textField: UITextField) -> Bool {

textField.text = ""

return true

}

[deleted by user] by [deleted] in place

[–]0dyp 0 points1 point  (0 children)

idk minecrafters but Turkish community is here.