Ben Scheirman

Houston, TX

benscheirman.com

Age: 34

I'm an iOS & Rails developer working out of Houston, TX. I run NSScreencast, a site that delivers iOS screencasts every week. I'm also the Director of Technology at ChaiONE where I build applications using Ruby on Rails, and Objective-C.

Other projects include:

You can find me on twitter or on my blog.

5h
comment Downloading and parsing json in swift
@Zorayr it's almost never ok to block. This API doesn't give you any control over how the connection is handled, the response is handled, completely blocks the thread from doing anything else. What if you're on a slow/bad connection and this times out? What if the resource is not found? What if the connection is interrupted? What if you want to cancel the request?
2d
awarded Good Answer
Apr
8
comment Handling 304 Responses in AFNetworking
I'm not sure I understand the desire to "cache 304s as well". If it's a 304, then you already have the content in the cache.
Apr
8
revised Handling 304 Responses in AFNetworking
added 2 characters in body
Apr
8
answered Handling 304 Responses in AFNetworking
Mar
27
awarded Famous Question
Mar
17
comment How to populate a UIPickerView with results from a NSFetchRequest using Core Data
What does _usernames point to?
Mar
4
comment How to create UIImageView with image from a link?
The accepted answer is quite old and bad practice anyway. This is the correct answer (with proper error handling of course ;)).
Feb
27
revised Why doesn't Carthage support iOS 7?
edited title
Feb
20
comment When should one use a "has_many :through" relation in Rails?
That was a typo. Fixed.
Feb
20
revised When should one use a "has_many :through" relation in Rails?
added 1 character in body
Jan
22
awarded Nice Answer
Jan
16
awarded Announcer
Jan
10
awarded ruby-on-rails
Jan
9
answered iOS: How can I generate coloured & rounded icons with alphabets based on cell item to use in a UITableView cell like in gmail app?
Jan
9
answered Links without .html extension with no need to create directories
Jan
6
comment Logging to rails console with rake
it's not going to show up there. If you use Rails.logger.info in your rake task and it is invoked in a separate process, you'll see it in the log file, which you can see with tail -f log/development.log.
Jan
6
comment Logging to rails console with rake
By "rails logger" do you mean "log/development.log"? Or do you mean in the output from the rails s process?
Jan
6
answered Logging to rails console with rake
Dec
28
comment Custom navbar sizing from iphone 5 to iphone 6
You can handle the view controller method willTransitionToTraitCollection:withTransitionCoordinator and check, the traits. The navigation bar is normally smaller size when in a compact height trait collection.
1 2 3 4 5