Symbiont blockchain technology
38 comments
Bitcoin and bitcoin economy
I'll get back to that soon, as we start working on our back-end server. Today, I would like to make an introduction to the front-end side of things: Swift programming for iOS. OK, I can already hear you people with Android phones complaining about why I choose iOS, so here are the main reasons:. If the app somehow becomes popular, I might dive into making an Android app as well.
For now though, this would make the project way too complex for me to even finish it in due time. Of course I will assist if you care about making a clone for Android. After reading through a lot of documentation, I decided to dive into it by following the official Apple tutorial. Just to get a feel for what is needed for our final app. The tutorial was pretty straightforward, but not knowing the Swift syntax was a bit of a challenge.
Therefore, I read through A Swift Tour , which covers the basics and aids in being able to properly understand the Swift language. If you prefer a more playful way of learning to code in Swift, I can recommend Swift Playgrounds for iPad:. That said, however, Swift and its predecessor Objective-C , are so called statically typed languages.
Without going into the technical details, for a beginner it might be more daunting than a dynamically typed language like Python or PHP for instance. IMHO, if you're new to programming, start with Python. It has good documentation, easy to read syntax, and it is relatively easy to learn the basics. If you're die-hard, by all means, dive right into Swift or even C , because it will greatly enhance your understanding about how computer programs work on a lower level. If you know how it all works in the background, it will be pretty easy to pick up on any programming language you might encounter with a few exceptions, ofc.
This was another hurdle to take: While the process is pretty well-explained by Apple, it still requires reading through 9 pages of documentation , before you can even get started. The Provider is going to be a part of our back-end server written in Python. The APNs are servers managed by Apple to facilitate push notifications and related services. The code of the app will request a unique token and sends this to the Provider.
The Provider can then craft a message addressed to the device corresponding to this token, and send it via the APNs. There are a few more steps involved, but that's the gist of it. The iOS simulator in Xcode unfortunately can't receive push notifications. To be honest, I started by making a functional design for the app, so I would know in advance what functionality the app is going to have and can work towards making that happen.
Just to not give the idea away straight away, I'm going to talk more about that in a later blog. Really interesting to read bennierex I would almost start reading up on the matter, were I not pressed for time on the design side of things. I know, I just got so much stuff going on!!! I need to have at least some free time to drink beer with my buddies ;. The 1st yrs tend to be the hardest. We are at our for six yrs non-halt.
Carry on Performing at it. Perseverance and exertions tend to be the keys to results. Project S - Day 2: There's just too much stuff to learn and develop to do this all at once and do it properly I only own iOS devices to test on, so this will make my life much more easy. I know there are simulators, but it's just not the same as real-world testing. Swift After reading through a lot of documentation, I decided to dive into it by following the official Apple tutorial.
If you prefer a more playful way of learning to code in Swift, I can recommend Swift Playgrounds for iPad: Notifications This was another hurdle to take: Some final words To be honest, I started by making a functional design for the app, so I would know in advance what functionality the app is going to have and can work towards making that happen. Coding the back-end to send Push Notifications to our App!
Authors get paid when people like you upvote their post. Well, it's never too late to start ;. Never forget to drink beer with the buddies: