I last blog we learnt that how to create Hello World program Using swift.Before to create a Iphone application you have to little knowledge about swift programming,In this blog explain basic programming in swift for IOS development.
No need of any programming knowledge to learn that.
No need of any programming knowledge to learn that.
So lets create playground project to learn all this things.Create a project and after that go on xcode -> file -> playground Select platform as ios
save this on same folder of your project(can find it easily)
The editor, will look like that.
So in this blog we will learn about swift variables,array-dictionary..
Variables : In swift we use var keyword to define variables.for example str is variable and it is sort of string..In the right hand site it show the instant result so its good platform to learn
swift
swift
I added playground pic,You will learn from that how to define variable and how to convert from one type to different type.I also explain how to add other variable in string.
There has lot of variables but these three will be more useful that you should have to know.
Now I will explain little bit about array and dictionary.
Array
Dictionary
Difference b/w array and dictionary is that array is ordered and dictionary is not.
Hope you will learn basic ingredient of swift programming
Thanks for reading in next blog will explain you how to use if and else or loops.
If any question or problem related to that feel free to mail me or comment I will try to give response ASAP.





This beginner’s hub on Variables, Arrays, Dictionaries, and iOS Development is very helpful! If you need a quick iPhone screen replacement, this service is highly recommended.
ReplyDeleteThis beginner’s hub covering Variables, Arrays, Dictionaries, and iOS Development is very helpful! If your car battery needs a boost, try this reliable battery jump start service in Dubai.
ReplyDelete