Methods in Swift is called as function and define by func keyword, after this keyword you should write the name of your function, parameters by their types and names in parentheses and lastly -> and the return type.
I’ve just started to learn Swift programming language after 4 years Objective C development experience. I want to share my experience in Swift language and tell about concepts in a very brief, clean and simple way as much as I can.
First I started to use a playground to learn by experiencing and looking exact results without compiling and running. Playgrounds are very effective to write a code without having / opening any Swift project.
Being a learner / a starter / a newbie again was a little hard. You have to put all your learnings in Objective C to another space in your mind and think as simple as you can. In my very fist swift code, I found myself in a search for “how to make category (extension) in swift?”
After learning how to define constants (let), variables (var) and how to call methods. I tried to make a image with using a color, because of I didn’t find the backgroundColor property of a UIButton, all I’ve found is backgroundImage so I think I should write a extension to UIImage for having a initialising method by color. Yes, I wrote by digging a little into codes and stack overflow. But it takes some time, so I decide to learn in very beginning of Swift language and lead the way for developers like me (know Objective C very deeply and need to start learning Swift in a very clean, easy and fast way.)
“You can’t connect the dots looking forward; you can only connect them looking backwards. So you have to trust that the dots will somehow connect in your future”, as a great man said in his inspirational speech.* Before making any estimation about long-term future of corporate business in the light of today’s business and social trends, looking backwards and indicating the milestones that change and shape lives in today’s convoluted world are essential.
It all starts with one brilliant innovation. After Internetworking spread out from CERN Research Center, it has touched people’s lives and linked people each other, technology comes in wide use in daily life, and information-sharing levels are very high. It’s changed the ways of human thinking and acting people routines, companies, even governments.
Stress is one of the top challenges faced by employees in organizations and we all face with this issue from time to time in our daily lives not only as an employee but also as individual. In competitive business environment, Companies can set unreachable goals in terms of time, sometimes. Top management pushes their managers reach goals faster or they can ask them to achieve higher goals in same period of time that the managers cannot commit. The managers reflect the pressure they faced, to their subordinates and they also have to set tight deadlines, even these deadlines are not realistic. Tight deadlines and too much workload cause stress. Working under tight deadlines is shown as a ability that employees should have. People show this situation on their resumes as ability, and also companies ask employees that they can work efficient under pressure.Read More »