Xcode projects and sources created during HWS-Live workshop hosted by @twostraws

Overview

Hacking with Swift Live 2021

My Xcode projects and sources created during Hacking With Swift Live online-workshops hosted by @twostraws.

Day 1

Day 2

  • Message Inbox: Learning more about the concurrency features: Task suspend, cancellation, sleep, TaskGroup. Read the code in ContentView.swift

  • Practice News Stories: Writing a small app showing news stories fetched from 5 JSON feeds, concatenating and sorting for display.

  • Heterogenous TaskGroups: How to handle tasks within a TaskGroup returing different types? Wrap the result in an enum! Read the code in ContentView.swift

  • Practice TaskGroup: Writing a asynchonous loadData method fetching data from different locations and of different types, combining the result before updating the views model. Read the code in ContentView.swift!

  • Actor: What is an actor and its purpose? Simple examples in ContentView.swift: URLCache, BankAccount, BasketballTeam and Player. Handling Hashable and Codable for actors, when to use nonisolated and isolated keyword and how global actors, the MainActor fit into the picture.

    Bonus: Using Task.detached to run code parallely not bound to the same actor which the View might inherit from its properties!

  • Bus+: new features in SwiftUI so far AsyncImage, .task modifier (to be continued on day 3!)

You might also like...
Repository to store the projects made during the 100 Days of Swift challenge by Paul Hudson of Hacking with Swift.

100DaysOfSwift 📱 Repository to store the projects made during the 100 Days of Swift challenge by Paul Hudson of Hacking with Swift. Days 1-12: Introd

LiveWeatherApp - Live Weather App - Displays Live Weather Data with OpenWeather API
LiveWeatherApp - Live Weather App - Displays Live Weather Data with OpenWeather API

Live Weather App - Displays Live Weather Data with OpenWeather API Learned about

The starting file for the 360iDev "It's Widget Time" workshop.

360iDevWidgets_start The starting file for the 360iDev "It's Widget Time" workshop. Syllabus This is a workshop to introduce you to adding widgets to

Rock Saper Scissors Workshop

Rock Saper Scissors Workshop A Swift 'Everyone Can Code' workshop in 1 hour 🕊 About Discover the basics of Swift with this short workshop designed to

Karrot iOS 3rd workshop easter egg
Karrot iOS 3rd workshop easter egg

Getting started with 三政丞(Segway) 三政丞(Segway) pattern is an alternative to MVC or MVVM Karrot iOS 3rd workshop easter egg project. It's modularized in

Accessbility workshop by hacking with swift. Make every app more usefull for the all the users
Accessbility workshop by hacking with swift. Make every app more usefull for the all the users

Accessibility Accessbility workshop by hacking with swift. Make every app more u

Intro to iOS Workshop - Demo App

WeArePennStateApp Intro to iOS Workshop - Demo App We Are, Penn State! Requirements: Build an app in Swift that allows you to perform the We Are Penn

NewsAPISwift is a Swift client for News API V2, a service that provides breaking news headlines, and search for articles from over 30,000 news sources and blogs.

NewsAPISwift NewsAPISwift is a Swift client for News API V2, a service that provides breaking news headlines, and search for articles from over 30,000

PJFDataSource is a small library that provides a simple, clean architecture for your app to manage its data sources while providing a consistent user interface for common content states (i.e. loading, loaded, empty, and error).
PJFDataSource is a small library that provides a simple, clean architecture for your app to manage its data sources while providing a consistent user interface for common content states (i.e. loading, loaded, empty, and error).

PJFDataSource PJFDataSource is a small library that provides a simple, clean architecture for your app to manage its data sources while providing a co

Much a-do with compositional layouts and diffable data sources.

Film Goal Reflect upon decisions made on my last project Films (submitted in July of 2019) and make improvements on my findings. Be more pragmatic wit

CollectionComposer2 - Copy random image files from various sources to destination folder - ready to use

CollectionComposer2 This is a small tool to copy a random number of image files from different source folders to a destination folder. As an additiona

News feed aggregator from several sources

Task (full description will be added when the program is ready :)) News feed aggregator from several sources (for example lenta and gazeta or newsapi

FlaneurImagePicker is an iOS image picker that allows users to pick images from different sources (ex: user's library, user's camera, Instagram...).                            It's highly customizable.
FlaneurImagePicker is an iOS image picker that allows users to pick images from different sources (ex: user's library, user's camera, Instagram...). It's highly customizable.

FlaneurImagePicker is a highly customizable iOS image picker that allows users to pick images from different sources (ex: device's library, device's c

This projects shows how we can server-side add/update "ANY" custom font in a live iOS App without needing to update the app.

Server-side-Dynamic-Fonts This projects shows how we can server-side add/update "ANY" custom font in a live iOS App without needing to update the app.

This app has always been open source! It began with the Big Brain Hackathon and now during Hacktoberfest
This app has always been open source! It began with the Big Brain Hackathon and now during Hacktoberfest

Brain Marks This app has always been open source! It began with the Big Brain Hackathon and now during Hacktoberfest. It is available for free on the

Tipsy - Bill splitting and tip calculating App developed during iOS & Swift classes - The Complete App Development Bootcamp
Tipsy - Bill splitting and tip calculating App developed during iOS & Swift classes - The Complete App Development Bootcamp

Tipsy 💵 Bill splitting and tip calculating App developed during iOS & Swift cla

This was built during my bootcamp using SwiftUI, WebKit and an API from Hacker News

HackerNewsReader This was built during my bootcamp using SwiftUI, WebKit and an API from Hacker News. This was programmed from scratch with SwiftUI. I

Library for smooth animation of images during transitions.
Library for smooth animation of images during transitions.

ImageTransition ImageTransition is a library for smooth animation of images during transitions. Something looks like below: e.g. UIImageView e.g. UIIm

Convenient & secure logging during development & release in Swift 3, 4 & 5
Convenient & secure logging during development & release in Swift 3, 4 & 5

Colorful, flexible, lightweight logging for Swift 3, Swift 4 & Swift 5. Great for development & release with support for Console, File & cloud platfor

Owner
Philipp
Philipp
A guide on setting up Xcode with all the essential Applications, Tools, and Frameworks to make your development experience with Xcode great!

A guide on setting up Xcode with all the essential Applications, Tools, and Frameworks to make your development experience with Xcode great!

Michael Royal 24 Jan 4, 2023
This repository accompanies Modularizing Legacy Projects Using TDD: Test Driven Development with XCTest for iOS

Apress Source Code This repository accompanies Modularizing Legacy Projects Using TDD: Test Driven Development with XCTest for iOS by Khaled El-Morabe

Apress 13 Dec 15, 2022
null 13 Oct 28, 2022
SwiftUIDay49To61 - Includes CoreData, Networking learning and my custom MVVM CoreData implementation from 100 days of SwiftUI

Includes CoreData, Networking learning and my custom MVVM CoreData implementation from 100 days of SwiftUI by "Hacking with Swift"

Vong Nyuk Soon 3 Feb 11, 2022
A lightweight Swift date library for parsing, validating, manipulating, and formatting dates based on moment.js.

A lightweight Swift date library for parsing, validating, manipulating, and formatting dates based on moment.js.

Olabisi Oduola 1 Jan 28, 2022
Intuitive cycling tracker app for iOS built with SwiftUI using Xcode. Features live route tracking, live metrics, storage of past cycling routes and many customization settings.

GoCycling Available on the iOS App Store https://apps.apple.com/app/go-cycling/id1565861313 App Icon About Go Cycling is a cycling tracker app built e

Anthony Hopkins 64 Dec 19, 2022
100 Days of Swift by Paul Hudson (@twostraws).

100DaysOfSwift This repository includes all of the projects from Paul Hudson's 100 Days of Swift course. These projects were built for iOS 16 with Xco

Matt 3 Dec 15, 2022
A MacOS app created to annoy users so users will go to bed during bedtime hours

A MacOS app created to annoy users so users will go to bed during bedtime hours. Developed for me as a school project.

Helen Dun 1 Jan 17, 2022
Swift code to programmatically execute local or hosted JXA payloads without using the on-disk osascript binary

Swift code to programmatically execute local or hosted JXA payloads without using the on-disk osascript binary. This is helpful when you have Terminal access to a macOS host and want to launch a JXA .js payload without using on-disk osascript commands.

Cedric Owens 20 Sep 27, 2022
This is the BlurrMC social media platform for iOS hosted on Apple's CloudKit.

BlurrMC for iOS This is the BlurrMC social media platform for IOS! WOOOOOOO! On this version of the social media platform, you have the full featured

BlurrMC 0 Nov 4, 2021