HNHacker News
TopNewBestAskShowJobs

jtbrown

122 karma · joined June 19, 2012

Founder of Roadfire Software http://roadfiresoftware.com/
submissionscomments
jtbrown··on The biggest mistake new iOS developers make when coding
You're absolutely right — I just know the iOS dev world best at this point.
jtbrown··on Why iOS developers don't write unit tests
I agree — I think testable code is generally just better code because it requires the decoupling of dependencies.
jtbrown··on [dead]
Hey, everyone! I'm Josh Brown and I co-created this course. I'd love to answer any questions you have about how it works -- or about REST & JSON in Swift in general.

Here's one of our most common questions so far:

> What medium is this course in? Youtube? PDFs that I can read through?

The lessons come via email, and we're going to have a Live Q&A chat on GrokSwift.com towards the end of the course.

We've put a lot into this, and we hope you love it!

jtbrown··on Debunking the myths about parsing JSON in Swift
If you're talking about either the bad (pyramid of doom) code in Myth #1 - or the good code there, then it is indeed protecting against null values in the JSON. When you try to cast with `as? String`, it returns nil when there's a null value in the JSON and the code in the `if` block is skipped (and the `else` block is executed if one exists).
jtbrown··on Debunking the myths about parsing JSON in Swift
Wait... who told you I was writing that book? Just wait till you read next week's article: "Debunking the myths about networking in Swift"
jtbrown··on Parsing JSON in Swift
I'm the author, and I'd love to hear what you think and answer any questions you have.
jtbrown··on What third-party libraries do you use for iOS development?
Here are some of my favorites - what others do you like?
jtbrown··on How to become a professional iOS developer
I'd be happy to hear your thoughts. What's good, bad, right, wrong, or missing? Do you need a Computer Science degree?
jtbrown··on Can you learn Objective-C without knowing C?
I'd be happy to hear your thoughts - whether you agree or not.
jtbrown··on How I Reduced a View Controller by ~100 Lines (from 400 to 300)
And I'd love to hear your thoughts. Do you think this is better than shoving everything into the view controller?
jtbrown··on Want to build your first iOS app? Start here.
I'm here and happy to answer any questions you have about getting started with iOS.
jtbrown··on The right way to check the iOS version in an app
I'm here to discuss anything you disagree with or have questions about.
jtbrown··on Screencast: Basic Unit Testing in Objective-C with XCTest
If you want to learn the basics of testing with the XCTest framework in Objective-C, this screencast is a good way to start.
jtbrown··on Replacing Regular Expressions in an Xcode project
Not sure why it took me so long to find the Replace Regex feature in Xcode...but it's really powerful and useful.
jtbrown··on Coffee, Tea, iPhone App: One of These Things is Not Like the Other
I totally agree that comparing a cup of coffee to an app is ridiculous, even if they cost the same. And I think you're right - it's because a cup of coffee is a known thing.
jtbrown··on Git Pro Tip: How to List Tags that Contain a Commit with Git
I use this all the time to find out what bugs are where - whether they've made it to staging or production yet.
jtbrown··on Ask HN: What don't you like about iOS 7?
Apple has been inconsistent about the use of colors and buttons - sometimes two things look the same, but one's tappable and one's not.
jtbrown··on Developing for iOS 7 and supporting iOS 6
Good points about Evernote - I'm not sure what went into their decision to support iOS 7 only, but I'm sure they considered it.

"I guess I was lucky that I still had it on my phone cause otherwise, I would be left without the ability to install it now."

That's not entirely true any more - Apple is now allowing users to install the "last compatible version" of apps. More on that from Engadget: http://www.engadget.com/2013/09/17/apple-ios-last-compatible...

jtbrown··on Developing for iOS 7 and supporting iOS 6
Eventually, yes, most users upgrade. But Apple's stats showed about 6% of users still on iOS 5 a full year after iOS 6 was released. I'd imagine we'll see similar numbers with users going from iOS 6 to 7 - lots of them won't upgrade for a full year, and some will never upgrade. Mixpanel is currently showing 36% of users on iOS 6 - that's not an insignificant number. I'll be supporting iOS 6 for probably another year.
jtbrown··on Developing for iOS 7 and supporting iOS 6
Yeah, that navbar issue killed my productivity for at least a day. Glad I finally found the topLayoutGuide property so I can align my views properly.
jtbrown··on Developing for iOS 7 and supporting iOS 6
If you want to deny people from installing on older devices, you can just set the target to iOS 7, meaning you need iOS 7 to install it. Doing that means it can only be installed on iPhone 4 and later, iPad 2 and later, and iPod Touch 5th gen and later.
jtbrown··on Developing for iOS 7 and supporting iOS 6
Glad it was helpful to you. Tell me - do you build views in RubyMotion programmatically? If so, I suppose that -[UIViewController topLayoutGuide] would be useful, right?
jtbrown··on How Email Destroys Productivity (and what to do about it)
I'm amazed at how a tool like email can create and destroy so much productivity. And I still don't really believe that there's not another solution out there - a way to send email without the inbox.
jtbrown··on Productivity Tip: Turn off Mail Distractions on Your iPhone
I'm surprised at how many apps push distractions at us, and how tricky it is to find these settings. Mail for me is a big one - I get tons of email every day, and having my iPhone buzz or ring each time is ridiculously distracting...
jtbrown··on How to work remotely as a software developer
I'm a huge fan of coworking spaces. Depending on your budget and needs, sometimes you can even rent a desk to call your own. It's been great for me to work around other developers, bump into people and have interesting discussions, and just get out of the house.