Using Specta, Expecta, and OCMock, we’ll take a look at how we can test-drive our iOS apps in Objective-C.
Push notifications amirite?! This week Mark and Gordon commiserate about implementing support for push notifications and the state of third-party services which claim to help.
Calculations across objects are ripe for using a map and an inject but frequently, with ActiveRecord, the solution is more elegant and faster if we can have SQL do the work instead.
For the past four months, we’ve been hard at work on the next version of
shoulda-matchers , and we’re pleased to announce it’s up on
2.6.0 is first and foremost a compatibility release, bringing a few of the
matchers up to date with the newest…
Ben is joined by Diana & Jessie of thoughtbot San Francisco to discuss their latest book, iOS on Rails, the concept of releasing a book in Beta and the importance of apprenticeships to emerging junior developers.
Using database-backed models in our applications can cause coupling and
performance problems. Extracting that data to Ruby constants helps to resolve
Consider the following database tables and their data:
Ben and Joe tackle the third principle in SOLID: the Liskov Substitution Principle. Learn some basic rules you can apply to subclasses and other “is a” relationships to improve flexibility in your applications and reduce subtle bugs from interface…
We’re pleased to announce Hound , a hosted service that comments on Ruby
style guide violations in your GitHub pull requests.
Hound is currently free and available for public and private GitHub projects.
We intend to charge in the near future to ensure…
Container view controllers and clever DJ names are on the docket for this week’s episode. Mark and Gordon discuss patterns for handling modal authentication views and other high level approaches to root view controller presentation.
The value of unit tests and TDD are well documented. Unfortunately, it’s still daunting to start practicing it. Here’s a primer.
On this weeks show Ben talks to David Nolen, Rails & Java Script developer for the NY Times, about being a stewart of ClojureScript, functional programing, the advantages of immutable values and Om.
Recently Dan asked me to get new icons for Raleigh , New York City , and Austin added to some of our landing pages.
Once I created the icons, I checked out the site to put them in below the offices that have already been on the marketing pages. It…
In this episode, Ben and Joe discuss the Open Closed Principle. Also mentioned was polymorphism, the composite design pattern, decorators, factory method, and chain of responsibility.
Finally, you might be interested in the immutable data structu…
The minutiae of initialization is the topic of this week’s show as Gordon and Mark continue to refuse to get off Objective-C’s lawn.
In an Active Record model, usually you will have a column that can only have a set of pre-defined values (such as a status column). Normally, you would define a constant for those values as well as several helper methods like the following example…