A self-taught project to learn Swift.

Related tags

Guides 30DaysofSwift
Overview

30 Days of Swift

Alt text

Twitter URL Twitter Follow

Hi Community

I am Allen Wang, a product designer and currently learning Swift.

This project was totally inspired by Sam Lu's 100 Days of Swift project, after read his Medium post I made a decision to put my every single day to write Swift, this's the final code of 30 tiny Swift projects.

Thank You to My Sponsor

30 Dasy of Swift is being sponsored by the following tool, please help to support me by taking a look and signing up to a free trial.

Gitads

Project Index & GIF Showcase

Project 01 - SimpleStopWatch

Alt text

Project 02 - CustomFont

Alt text

Project 03 - PlayLocalVideo

Alt text

Project 04 - SnapChatMenu

Alt text

Project 05 - CarouselEffect

Alt text

Project 06 - FindMyLocation

Alt text

Project 07 - PullToRefresh

Alt text

Project 08 - RandomGradientColorMusic

Alt text

Project 09 - ImageScroller

Alt text

Project 10 - VideoBackground

Alt text

Project 11 - ClearTableViewCell

Alt text

Project 12 - LoginAnimation

Alt text

Project 13 - AnimateTableViewCell

Alt text

Project 14 - EmojiSlotMachine

Alt text

Project 15 - AnimatedSplash

Alt text

Project 16 - SlideMenu

Alt text

Project 17 - TumblrMenu

Alt text

Project 18 - LimitCharacters

Alt text

Project 19 - CustomPullToRefresh

Alt text

Project 20 - CollectionViewAnimation

Alt text

Project 21 - SwipeableCell

Alt text

Project 22 - 3DTouchQuickAction

Alt text

Project 23 - SlideOutMenu

Alt text

Project 24 - MosaicLayout

Alt text

Project 25 - UIViewBasicAnimation

Alt text

Project 26 - CoreDataApp

Alt text

Project 27 - TabbarApp

Alt text

Project 28 - SpotlightSearch

Alt text

Project 29 - iMessageImagePicker

Alt text

Project 30 - WikiFace

Alt text

Where I learn from?

Design + Code 现在可以通过Price Tag 正版数字商店购买 Design Code 2.0 一年订阅仅需 256 元,2018 年 7 月份将首次更新中文版本。

AppCoda

iOSCreator

DevelopersAcademy

HackingWithSwift

GrokSwift

iOS With Girlfriend - Kevinzhow

Youtube - Jared Davidson

Youtube - Geeky Lemon

Youtube - Brian Advent

Youtube - CodeWithChris

License

30 Days of Swift is under the MIT license.

Reach me

Twitter: @creativewang

Dribbble: Allen Wang

Weibo: @Allen朝辉

Comments
  • Project 06: Ambiguous reference to member '+'

    Project 06: Ambiguous reference to member '+'

    Hello, I get the error: Ambiguous reference to member '+' at this: self.locationLabel.text = locality! + postalCode! + administrativeArea! + country! any way to fix it? I am just getting started with swift so I am not sure what the problem here is :/

    EDIT: The problem seems to be with the + administrativeArea! + country!, part I converted to swift 3.

    opened by DRiNVAD3R 2
  • Swift 3

    Swift 3

    This code should be merged to a new branch named swift-3. @allenwong Please create a new branch and I will create the PR again.

    This should not be merged in master as of now, since Xcode 8 is still in beta mode.

    opened by RishabhTayal 2
  • Your article write very well, May I get your contact information

    Your article write very well, May I get your contact information

    If inscribe!!

    Is my contact way: QQ: 742955968 Attention :Attach your name Email : [[email protected]] OR [email protected] Tel : China By The iPhone 010-15210075149 Address : I live in Beijing haidian district Thank you very much for your support ths!

    opened by guodongZhao 2
  • [Question] How to integrate SlideOutMenu into an existing app

    [Question] How to integrate SlideOutMenu into an existing app

    Hi there, excellent repository! :clap:

    I would love to add your slide out menu in my app, but I've struggled with it so far. The app consists of a storyboard with a navigation controller and 3 views and I want to add your slide out menu in order to point to these three views. Would you like to give me a few pointers on how to do it?

    Keep up the good work! :clap:

    Best, :panos

    opened by le4ker 2
  • Project10,show segue to

    Project10,show segue to "View Controller" not work

    When login button is pressed, nothing happens, which is expected to show another welcome view controller. Hope you could fix it some time.

    PS: I recommend you to group source files from https://github.com/movielala/VideoSplashKit into a folder or so, to show that it's a bundle, instead of files created by your own. Just a suggestion. :)

    opened by CaliosD 2
  • Project01: PlayBtn and PauseBtn Invalidate functionality added.

    Project01: PlayBtn and PauseBtn Invalidate functionality added.

    In Project 01 When the Stop Watch is in "running state" then the play button should not be interactive. And when the Stop Watch is in "paused state" then the pause button should not be interactive.

    opened by manas15 1
  • Creating Tests for UIlabel

    Creating Tests for UIlabel

    I am trying to do a test for the updateCounter() Method however it keeps returning nil and crashing

    func UpdateTimer() { Counter = Counter + 0.1 timeLabel.text = String(format: "%.1f", Counter) }

    Here is the code I used to generate the test, and tried to use a fake UIlabel to capture the update method.

    class StopWatchTests: XCTestCase { var sut:ViewController!

    override func setUp() {
        super.setUp()
        sut = ViewController()
        let testingUIlabelFrame = CGRectMake(5, 5, 100, 100)
        sut.timeLabel = UILabel(frame: testingUIlabelFrame)
        sut.timeLabel.text = "test"
    }
    
    override func tearDown() {
    
        super.tearDown()
        sut = nil
    }
    
    func testUpdateTimere() {
        //Test that counter is incremented by one
       sut.Counter = 10
        sut.UpdateTimer()
        XCTAssertEqual(sut.Counter, 11)
    
        let timelabel = sut.timeLabel.text
    }
    

    Besides refactoring the logic to move the ui update to a different method - is there any way to make above work as is?

    opened by grantkemp 0
Owner
Allen Wang
Founder @ floating Island, LLC ☁️🏔☁️
Allen Wang
The first HackingWithSwift project from the 100 Days of Swift series.

StormViwer A gallery to display images included in the app's internal assets folder. This is my first ever swift project and it is a part of the serie

Marcos Rios 0 Nov 9, 2021
USC's ITP342 iOS Development Swift Final Project

READMEBlogs USC's ITP342 iOS Development Swift Final Project NOTE: You'll need to attach your own Firebase to the app LINK TO APP ZIP FILE: https://dr

Connie Xu 0 Dec 8, 2021
USC's ITP342 iOS Development Swift Final Project

READMEBlogs USC's ITP342 iOS Development Swift Final Project NOTE: You'll need to attach your own Firebase to the app LINK TO APP ZIP FILE: https://dr

Connie Xu 0 Dec 8, 2021
Final project of Introduction to Swift course

Final project of Introduction to Swift course This project summarizes the concepts viewed on class, from simple variable creations, loops and conditio

Fernando López López 0 Dec 12, 2021
HotCoffee is learning project with MVVM, Generic,Swift 5, TableView

HotCoffee A simple Coffee Ordering app built using TableView, MVVM design pattern and Swift5. Tools Xcode Version 13.2.1 Framework -UIKit Architecture

Ghullam Abbas 2 Aug 26, 2022
Patika.dev & FMSS Bilişim iOS Swift Bootcamp Graduation Project

TravelGuideApp Description Articles are pulled from the Article json file and displayed in the collection view on the homepage. When the flight button

Gülzade Karataş 3 Dec 14, 2022
This is a course project for CodePath Professional iOS Development class.

Parstagram - Part I This is an Instagram clone with a custom Parse backend that allows a user to post photos and view a global photos feed. Time spent

Mingkai Chen 0 Oct 13, 2021
A sample project exploring MVVM pattern with SwiftUI/Combine, using Unsplash API (via Picsum.photos API)

CombineUnsplash A sample project exploring MVVM pattern with SwiftUI/Combine, using Unsplash API (via Picsum.photos API) with detail example. Resource

Vinh Nguyen 26 Dec 13, 2022
SampleProjectMVVM - Sample project using MVVM parsing data from Giphy.com

iOS Take Home Create an iOS app with two views, MainViewController and DetailVie

HG HrachGarabedian 0 Jan 27, 2022
Rabble Wabble - This is small Project implemented with respected design patterns

Rabble_Wabble This is small Project implemented with respected design patterns D

Ahmed Amin 2 Feb 2, 2022
ProductListSwiftUI - SwiftUI Project to fetch product list using the fakestoreapi and the MVVM architectural pattern

ProductListSwiftUI SwiftUI Project to fetch product list using the fakestoreapi

Vitalii Shapovalov 4 Sep 16, 2022
A blog project where you can write your articles, upload photos, categorize them, and add them to your favorites

A blog project where you can write your articles, upload photos, categorize them, and add them to your favorites. The aim of the project is to learn the use of Core Data.

Cem 7 Mar 21, 2022
Base project for Devpass' Dev Sprints

MVVM Challenge - Chuck Norris App ?? In this challenge, we will apply MVVM architecture concepts to finalize the implementation of an iOS application.

Devpass 1 Oct 10, 2022
This is the take home project from Lululemon for the role of Sr. iOS Software Engineer

Lululemon-Assessment The project has been completed. Please check below sections for more details :) Challenge Build two screens as shown above. The f

Amogh Joshi 3 Oct 24, 2022
Charger Arçelik Bootcamp Final Project

Arçelik Bootcamp Bitirme Projesi Libraries and Technologies VIPER Architectur Gesture Recognizer High Order functions (Filter, ForEach, Sorted, Remove

Furkan Açıkgöz 2 Jul 18, 2022
MVVM-Clean with DI implementation sample project

MVVM-Clean with Dependency Provider Introduction This project contains MVVM-Clean architecture and Dependency injection Folder Structure Every module

Faraz Ahmed Khan 3 Oct 20, 2022
SwiftLint - A tool to enforce Swift style and conventions, loosely based on Swift Style Guide.

SwiftLint - A tool to enforce Swift style and conventions, loosely based on Swift Style Guide.

Realm 16.9k Dec 30, 2022
Sweet-swift - Make Swift Sweet by Gracefully Introducing Syntactic Sugar, Helper Functions and Common Utilities

Sweet Swift Make Swift Sweet by Gracefully Introducing Syntactic Sugar, Helper F

Yanzhan Yang 2 Feb 6, 2022
Airbnb's Swift Style Guide.

Airbnb Swift Style Guide Goals Following this style guide should: Make it easier to read and begin understanding unfamiliar code. Make code easier to

Airbnb 1.8k Jan 3, 2023