Swift Functions - Lesson 6 (2024 / SwiftUI)

preview_player
Показать описание
Learn how to use Swift functions to run a group of code statements at once. This is essential for coding the logic and “brains” of your app. You’ll learn how to use input parameters and return types, learn about argument labels and function signatures too.

Resources and Downloads:

Timestamps:
00:00 Intro
00:22 What is Function?
02:15 Playground Demonstration
05:32 Function Inputs and Outputs
06:52 Playground Demonstration
17:14 Function Argument Labels
19:54 Function Signatures
21:46 Outro

This video series will teach a beginner with no programming experience how to make iPhone apps. I'm creating these videos with the assumption that the student has no prior knowledge and is starting from scratch.

CWC+ PROGRAM:

APPLE DEVELOPER PROGRAM:

MY FAVOURITE APP RESOURCES:

WEEKLY UPDATES VIA EMAIL:

CONNECT:

ABOUT CODEWITHCHRIS:

Note: Some of the links in this description are affiliate links that help support this channel. Thank you if you used any of them!

#CodeWithChris #CodeCrew #HowToMakeAnApp
Рекомендации по теме
Комментарии
Автор

I literally left in the middle of my codeacademy course to find some videos that would explain it better. And here I am following your courses very easily. Honestly, you should get in touch with them to help them improve their swift coding course lol.

I already have a small foundation of JavaScript. But it's nice to have visual and audio explanations (especially with those starter codes when you create a new project). I really am an associative learner, so all the metaphors that you give are amazing for my memorizing! Very grateful to have found your channel.

Subscribed!

tarap
Автор

A good teacher is a person who enjoys what he teaches. Enthusiasm is infectious.

WorldITAcademy
Автор

Chris is a good teacher who is full of infectious energy! Thanks for the wonderful lessons!😄

Eportal-bktk
Автор

I usually look for the same topic on different sources and I can confirm to you that your explanations are clear and easy to follow

giantdworf
Автор

Very clear explanation. Learned more from this than an entire LinkedIn Learning online course!

ProudHazara
Автор

Chris, thank you so much for this! Your lessons are the best I've seen. They are very simple, yet very well explained, even for advanced programmers who need a refresher.
Continue the wonderful work you are doing! 👏👏👏❤

michellemorgan
Автор

Just now learning Swift and your videos have been super helpful so far! To me it looks like Swift shares some syntax will TypeScript and maybe a little bit with C#.

StephenSams-cmeq
Автор

An excellent course which taught me a lot, these videos are great 👍

LloydG
Автор

This suddenly became pretty advanced.. I have to many question? What are a and b? could it be g and k?

gottafindacoolname
Автор

I understood all the previous lessons, but this lesson was the hardest. Didn`t understand anything, hope it doesn`t get harder than this😣. Will definitely be watching this again and again to understand this

boqoll
Автор

thanks chris. I'm trying to build my own game now. i done the war card game a year ago. I'm thirteen. it would really help me if after you finish this course, you could make a space invaders game. because the other videos i try to follow are too old, and you do so well with the changing Xcode's. thank you for every video

mikailmoedeen
Автор

You are sensational Chris I need more lessons 😅🙌

oscarmartinez-pcnj
Автор

You taught me the fun of the front end. Unfortunately, I am Korean, so I look at English subtitles,
But it's still fun. (I don't know English. I understand it according to my interpretation.)

양양-rv
Автор

Hi Chris (from France). First thank you so much for all the time you spend for us. I love your videos. So clear and instructive. Question about parameter label (min 17:45…). Why not simply write « firstNum:Int » instead of « firstNum a:Int » and replacing a everywhere with firstNum? I don’t understand the purpose of naming the parameters. Thanks for advice.

milsabor
Автор

This has been an awesome series. The last two lessons were easy for me since I had done structured coding way back, but learning it the new way. OO is a concept I'm only just getting to understand. But Pascal and C helped me understand this quick. I like the new stacked approach vs the storyboards.

But one thing I have learned is that a lot of coding is reusing or editing old code. So is there a section on moving storyboards over to the new system?

kenmccormack
Автор

Hello! Really love to learn Xcode with you video.
When do you think you will publish next lecon? :)

thomasraufaste
Автор

Hi CHRIS, I JUST CAME ACROSS YOUR YOUTUBE CHANNEL today and find it very helpful about what you do it's awesome your are really amazing how relaxed you are about all your tutorials.
seeing how you explain everything please i want to use this opportunity to ask you the possibilty of me learning dapp development through you.
i am also ready to be a subscriber but i have no single knowlegde about coding what are the possibilities for me
hoping to hearing from you thank you
Rich

johnsonchukwu
Автор

I don't get the signatures part. Are they different, but you can use the same function label?

mousepotatop
Автор

Quick note: () are referred to as parenthesis. I've never heard of them called "rounded brackets" in US or any dev from other countries.

LetsBuildThatApp
Автор

The different "signatures" but same function name seems like a dangerous thing to do in programming... using basically the same now for two different things seems like asking for trouble. What reason would this be useful for? What am I missing?

glenn_r_frank_author
join shbcf.ru