Swift Programming Language Tutorial Part 2 (Functions)

preview_player
Показать описание
@SkipAllMighty
Best viewed in 4k!
Leave comments on any errata
Covering:
Functions 0:00
Рекомендации по теме
Комментарии
Автор

I've not words to describe how thankful I am for your extremely clear explanation!

leandroluizari
Автор

I only had 5 minutes to spare and came here to learn about explicit declaration. The awesomeness of the video had me till the end!

SaedAlavinia
Автор

Love the explanation of functions as params and return types. Thanks, almighty Skip!

ericmiller
Автор

Thank you very much for the explanation about the internal and external parameter. This is a feature I was always missing in languages that do not use headers. With headers, like in C++, we easily could name the external params in the header and the internal ones in the bodies. Now I have this (important) distinction back! Yipieh!

jensBendig
Автор

You know what?! You are absolutely awesome! Very clear, straight forward lessons. Thank you!

pionoor
Автор

That's super awesome! 2 hours of reading cut short to half an hour video and yet learned more :)

khannankit
Автор

This is a very well done video to describe Swift Functions.

George-oruv
Автор

extremely useful tutorial Skip, Thanks a lot from the bottom of my heart .

russel_dev
Автор

Thanks for taking time to make these tutorials they are excellent.

TLR
Автор

Skip Wilson for swift!
you teach very well.

SPICEBEATZ
Автор

Excellent tutorial. Thank you so much for the detailed explanation with examples.

karunakarbandikatla
Автор

How we define the constraint on function's arguments ??
e.g:
we have a function :
 func   xyz(str: [String] ){  }
 
and Constraints :
str will contain between 2 and 10 elements.
 Each element of str will contain between 1 to 5 characters
 Each element of str will consist of only decimal digits (0 - 9)

muhammadmohsin
Автор

I'm sorry man I just had to say I laughed so hard when you tell us to 'get ready' at the start. I wasn't sure how to get ready so I just pulled a face and started laughing. Thanks for the vids they are really good. 

LukefromDubai
Автор

Thanks Skip!, even though I am still 12 years old and too young to learn some coding. I am learning a lot from you.

matthew-marquez
Автор

great vids..so annoying that I'm using swift 3 and now a few things have changed..input parameters can't be var,
func blah(#input: String) dosent make it the input external name anymore. ++ == are going. hard to keep up when your new to swift and all the tuts are swift 2.0. but I'm loving the challenge of learning this code!!!

instorgata
Автор

Awesome tutorial, just started migrating to Swift from Objective-C.
I have question regarding the 'inout' thing, isn't it as if we are passing parameter by reference instead of value? or is it something different?

Thank you, I am really entertained by your tutorials. Very well explained. 

Emadmohamad
Автор

Thanks for making these tutorials video

ruiguo
Автор

Good tutorials. I am trying to make user applicable programs and so far your tutorial hasn't covered stuff like that u have in applications like images and buttons. 

BRBallin
Автор

"So get ready." ..This is it. This is it... The truth xD

HikikomoriDev
Автор

So why would you do
#number: Int  instead of number: Int

and also could you please explain to me what this all means and why you would do that?
 
func buildIncrementor () -> () -> Int{

}


Let me get this straight please.

The code in the parenthesis is the arguments and the -> Int means that the return value will be an integer? 
Thanks! Your vids are awesome! I got the developers license so I could program in Swift. 

dexmax