Setting up https for your REST API with Boxfuse

boxfuse-logoIn my last post I showed how easy it was to get your REST API based on Spring Boot framework up and running on AWS with the help of Boxfuse. The next step is making use of SSL for the communication with the API. By using SSL we make sure our data is save during the transport between our REST API server and the API client. To setup SSL for the Spring Boot application you have to perform the following two steps:

  • Create a keystore
  • Configure the Spring Boot application

Continue reading

Posted in AWS, Spring Framework | Tagged , , | Leave a comment

Make running your Spring Boot application in the cloud super easy with Boxfuse

boxfuse-logoA few days ago I started building an iOS app that would be using a REST API to retrieve and store data. This REST API would be a server application that I also have to build. Since I am familiair with Java and Spring I decided to use Spring Boot as framework. To be able to use it with my iPhone it would be nice if I could run it on a server instead of my own development PC, so for this I choose AWS since I know how to use that. The only thing I hadn’t figured out yet was what would be the easiest way to get my Spring Boot application running on an AWS EC2 instance… Continue reading

Posted in AWS, Spring Framework | Tagged , , , , | 1 Comment

My first watchOS App for Apple Watch is in the AppStore

watchos-2.0After submitting my first app for the iPhone to the store I decided it was time to create an app for the Apple Watch. I already had the idea about the game I wanted to create for it but mostly it would be a great exercise for me to see what it takes to built such an app. The game might be known as ‘Simon Says‘.
At first the development of the WatchKit based app went well. Because the layout of the watch and available components are limited compared to the iPhone/iPad it makes creating the screens relatively easy. Since the screen of the watch is small only a few elements can be shown on them. Continue reading

Posted in iOS, XCode | Tagged , , | Leave a comment

Finished ‘iOS App Development with Swift’ specialization at Coursera

downloadAs I mentioned before I am working my way through Coursera’s specialization track ‘iOS App Development with Swift‘ that is given by the university of Toronto. Today I heard I accomplished the third part of the total of four.

I am not sure if I will take the last module as it consists of building a complete app ready to go in the App Store. And as you might already have read: been there, done that:-)
Now it’s time to quite studying and start acting!
Screenshot at Mar 07 15-59-51

Posted in iOS, Swift | Tagged , | Leave a comment

My first Swift App is in the AppStore

_app_store_5122xAs I have mentioned in my posts for the last months I have been busy mastering the Swift language and XCode to be able to build iOS applications. I am proud to announce that my first app has made it to the App Store. It is available here. I was asked to build the App by a Dutch Company called ‘SimplyStress‘. Although the functionality of the App looked quite simple I learned a lot about building iOS apps and bringing them to the Store😉
I know there is a lot more to learn about it so I will keep posting it here.

Posted in iOS, Swift, XCode | Tagged , , | 1 Comment

Example of using extensions in Swift

Recently I needed a image in my iOS app that was oscillating. I ran into an example of Swift code that showed how to do it and it was actually quite easy to do (for the theory behind the formula see this). The code makes use of the ‘extension’ feature in Swift. This is a really cool feature in Swift. The feature allows you to extend the functionality of a class without having to extend the class (like you would do in Java for instance). For a basic example of the feature see this example.
In my example the feature is used to extend the functionality of the SKAction class, another cool thing in the iOS SpriteKit library. Continue reading

Posted in iOS, Swift | Tagged ,

Starting developing in Swift: Using GitLab with XCode

Xcode_iconAs showed in my previous post I have set up a GitLab account so I can host my Git repositories there. In this post I will show how you can combine XCode (v7.1) with GitFlow and GitLab. In fact I will end up to use both XCode (for programming) and the Terminal (for my GitFlow) but that is the same when I am developing Java. In that case I also prefer the prompt most of the time for my (basic) Git stuff.
Continue reading

Posted in Git, Swift, XCode | Tagged , , ,

Starting developing in Swift: setting up version control with GitLab

logo-gitlab
Now that I have received my grade for the second part of the Coursera iOS with Swift specialisation I decided it is time to get started to build my own app. The first thing to do (as a professional developer ;-)) is to configure my versioning control in XCode.
Since I have pretty good experiences with Git I decided to setup a GIT repository to use. Normally I would use GitHub for this but since I want to have a free private repository I decided to use GitLab. In the past I have setup my own server running GitLab CE but for now I stay with the free hosting on the Gitlab.com server. After creating an account and signing in into GitLab.com it is just running the commands as shown on the GitLab site when you create your first project. But before I do that I set up the SSH key on my MacBook first so I can use the SSH protocol with GitLab.
Continue reading

Posted in Git, Swift | Tagged , , | 2 Comments

Next step with Swift

downloadAs I said in my previous post I really like building some fun apps with Swift. I also mentioned that to gather a more fundamental understanding I subscribed to the Coursera specialization course ‘iOS App Development with Swift Specialization‘. I am currently working on the second course of the 4 in total. The quality of this second part of the course is much better than compared to the first one, which was a bit messy. In this part lots of things start to fall in place. I also worked my way through the first 30 examples of ‘Hacking with Swift‘ which is a nice add-on to the Coursera training. With these two resources plus lots of other sites (like this one which explains some of the basics very nicely) about Swift and iOS I hope I will be able to create my own app and make it available in the store somewhere next year, which of course you will read here if the time is there:-)

Posted in Swift | Tagged

The first steps with Swift

downloadAs I posted before I am currently using my sparse spare time to learn more about Apple’s new program language: Swift. As I said I started by following the excellent examples of Paul Hudson on his site ‘Hacking with Swift‘. Last month I decided to add some more structure in my process of learning Swift and subscribed to the online course offered by the University of Toronto at Coursera. It consists of 3 modules of each around 5 weeks and an assignment. Last weekend I finished the first module with great success:-). Although I had to get used to the lectures in the beginning of the course they started to become better in the end and I really learned a lot of the assignment and peer assessments at the final stage of the first module. So I’ll keep continuing to work through the examples of Paul Hudson and parallel to that subscribe to the Swift specialisation of Coursera and earn the certificates of the Toronto University. Here is proof of the first module:
Coursera PMMDL9GTLS4Z
Of course the ultimate goal is the get some apps in the Apple Store so as soon as my first app is in the Apple Store I will post it here!

Posted in Swift | Tagged | 1 Comment