comment 0

#38 Home automation with Homebridge

One beautiful day I thought: “hmm… it would be great to control my gramophone using voice commands…” After a few weekends everything worked as I had dreamed about: I’m so excited!:) Introduction In today’s post I would like to present simple case: how to control electric devices in our homes with usage of Apple HomeKit. Before we start to dive…

comment 0

#37 iOS Application Security Basics

Have you ever exposed your company to intellectual or financial loss? Have you ever written an app without having security and privacy in mind? If you want to know more about simple tricks to make your apps a bit safer, just watch our video from a meetup. You will get to know iOS security basics and best practices to build…

comments 3

#36 ObjectiveC2Swift Review

Today we will dive deeper into a quite unusual topic for us – Objective-C. Don't be scared though as what we have got for you is a review of Objective-C to Swift tool. Full disclaimer: we have recently received a full access to the tool from ObjectiveC2Swift Team! Thanks! Challenge Accepted! We all have some big and small legacy projects…

comment 0

#35 Structs Alternative: Using Swift Protocols to Enhance Safety of Core Data Access

A previous article mentions the usage of a structs layer in accessing Core Data. This approach has some very nice properties, like thread safety of the struct values and the structs are always well formed. However this approach became too bothersome in our code and had its own share of problems. To create a struct layer you have to implement…

comment 0

#34 🎂 Happy Birthday (for the 1st time)

Today is 26th of January. Our blog was initiated on that day, exactly one year ago, with this post. At that time, we couldn’t even imagine and wish things would have gone so well! You’ve visited our website 143 377 times from all over the world 🌍🌏🌎! Your favourite post #23 Notifications in iOS 10 was visited 23 956 times….

comment 1

#32 Errorify String

Swift.Error Swift introduces pattern of throwing errors, to propagate error conditions in a program. Errors are represented by types that conform to empty Error protocol, usually enum types. If you want to propagate an error condition in your app, you can use your AppError enum for that: The throws keyword says that a function can propagate an error, so it…

comments 6

#31 Getting started with Alexa on iOS

Happy New Year 2017! 🍾🎉 January is a special time for swifting.io, as we will soon celebrate the first year of our blogging adventure 😁. Today I would like to give you a brief introduction into Amazon Alexa Voice Assistant service. You might remember our first steps with SiriKit, where we were not so happy about it 😜. Apple has…

comment 0

#30 Cyclomaticly Complex Settings View Controller

Simple screens evolve In every project simple screens can happen. Let’s think for example of a simple Settings screen. Customer wanted a Settings screen on which a user would be able to Set Option 1 and 2 and to Logout from the application. It seemed so simple so developers used a UITableView with 1 section, hard-coded text displayed in cell…

comment 0

#29 An alternative to if let and guard let

It’s brilliant when you can work with people smarter (or even a lot smarter) than you! You can learn so much from them. And then write about the things you’ve learned 🙃. if and guard let Have you ever been tired of repeating if let or guard let statements, to perform certain operations, that should be performed only if a…