Get short, timely messages from David Gadd.

Twitter is a rich source of instantly updated information. It's easy to stay updated on an incredibly wide variety of topics. Join today and follow @gaddzeit.

Get updates via SMS by texting follow gaddzeit to 40404 in the United States
Codes for other countries

Two-way (sending and receiving) short codes:
Country Code For customers of
Australia
  • 0198089488 Telstra
Canada
  • 21212 (any)
United Kingdom
  • 86444 Vodafone, Orange, 3, O2
Indonesia
  • 89887 AXIS, 3, Telkomsel
Ireland
  • 51210 O2
India
  • 53000 Bharti Airtel, Videocon
Jordan
  • 90903 Zain
New Zealand
  • 8987 Vodafone, Telecom NZ
United States
  • 40404 (any)

gaddzeit

  1. Had to generate a set of fake relative lat/long coordinates for demo. Would have made a good kata (rectangle of coordinates around centre)
  2. Using 3 view controllers (summary, table, and map) for 3 ways to work w result set of coordinates. Using segue to share entity across views.
  3. Creating entity class with association using NSSet; OCUnit test against SUT verifies that addFoo:foo method increments sut.foos by 1.
  4. iOS app ad-hoc distribution: in Xcode leave version as .9, increment the build (now 72), select Product>Archive and drop .ipa to @hockeyapp
  5. @mgrimes Thanks for that! I'm hoping in the near future to do a short screencast on OCMock for a service class with DI.
  6. iOS app: created Settings.bundle "Map Override". Using NSUserDefaults integerForKey w switch case to display actual/override map location
  7. Local JSON caching: in wrapper class around NSUserDefaults w key/value pairs containing JSON dictionaries, methods return hydrated entities
  8. Business logic? All behind the JSON server (ServiceStack)
  9. Break out: Storyboard: declarative UI. ViewController subclasses: programmatic UI & service method calls. Services/Repositories: JSON calls.
  10. Use AFNetworking to call the REST JSON server. On GET retrieve NSDictionary*, pass to initWithDictionary to "hydrate" entity & associations
  11. Tests against entities (essentially JSON-populated DTOs), repositories, service classes, wrapper classes, categories, and view controllers
  12. So far have 61 unit/integration tests (integration tests hit the JSON server). Using OCMock (to design service classes) and OCUnit
  13. I (preferably) generate-by-usage from unit test, or else generate sig in private category or public interface from .m file (via app code)
  14. I never create methods directly in the @interface in .h files;
  15. On Sprint 7 of an iOS 5 project using Xcode and AppCode. Learning a ton. Going to start tweeting about new techniques learned.
  16. @pilky wondering if you have tried AppCode, which shares the same IDE "shell" (and optionally, key mappings) as RubyMine. Very useful IDE.
  17. Whatever the language, its always good to see the suite of automated unit tests passing
  18. I'm starting to accidentally mix my objective c syntax into my C# code; thinking its a good sign that objective c is second-nature now