iOS Swift - Reactive programming with Combine Framework

preview_player
Показать описание
In this short tutorial we explore reactive programming by coding a simple BMI calculator using the combine framework.

If you have 2 years iOS experience and don't know unit tests, check out my Financial App With Stock APIs and Unit Tests course

If you have 3 years iOS experience, learn to create external libraries & framework via the Build A Library With Swift Package Manager course

If you are starting out with less than 6 months experience, you should learn to build a CRUD app with Firebase, so check out the Build A To-Do List App Like Google Task With Firebase course

If you are already launching your own apps on the AppStore, you can attract more users by creating beautiful onboarding screens.
Рекомендации по теме
Комментарии
Автор

Shove BMI. We're here for Combine. Liked.

АлексйУваровъ
Автор

Was going to close the tab by seeing how many view this video has! But this is actually the best iOS Reactive initiation tutorial I ever seen! Thank you so much Kelvin!

merouanebboy
Автор

The problem was that you were calculating with the height as cm instead of m (needs to be 1.6, not 160)

umminajihahramlan
Автор

This guy is 160 meters tall, how can you give him thumbs down?
Nice review man, keep up

boxinggio
Автор

You can just say "equals, " don't need to say "equals to"
Awesome video

mfpears
Автор

Why would someone use Combine instead of the old way?
I really don't get what combine brings to the table, just looks like a more verbose way of doing the same.
Someone care to clarify this for a beginner ?

casadogaspar
Автор

But why do it the swift combine way? it seems much faster and simpler to do it the old way

mizoto
Автор

First you passed meters in kg and kg in meters TextField and in second attempt you are using meters instead of centimetres.. you were before coffee or just stop thinking during recording this video :)

MormoCs
Автор

are yaar, the height is in meters, 70 x [1.8 x 1.8] = 21.60

rohannaik
Автор

setting the value of a published object in sink is not a great way of doing, better use assign

awaisabbasi
Автор

Nice! But just curious why you wouldn't use SwiftUI to build the UI. The old way is like going back to the stone age.

rgenericson
Автор

appreciate the tutorial
but sorry, this is terrible.
var names are terrible, use of operators is non existent.
if this is the reactive way, count me out!

itamarmanor
welcome to shbcf.ru