Perfect is the enemy of good. That’s the case with the IoT backend system that we described part I. In our previous post, we went step by step through the procedure of setting up: MQTT server to listen in incoming topics, e.g. sensors, Influx database to store time series of sensor data, Telegraf to connect
One of the most common tasks is to check whether a UITextField is empty in order to proceed with a save action. The way to manage the Return Key in the keyboard is very easy. In the Attributes Inspector of the UITextField object you just have to enable the “Auto-enable Return Key” option. On the
The situation is like that: You have a UIViewController which has many text fields. It could be like: The problem is that when the keyboard appears, it hides the text fields. The solution is to lay down your text fields in a UIScrollView and write the appropriate code to move it accordingly. If you have
In the first part, Getting xml data from a web service (Part 1 – AFNetworking 101), we managed to get the raw xml data from a web service using the AFNetworking library. RaptureXML is a simple, block-based XML library for the iOS platform that provides an expressive API that makes XML processing easy! The procedure to install
Lets say that we are in a situation that an external source offer as web service a useful xml feed. Our iOS app can use this feed in order to present various data or calculate new values based on that data. I want to get the xml data, usually we have to visit a specific
When you are developing using core data you use always a code snippet like Hmmm, and how we could replace this implementation with code to handle the error appropriately is then next question. Mr fabian789 from stackoverflow.com has proposed a solution that I like very much. Explore it!
It’s better to have a multilingual app…is it right? Ok, in iOS everything is set up. You can follow Albert’s Mata enlightening tutorial “Introduction to internationalization using storyboards on iSO 5”. Enjoy…thanks Albert
When you cope with data is better to visualize it. A nice framework for iPhone is Core Plot, has many capabilities and is bast at the moment. The last version is 0.9 The only serious problem I faced, is the lack of documentation for the first steps. Specifically if you are using Xcode 4.2… the
Many tutorials has been written based on older xCode versions. Before 4.2 there was a convenient “Windows based Application” containing a MainWindow.xib. So what if you want to code an older version tutorial having 4.2 xCode? Follow the steps bellow: 1. Create an “Empty Application” template project (remember to deselect Storyboards and ARC from the
By reading the great Google group “iPhone Application Development Auditors” I found two great tutorials in the following sites: In Cocoa Dev Central the article Core Data Class Overview and in sallarp blog the article iPhone – Core Data and UITableview. A drill-down application. Enjoy!!