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
Category: tutorial code
Check if a UITextField is empty
This content has 9 years. Please, read this page keeping its age in your mind.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
keyboard hides text fields
This content has 10 years. Please, read this page keeping its age in your mind.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
Getting xml data from a web service (Part 2 – RaprureXML 101)
This content has 11 years. Please, read this page keeping its age in your mind.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
Continue reading Getting xml data from a web service (Part 2 – RaprureXML 101)
Getting xml data from a web service (Part 1 – AFNetworking 101)
This content has 11 years. Please, read this page keeping its age in your mind.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.
Continue reading Getting xml data from a web service (Part 1 – AFNetworking 101)
Replace this implementation with code to handle the error appropriately.
This content has 12 years. Please, read this page keeping its age in your mind.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
Continue reading Replace this implementation with code to handle the error appropriately.
iOS App localization
This content has 12 years. Please, read this page keeping its age in your mind.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
Core Plot
This content has 13 years. Please, read this page keeping its age in your mind.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
Window-based Application template in xCode 4.2
This content has 13 years. Please, read this page keeping its age in your mind.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.
Continue reading Window-based Application template in xCode 4.2
Core Data Tutorials
This content has 13 years. Please, read this page keeping its age in your mind.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.