UPGRADE YOUR SKILLS: Learn advanced Swift and SwiftUI on Hacking with Swift+! >>

Kurulum

Bu projede, kullanıcılara rastgele bayraklar gösterilip hangilerinin hangi ülkelere ait olduğunu soran bir oyun yapacağız. Başlangıç ​​projesi olan behemottan sonra, karşılaştırma açısından oldukça kolay görünecek - zaten Outletler, image viewlar, arrayler ve auto-layout gibi şeyleri zaten öğrendiniz.

Uyarı: Eğer proje 1'i, bunların hepsi hikaye deyip atladıysan, yanılıyorsun. Proje 1'i tamamlamadıysan bu proje daha zor olacak!

Bununla birlikte, öğrenmenin anahtarlarından biri, çeşitli şekillerde öğrendiklerinizi çeşitli şekillerde kullanmaktır, böylece yeni bilgilerinizi gerçekten hazmedersiniz. Bu projenin gerçek amacı tam olarak şudur: karışık değildir, sana tüm öğrendiklerini benimseyip kullanman için şans verir.

O zaman, Xcode'u aç, hoşgeldin ekranında "Yeni bir proje yarat (Create a new project)"'ı seç. Listeden Single View App(Tek görünümlü uygulama) seç ve "Next(Sonraki)" tıkla. Product Name(Proje Adı) için "Project2" yaz, sonra dil seçeneğinde Swift'in seçili olduğundan emin ol. Şimdi tekrardan Next(Sonraki) tıkla ve projeyi nereye kaydedeceğini soracak – masaüstünü seçebilirsin.

BUILD THE ULTIMATE PORTFOLIO APP Most Swift tutorials help you solve one specific problem, but in my Ultimate Portfolio App series I show you how to get all the best practices into a single app: architecture, testing, performance, accessibility, localization, project organization, and so much more, all while building a SwiftUI app that works on iOS, macOS and watchOS.

Get it on Hacking with Swift+

Sponsor Hacking with Swift and reach the world's largest Swift community!

BUY OUR BOOKS
Buy Pro Swift Buy Pro SwiftUI Buy Swift Design Patterns Buy Testing Swift Buy Hacking with iOS Buy Swift Coding Challenges Buy Swift on Sundays Volume One Buy Server-Side Swift Buy Advanced iOS Volume One Buy Advanced iOS Volume Two Buy Advanced iOS Volume Three Buy Hacking with watchOS Buy Hacking with tvOS Buy Hacking with macOS Buy Dive Into SpriteKit Buy Swift in Sixty Seconds Buy Objective-C for Swift Developers Buy Beyond Code

Was this page useful? Let us know!

 
Unknown user

You are not logged in

Log in or create account
 

Link copied to your pasteboard.