Book Image

Learn Swift by Building Applications

By : Emil Atanasov, Giordano Scalzo, Emil Atanasov
Book Image

Learn Swift by Building Applications

By: Emil Atanasov, Giordano Scalzo, Emil Atanasov

Overview of this book

Swift Language is now more powerful than ever; it has introduced new ways to solve old problems and has gone on to become one of the fastest growing popular languages. It is now a de-facto choice for iOS developers and it powers most of the newly released and popular apps. This practical guide will help you to begin your journey with Swift programming through learning how to build iOS apps. You will learn all about basic variables, if clauses, functions, loops, and other core concepts; then structures, classes, and inheritance will be discussed. Next, you’ll dive into developing a weather app that consumes data from the internet and presents information to the user. The final project is more complex, involving creating an Instagram like app that integrates different external libraries. The app also uses CocoaPods as its package dependency manager, to give you a cutting-edge tool to add to your skillset. By the end of the book, you will have learned how to model real-world apps in Swift.
Table of Contents (14 chapters)
5
Adding Interactivity to Your First App

Software – the modern way

Every piece of software begins as a small application and grows with time. New features and functions are added. Some old functions are deprecated or removed. It's a live product, which evolves with time. The process is pretty similar to how a building is built. It's small at first with only the base. Afterwards, windows, doors, and bricks are added. Then, the roof is constructed. Later, the internal parts are finished. The whole process takes a lot of time if everything is designed from scratch. There is no need to reinvent the wheel every time and to build windows or doors from scratch. We can go and buy standardized working components, which can be easily installed in the right place in a building. This saves resources and significantly reduces the time for execution of the whole project. Later on, it's even easier to replace...