hardware or remote system. Would like to share our service with others but can’t give away the code. No: Simple interactions with a small web service, and little to no front end business logic. No need to share libraries internally or externally.
with these. 2. Do all I/O or processing in the background don’t get in way of the UI thread. Be thread safe! 3. Hide complex functionality from the consumer 4. Document, document, and document….
-@Zipcar we picked a block based approach, for more clear and testable code. -All functions taking blocks should only ever have a single block parameter. -It must be the last parameter.
our consumer’s app lock up because of something we are doing. Generally good practice, Cocoa makes this easy. Using blocks be mindful of retain cycles and handle those for the consumer too.
(objectiveC) -Use a documentation generator -Follow the Apple standards so it plays nicely with XCode. -Be clear, concise. -Assume the developer on the other end knows little to nothing about your product.
and build a nearly functional app within 1 week of starting. Current understanding is much improved. Near current API changes have not impacted timeline.
in Swift. Then tackle SDK red->green Should be straight forward adherence to modern ObjectiveC syntax, blocks are always last parameter. Optionals are potentially the biggest problem. Swift?