Tag Archives: iOS 8

Protect yourself: Retrieving penultimate values from arrays in Swift

via Protect yourself: Retrieving penultimate values from arrays in Swift.

One of the first thoughts that comes to the mind when retrieving penultimate values is to count the array and work backwards.

Create an iOS 8 game with React Native and Advanced Mobile Access

via Create an iOS 8 game with React Native and Advanced Mobile Access.

As a JavaScript developer, you can start creating App Store–compatible, native iOS apps in record time withReact Native. My developerWorks tutorial “React Native: Into a new world of rapid iOS development” introduces you to React Native and walks through an example app. Now, you’ll create a React Native game that takes advantage of Advanced Mobile Access and the Cloudant NoSQL DB, both available as services on IBM Bluemix. The game shows the construction of a React Native app and illustrates techniques such as tweening and animation. And it shows how to integrate Advanced Mobile Access features into a React Native–based iOS 8 application.

Advanced Mobile Access is core to the IBM MobileFirst platform for iOS. MobileFirst is an instantly ready back end custom-designed for modern mobile apps. The entire back end and its services can be provisioned on Bluemix in seconds. MobileFirst includes a prebuilt, preconfigured web dashboard and scalable cloud services that can be integrated into your iOS applications immediately. MobileFirst for iOS is primarily geared toward native iOS developers who use Objective-C or Swift. But, as you’ll see here, MobileFirst can readily be extended to support React Native developers. You’ll learn how to:

  • Create a MobileFirst platform back-end instance for your mobile app
  • Create animations and tween React Native components
  • Track access to your React Native mobile app via the MobileFirst platform, and see real-time app-access stats on the MobileFirst dashboard
  • Capture device logs for remote analysis
  • Expose MobileFirst API calls to the React Native JavaScript runtime environment
  • Store data in a Cloudant NoSQL DB locally on the iOS device and replicate the database to the MobileFirst back end
  • View and manage stored app data via the Cloudant dashboard

READ:React Native: Into a new world of iOS development

READ:Getting started with Advanced Mobile Access

READ:IBM MobileFirst Developer Center

READ:React Native documentation

READ:Getting started with Cloudant mobile extensions

Swift: Displaying a UIImagePickerController in iOS 9 using non-deprecated classes

via Swift: Displaying a UIImagePickerController in iOS 9 using non-deprecated classes.

In iOS there have been so many classes come and go for the presentation of alerts and actions, and there’s so much documentation (and so many tutorials) that point to deprecated approaches, that it can be a bit mind boggling where to start when the compiler presents you with a warning. And this is made even more difficult by many deprecated classes having very similar names to newer or non-deprecated classes for doing similar things. So here’s the latest way to perform a common task: presenting an image picker.

3D Map Library Roundup

via 3D Map Library Roundup.

This is a quick roundup about WebGL map libraries. Since IOS is supporting WebGL and the browser support is getting better in general, it becomes a relevant technology for map applications too. Stepless zooming, tilting or rotating are features that almost all of the libraries can do. If the map is rendered on the fly and doesn’t rely on images, you can also change its styles and show and hide certain features on demand.

If you are missing a certain library just leave a comment or contact me via twitter.

iOS range slider for Xamarin and Xamarin.Forms

via iOS range slider for Xamarin and Xamarin.Forms | Daniel Hindrikes.

In this post I will show you how to build a range slider for Xamarin.iOS and how to write a custom renderer if you want to use it with Xamarin.Forms. If you want to use the range slider control you can write the code yourself or use the flipper forms control library, https://github.com/johankson/flipper, that can be installed from NuGet, https://www.nuget.org/packages/Flipper.Forms/. On GitHub you will also find a sample app that using the control.

MVVM Light bindings under Xamarin.iOS

via MVVM Light bindings under Xamarin.iOS.

In this weeks blog post lets look at how we can enable bindings with MVVM Lightunder iOS using a Storyboard with Xamarin. So lets create a simple application that has a label, button and text entry field.

Code to Start Call in Xamarin.Forms

via Code to Start Call in Xamarin.Forms.

When we code to start a voice call, we must be aware of DependencyService in Xamarin.Forms.

DependencyService in Xamarin.Forms provides access to the native functionality and some platform-specific implementations of the iOS, Android and Windows Phone SDKs from your PCL or Shared Project.

To start a voice call there are some platform-specific implementations and permissions.