Giter Site home page Giter Site logo

swiftcrew / swiftcoding Goto Github PK

View Code? Open in Web Editor NEW

This project forked from stevencurtis/swiftcoding

1.0 1.0 1.0 729.96 MB

A set of blog posts about Swift Coding

Swift 98.33% Ruby 0.55% Objective-C 0.06% Makefile 1.03% Shell 0.01% Java 0.02% Python 0.01%

swiftcoding's Introduction

Swift Coding

A collection of blog posts about Swift coding

I hope this set of articles is of use to you!

Photo by Drew Hays on Unsplash
Photo by Mad Rabbit Tattoo on Unsplash

For the best free guide for Swift coding use CS193p, a wholly online course focussing on SwiftUI.

Articles

Quick Guides

The UITableView Example
The Programmatic UITableView Example
init

Beginner

Using a XIB File with a UIView Subclass
The Only UIStackView Guide You Will Ever Need
Imperative vs. Declarative Swift Programming
Default Arguments
Write Programmatic Constraints for Swift Projects
Ranges in Swift
Property Observers in Swift
Zip and Zip2Sequence in Swift
Overcoming Default Arguments in a Protocol
Make it snow!
Swift Lint installation
Storyboard Constraints
Simply Optionals
Functions
Overriding
Properties
TableViewTwoOneViewController
Index Out of Range Exception: The Swifty solution
For Loop
Remove elements from an array during enumeration
Enums
let or var in Swift, and why it absolutely matters
The Remainder Operator
DispatchGroups to group API calls in Swift

Easy

SEE Retain Cycles in Xcode
New Features for iOS 14: SwiftUI
|Hello, World" SwiftUI
Text Scroll with SwiftUI
|Create a Horizontally Scrolling UICollectionView with Dynamic Cell Sizes
Debug using Breakpoints in Xcode
Use lldb to Dynamically Change Code in Xcode
The Singleton
viewDidLoad() Vs. loadView()
Core Data with SwiftUI
The UINavigationController and UINavigationBar in Swift
Use Charles to Rewrite Responses Developing iOS Apps
Stack Overflow's Most Downvoted Swift Question
Using Swift's CustomStringConvertible
Segues in Swift
Visual Memory Debugger
Swift initializers
Initialising a view controller from a test using Swift
Using IBDesignable and IBInspectable in Swift
Detect iOS Shake Gestures: Swift
Create a CustomUITableViewCell in a UITableView
Handle Button Presses in CustomUITableViewCells Without Tags
Stride in Swift
Listing enum cases using CaseIterable in Swift
NSAttributedString vs NSMutableAttributedString
Overriding the default font in Swift
Common errors when using custom fonts in your iOS App
Learning UITesting using Xcode
Gradients in Swift
Using Git with Xcode
A Swift YogaKit Guide to Flexbox
A Localize Swift Tutorial
Memory leaks using the Xcode memory graph debugger
MVC in Swift
UIScrollView with Auto Layout implemented in Interface builder
Access control in Swift
FibonacciSeriesInDepth
CleanUITableViewControllers
WOOT! Supercharge Result Type using Swift's get()

Normal

Semaphores
Throw inside a closure
A Networking Manager with Alamofire
Use OperationQueue to Chain API Calls in Swift
Did Apple Kill UITableView? - UICollectionView Lists
Property Wrappers
Compositational Layouts
MVVM-C
MVC
VIPER
Theoretical VIPER
MVVM
MVVM RxSwift
The MVI Architecture Pattern in Swift
Using Redux and Swift
Loading Animation
The Only CAGradientLayer Guide You Will Ever Need
Combine and URLSession in UIKit
Parallel Programming with Operation and OperationQueue in Swift
Dark Mode iOS
iOS11 Compatibility
KeyPaths
Swift Package
ThreadSafeArray
ServiceLocator Pattern
StatePreservation
Cache URLResponses in Swift
MVVM Dependency Injection using Storyboards
Recreate the SwiftUI Sandwiches WWDC demo
Use SwiftUI in a Playground
Write a Network Layer in Swift
Encode Behaviors into Reusable View Controllers
Embed a UICollectionView Inside a UITableView
A UIGestureRecognizer tutorial
Decode JSON in Swift: A Full Micro-Project
Dependency Injection using Storyboards
Using Data Transfer Objects (DTO) in Swift Code
Do enum Types Conform to Hashable in Swift?
Two-phase Initialization in Swift
Annotation
Namespacing
Extensions
A Practice OAuth Token with Postman and Swift
Mocking Network Calls in Swift
hitTest(_:with:) vs point(inside:with)
Generics in Swift
How to Test Asynchronous Functions Using Expectation in Swift
downloadTask(with:completionHandler:) vs. dataTask(with:completionHandler:)
Test Driven Development (TDD) in Swift
Debug with the DEBUG preprocessor macro in Xcode
A SwiftMonkey Tutorial
If you’re using a base class in Swift, you’re doing it wrong
MVVM with RXSwift
Learning Dependency Injection using Swift
Injecting Services into Swift Apps for testing
MVVM: A Tutorial and Practical Example in Swift
Can you use Swift to replace a UIPageView with a UICollectionView?
A NSNotificationCenter implementation in Swift
An animated UIPageControl — from scratch in Swift
Your own subscript in Swift
The hidden workings of UITableView
Using NSNotificationCenter in Swift

Challenging

TypeErasure
TwoWayBinding
Track My Movement: A RxSwift Project
Secure iOS Apps Through App Pinning

Core Data
The Core Data Stack: Persistent Store Types
Learning the Basics of Core Data
Core Data: Using Codable
NSPredicate with Core Data
Core Data Basics: Testing

Tips

What Is The Difference Between @escaping and @nonescaping Closures in Swift
Throw or Rethrow that Error?
How Implicit Return Types Removed that Annoying Swift Inconsistency
Code snippets
Playgrounds
Parse JSON without knowing the type
Get a Comma Separated List From An Array
That little Swift Bug: Protocol Customization Points

Theory

Kruskal's Algorithm
WWDC Notes: Keynote
WWDC Notes: Platforms
Semantic Versioning
SOLID principles
Writing FIRST Swift Tests
Union Find
Favor composition over inheritance — in Swift

Design Patterns

The Mediator Design Pattern
The Single Responsibility Principle
The Factory Pattern

LeetCode

Leetcode Weekly Contest 194 Swift solutions
Leetcode Weekly Contest 195 Swift solutions
Leetcode Weekly Contest 197 Swift solutions
Leetcode Weekly Contest 216 Swift solutions
Leetcode Weekly Contest 217 Swift solutions
PrefixSum
Using an Array as a built in index for LeetCode problems
Swift: Using BFS for LeetCode problems
Swift: Using Depth-First Search for LeetCode Problems

Get in touch

I'm usually around on Twitter

Feel free to sign up to my newsletter

swiftcoding's People

Contributors

stevencurtis avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.