OPI Blog
Learn from experts in their fields

Browsing Tags: XCode

Jul 9, 2020
Structuring SwiftUI Previews for API Calls
SwiftUI, together with Combine and Xcode 11+, provide a powerful toolset for quickly creating an app with a native UI. In Xcode 11+, the preview pane was introduced in order to provide live snapshots of ...
Jul 9, 2019
Building an iOS Chat Feature Without Hacks
The Problem Trying to build a chat feature in iOS is often overwhelming and requires solving several difficult problems. Under a time crunch, we often find ourselves going with the first solution we find that ...
Jul 22, 2014
Adding Custom Locations for iOS Simulator Testing
Most of the time if you use the Core Location services in the iOS simulator it will default to Cupertino, but there are times that it will give you a kCLErrorDomain code of 0, or ...
Converting an iOS Project to use ARC (Automatic Reference Counting)
Recently I went through the process of converting a few non-ARC projects and bringing them into the exciting world of ARC.  Before ARC was introduced for iOS 5 in 2011, the core Mobile Team here ...
Dismissing Modal and Current UIViewControllers in the Same Delegate
Sometimes in iOS, something that seems like it should be easy to do can, be a bit more complicated than you would expect or can be difficult to remember since you don’t ...
Using Google Analytics iOS SDK in Shared Library Projects
Recently I added Google Analytics to an iOS project that included several shared libraries that I use for common, reusable code.  This presented an organizational challenge as I needed to send events to Google Analytics ...
Start building out automated groovy mobile web application testing on your iPhone or iPad with Geb and Spock
Leverage Geb and Spock for automated testing of mobile application on mobile devices, including the iPhone, iPad and Android devices....
Nov 11, 2010
Lights, Camera, ActionSheet!: Updating iOS ShareKit’s Twitter service to provide photo and message support together in a cohesive UI
ShareKit (<a href="http://getsharekit.com/">http://getsharekit.com</a>) is a popular, open-source, drop-in solution for implementing social sharing features in iOS applications. ShareKit does not yet have support for selecting/capturing a photo and sending it as part of a Twitter message. However, thanks to ShareKit’s open-source nature and framework for extensibility, I was able to add this functionality without much fanfare, and still leverage the recently added img.ly support to link to that image. An overview of an initial form of this implementation is outlined in this blog post....