This week I am looking into the swift language which is used for iOS apps. So far I think it's so cool and an easy language to grasp. What I know so far about coding definitely plays a part in how quickly I am picking this up.
A few things that stood out:
the string interpolation - this is used to input a variable into a string using (backslash ()(variable))
Example, I am (age) years old.in swift constants are declared using the let keyword
What is cool to me:
else/if statements
ternary conditional operator (this finally makes sense to me. I've seen it in example codes but never knew its use.)
-
Switch statements
- interval matching
- compound cases
Until next time !
Top comments (1)
hey Keda, I've also been working in swift and creating my first ever iOS app, we can think of collaborating in some project for future ?