Bubble Foundry


Posts tagged with: iOS

The State of iOS Crash Reporting and Analytics in 2016
A friend just asked about services that could capture all relevant events in an iOS app, whether crashes, user activity, or ad hoc metrics. I told him about how I use Crashlytics but mentioned there are a lot of very similar services. I decided to do some searching, and this is what I found in […] Read more – ‘The State of iOS Crash Reporting and Analytics in 2016’.
UIViewController+SegueBlocks
This is a category which adds methods on UIViewController to provide a handler at the spot that you programmatically perform a segue. This avoids a mess of if, else if, else statements in prepareForSegue:sender:. In fact, you don’t even need to implement the method at all if you don’t need do anything before the segues […] Read more – ‘UIViewController+SegueBlocks’.
Future Shock
I gave a talk yesterday at the Brooklyn Swift Meetup about futures, covering both why they’re interesting and what we specifically gain by using them in Swift.   Read more – ‘Future Shock’.
Continuous Improvement
I gave this talk the other week at the Brooklyn iOS Meetup. Read more – ‘Continuous Improvement’.
Playing Web Audio on iOS
When using the Web Audio API on iOS, you have run into the problem that you don’t hear anything despite it all to be be wired up correctly and no errors being thrown. There is a small notice in the Safari documentation that sounds must be triggered by explicit user action, but what does that […] Read more – ‘Playing Web Audio on iOS’.
Subscribing to collection changes using ReactiveCocoa
When selecting items from a list in an iOS app, e.g. a table view of address book entries, we’ll often keep track of the selected items using a mutable container, whether an array or a set. It, follows, then that we might want to only enable the Submit button once at least one item has […] Read more – ‘Subscribing to collection changes using ReactiveCocoa’.
Subscribing to RestKit changes using ReactiveCocoa
Here at Lua we’re using both RestKit and ReactiveCocoa in our iOS app. Today we ran into a problem: we wanted to update a UI element in a view controller based upon changes to an object retrieved via RestKit. We had something like: RAC(self.nameLabel, text) = RACObserve(user, name); However, the UI never updated! Why? Knowing […] Read more – ‘Subscribing to RestKit changes using ReactiveCocoa’.
iOS Code Coverage Revisited
My earlier post on iOS code coverage reports was, if not wrong, at least sub-optimal. You still need to set Generate Test Coverage Files and Instrument Program Flow to Yes for the Debug build configuration. Instead of manually flushing the coverage data upon finishing each test, it’s better to flush it have the entire testing. Likewise […] Read more – ‘iOS Code Coverage Revisited’.
Generating iOS Code Coverage Reports
2013-11-13: I have found a better way to generate the coverage reports for all source files. As part of the testing an iOS app, I want to make sure that I am actually covering important areas of my application with tests. Xcode 5 (and previous versions) has code coverage support, but it’s not obvious. Here’s […] Read more – ‘Generating iOS Code Coverage Reports’.
Cordova Native Video Plugin
Recently I’ve been working with Arjan on a Cordova (PhoneGap) app for AT5, the local TV station in Amsterdam. While HTML5 video tags work just fine in the app, playing a video kicks you out of the app and into Mobile Safari. Since that’s not the nicest user experience, we wanted to add a native […] Read more – ‘Cordova Native Video Plugin’.