iOS 7 Style Progress Meter in Swift

Hot on the heels of my recent post iOS 7 Style Progress Meter in C# is this version where we accomplish the same feat, but using Apple’s new language Swift. To refresh your memory, this is what we’re looking to recreate: In more specific terms, we’re looking at the circular progress meter that slowly advances as the download completes. ##The Playground One of the nicest features of Swift is the playground where we can write and evaluate code in fast iterations.…

iOS 7 Style Progress Meter in C#

On iOS 7, when you download or update an app from the App Store, there’s a small circular progress indicator that shows how complete the download is. It’s simple, compact, and provides information well. Making a version of this is incredibly easy using C# and Xamarin on your iOS app. Layers, Everywhere Every UIView has a property called Layer exposed that is responsible for what’s rendered inside that view. It’s of type CALayer and is a tree hierarchy, just like the view heirarchy.…

Upload to Azure Storage REST API from Xamarin

It surprised me to find that uploading an image to Azure Storage using the REST API with Xamarin iOS wasn’t straightforward. After a lot of research and by combining a couple techniques, we can easily upload a UIImage to blob storage using the Azure Storage REST API. Here’s what you’ll need: Azure Mobile Services (and client library) HttpClient I’m not going over how to create a storage location and container nor an Azure Mobile Service.…