Differences From Artifact [5dd2aa4de5]:
- File
iOS/AddSiteController.m
— part of check-in
[62ffb58d53]
at
2017-10-15 18:04:33
on branch trunk
— Use static ObjFW
Using a shared library causes iTunes Connect to fail without any error
message. (user: js, size: 2927) [annotate] [blame] [check-ins using]
To Artifact [ce1997b342]:
- File iOS/AddSiteController.m — part of check-in [6205c4feae] at 2017-11-26 19:19:07 on branch trunk — iOS: A few code modernizations (user: js, size: 2925) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
50 51 52 53 54 55 56 | [_mainViewController release]; [super dealloc]; } - (IBAction)done: (id)sender { | | | | | | 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 | [_mainViewController release]; [super dealloc]; } - (IBAction)done: (id)sender { OFString *name = self.nameField.text.OFObject; OFString *lengthString = self.lengthField.text.OFObject; bool lengthValid = true; size_t length; if (name.length == 0) { showAlert(self, @"Name missing", @"Please enter a name."); return; } @try { length = (size_t)lengthString.decimalValue; if (length < 3 || length > 64) lengthValid = false; } @catch (OFInvalidFormatException *e) { lengthValid = false; } |
︙ | ︙ |