In mobile apps, it’s important to monitor errors so you can understand your user’s experience. Your team should know quickly when there are problems with the app itself or your backend services so you can fix the issue before more customers are affected. We’ll show you how to handle errors in iOS apps. We’ll then show you how Rollbar error monitoring can give you better visibility into errors and help you troubleshoot them faster.
Native Error Handling in iOS
There are multiple ways to implement exception handling in Objective-C and Swift. We’ll focus on Swift in our examples as its a newer language. You’ll commonly use NSError to create runtime errors and use do-catch statements to handle them:
Technology giant Apple Inc. is in an endeavor to extend support for web apps in its default browser Safari. Experts are already working to introduce support for Service Workers in this browser. This move from Apple is a clear hint that they are moving ahead with the growing concept of Progressive Web Apps (PWA).
How will the extended support of Service Workers in Safari browser impact enterprises? Are mobile apps being challenged by progressive web apps for the iOS platform? How does the future of iOS app development for the App Store look after this move by Apple? Let’s dig deeper to understand the intention behind this massive move by Apple.
When it comes to tools for iOS developers, there’s only one essential for writing apps, and that’s Xcode — so really this is a very clickbait title (gotcha!). Xcode comes with a whole suite of tools…
The post 10 Must Have Tools for iOS Developers appeared first on Treehouse Blog.
I had always heard that the grammar and syntax of coding languages were in so many ways like foreign languages, but for me, foreign language courses were much less intimidating than computer science. That drove me…
The post Acquiring Bricks: How to learn code like a foreign language appeared first on Treehouse Blog.
One of the most important tasks that we carry out at Apiumhub is to collaborate with our clients for the implementation of Agile development methodologies and the introduction of good software development practices (software architecture, testing, etc.). Today I would like to focus on the Pure MVP architecture that we implemented in the B-wom app.
Working With Legacy Code
Many times, the projects that we usually get at Apiumhub contain a great amount of legacy code and our primary task is to help our clients with the improvement of the code, the implementation of new functionalities and the improvement of the packaging and distribution system.
While Visual Studio has an editor that can help to add new image assets to a project, it is pretty slow when adding a bunch of new images. If you have to add a lot of images to add, it even crashes once in while, which can be annoying. Because I was in the process of adding more than a hundred images for porting my first app ever from a Windows Phone to iOS and Android, I searched for a faster way — and found it.
What’s Going on Under the Hood?
When you add an imageset to your assets structure, Visual Studio does quite some work. These are the steps that are done:
Over the last 12 years, I have been blogging almost uninterruptedly about different subjects (mostly on tech stuff), on different platforms and using a variety of devices and applications. First on desktop and laptop computers, and more recently from iPhone and iPad. This year I went on to try something new and decided to create this blog based on Pelican, a static site generator made with Python. And I got the whole process working on my iPhone, which has become, arguably, my main personal computer. So, how do I publish new content to this blog from my iPhone?
1. I Write Each Article in Markdown
Markdown is a simple syntax that can be easily translated to HTML (and a bunch of other formats), but only requires a simple text editor and allows us to focus on the content. On my Mac, I tend to use either Ulysses, or BBEdit, or VIM, whatever comes to hand. On iPhone, currently, I use Ulysses, Drafts or Working Copy. I may start with Drafts or Ulysses, then copy to Working Copy and go on from there…
I recently had the delightful opportunity to chat with iOS Techdegree graduate Joanna (Jo) Lingenfelter. As a fellow person who entered the tech field with a non-technical degree, I was excited to learn more about her path from earning a…
The post Is learning to code harder than learning Italian? Self-taught mobile developer: Jo Lingenfelter appeared first on Treehouse Blog.
Since the release of iOS 5 and Xcode 4.2 in 2011, developers have had a choice when making an iOS project: should I build my interface using a storyboard or just entirely in code? Programmers, of course, when faced with…
The post In defense of the modern storyboard appeared first on Treehouse Blog.