🌐 Public

Swift for beginners

By Nikos Maounis

Introduction

Swift programming language for beginners

Nikos Maounis — Software Engineer currently living in Athens, Greece. Developing applications for mobile platforms. Apple enthusiast. blog.typpz.com

Added by Nikos Maounis: “Great init instructions for making your code more self-explanatory

1 Swift: Init with _

I remember when I first watched the Advanced Swift WWDC14 talk, my first thought after "Whoa! Whoa! What are they doing?!!! I'm not ready for this!" was "why would you even want to do any of this?!!!" The code seemed so unreadable. One of the first things they introduced was using _ as a parameter name in the init function.

Added by Nikos Maounis: “Simple WebView initialization in Swift

2 Getting started with WKWebView using Swift in iOS 8

Back in "ViewController.swift" lets create an override for ´loadView´ and write the initialization for the WebView there. This function will look like this: override func loadView() { super.loadView() self.webView = WKWebView() self.view = self.webView } After calling super (which you should always do when overriding methods) we instantiate the webView itself self.webView = WKWebView() and then we tell the current

Added by Nikos Maounis: “Optionals are a great feature of the Swift programming language

3 Understanding Optionals in Swift - Treehouse Blog

When Apple introduced Swift they talked about three main things they set out to achieve: safe, modern and powerful. One such power feature is called optional. Most language features exist to solve a problem and naturally optional was created to solve a problem. Let's explore an example to understand its use and purpose. Assume that you have an array containing

AlexandraZarya

Freshman

  • 0 Playlists
  • 0 Followers

wmanee

Freshman

  • 0 Playlists
  • 0 Followers

r.schreuder

Freshman

  • 0 Playlists
  • 0 Followers

emanchitown

Freshman

  • 0 Playlists
  • 0 Followers

Mournblade

Freshman

  • 0 Playlists
  • 0 Followers

Babak Afsheh

Freshman

  • 0 Playlists
  • 0 Followers

AmirIHz

Freshman

  • 0 Playlists
  • 0 Followers

 NSMohamedElalfy( )

iOS Apps/Games Developer if You Are interested in #ActionScript #Swift #iOS #AdobeFlash You Will Find ...

  • 0 Playlists
  • 0 Followers

said

Freshman

  • 0 Playlists
  • 0 Followers

Paal Ellewsen Isaksen

Freshman

  • 0 Playlists
  • 0 Followers

Jonathan Arnold

Interaction Designer at @pixoona, likes taking pictures & loves Jesus.

  • 0 Playlists
  • 0 Followers

Beanez

Freshman

  • 0 Playlists
  • 0 Followers

abdallah alshaer

big ambition and crazy dream

  • 0 Playlists
  • 0 Followers

Tamuna Kapanadze

Freshman

  • 0 Playlists
  • 0 Followers

John Francis

Product Designer @Uber

  • 0 Playlists
  • 0 Followers

Pooja Dhage

Freshman

  • 0 Playlists
  • 0 Followers

Alexis Lawson

Freshman

  • 0 Playlists
  • 0 Followers

ipiotrow

Freshman

  • 0 Playlists
  • 0 Followers

bibhudash

Freshman

  • 0 Playlists
  • 0 Followers

osama elgmody

Freshman

  • 0 Playlists
  • 0 Followers
Load more

Delete your comment

Are you sure you want to delete your comment?