Swift
92.7K views | +0 today

yannickl/Perspective: Powerful scrolling and motion parallax for iOS

From github.com

Powerful scrolling and motion parallax for iOS. Contribute to yannickl/Perspective development by creating an account on GitHub.
No comment yet.

gonzalezreal/DefaultCodable: A convenient way to handle default values with Swift Codable types

From github.com

A convenient way to handle default values with Swift Codable types - gonzalezreal/DefaultCodable
No comment yet.

onmyway133/Micro: �Fast diffing and type safe SwiftUI style data source for UICollectionView

From github.com

�Fast diffing and type safe SwiftUI style data source for UICollectionView - onmyway133/Micro�
No comment yet.

Customizing the shape of views in SwiftUI

From swiftwithmajid.com

SwiftUI provides us several exciting ways to change the shape of our views. It allows clipping, masking, and a few other operations on the shape of views. This week I want to talk to you about altering view’s shape in SwiftUI.
No comment yet.

Creating Haptic Feedback in iOS 13 With Core Haptics

From exyte.com

A simple example of creating haptic feedback for a better UX
No comment yet.

how to build swiftui style uicollectionview data source in swift

From onmyway133.github.io

Issue #598 It’s hard to see any iOS app which don’t use UITableView or UICollectionView, as they are the basic and important foundation to represent data. UICollectionView is very basic to use, yet a
No comment yet.

Expand and Collapse List Rows with Animation in SwiftUI

From www.vadimbulavin.com

Learn how to expand and collapse list rows with animation in SwiftUI by using List and ForEach in this step-by-step tutorial.
No comment yet.

Static and Dynamic Callable Types in Swift

From nshipster.com

If like most of us, you aren’t tuned into the comings-and-goings of Swift Evolution, Xcode 11.4 is your first exposure to two new additions to the language: key path expressions as functions and callable values of user-defined nominal types.
No comment yet.

Dynamic Master Detail View Background Colors

From swiftjectivec.com

In my quest to pretty up some of the rougher edges of Spend Stack, today I turn my attention to styling my interface in Master-Detail Views. Easy to describe, harder to do.
No comment yet.

Gradient in SwiftUI

From sarunw.com

SwiftUI has built-in ways to apply gradient color to its view. We are going to explore all three types of gradients provided, LinearGradient, RadialGradient, and AngularGradient.
No comment yet.

Building ViewModels with Combine framework

From swiftwithmajid.com

One of my first posts on this blog was about using the ViewModel pattern in iOS apps. I’m still using this concept in some old school UIKit projects. But I think it’s time to remaster that post. This week we will talk about building reactive ViewModels using Combine framework.
No comment yet.

Using UIView and UIViewController in SwiftUI

From www.vadimbulavin.com

How to use UIViewController and UIView in SwiftUI with Swift 5? How to pass data between UIKit and SwiftUI? What is the lifecycle of UIViewControllerRepresentable and UIViewRepresentable? These are the questions to answer in this SwiftUI tutorial.
No comment yet.

Snatch Bugs with This Lightweight Bug-Reporting iOS Library | Infinum

From infinum.com

Bugsnatch is a bug-reporting iOS library that helps QA engineers exterminate even the most persistent bugs.
No comment yet.

I am Simme

From www.iamsim.me

Not being able to run arbitrary code in SwiftUI view builders can be quite annoying. The other day I realized it’s possible to use self executing closures to work around this!
Here’s a contrived example that creates a stretchy header:
struct ScrollThing: View { var body: some View { ScrollView { VStack(spacing: 0) { GeometryReader { g in Color.white .offset(y: { let offsetY = g.frame(in: .global).minY return offsetY > 0 ?
No comment yet.

Introducing Swift Crypto

From swift.org

I’m thrilled to announce a new open-source project for the Swift ecosystem,
Swift Crypto. Swift Crypto is a new
Swift package that brings the fantastic APIs of Apple
CryptoKit to the wider
Swift community. This will allow Swift developers, regardless of the platform
on which they deploy their applications, to access these APIs for a common set
of cryptographic operations.

No comment yet.

How to make your iOS app smarter with sentiment analysis

From benoitpasquier.com

For quite some time now, I’ve been developing an interest to data analysis to find new ways to improve mobile app. I’ve recently found some time to experiment neural language processing for a very specific usecase related to my daily work, sentiment analysis of customer reviews on fashion items.
No comment yet.

Using UIKit views in SwiftUI

From swiftwithmajid.com

A few weeks ago, we talked about building views like PagerView and BottomSheetView from scratch in SwiftUI. SwiftUI is pretty young and misses some components that we expect to have out of the box. But it provides all the needed APIs to build whatever we want. However, sometimes we need to reuse UIKit views instead of making the SwiftUI versions. This week I want to talk to you about using UIKit views in SwiftUI.
No comment yet.

Intrinsic content size in SwiftUI

From sarunw.com

How to define intrinsic content size in SwiftUI
No comment yet.

Swift’s closure capturing mechanics

From www.swiftbysundell.com

This week, let’s take a look at the various ways that Swift closures can capture the objects and values that they depend on, and how we can control those mechanics.
No comment yet.

iOS App Security: Best Practices

From quickbirdstudios.com

In this article, we focus on iOS App Security and show you concrete techniques on how to improve security in your iOS apps.
No comment yet.

finestructure/Gala: Gala is a Swift Package Manager project for macOS, iOS, tvOS, and watchOS to help you create SwiftUI preview variants.

From github.com

Gala is a Swift Package Manager project for macOS, iOS, tvOS, and watchOS to help you create SwiftUI preview variants. - finestructure/Gala
No comment yet.

RawRepresentable

From nshipster.com

Programming is about typing. And programming languages are typically judged by how much they make you type — in both senses of the word.
No comment yet.

Model-View-Controller in iOS: A Blueprint for Better Apps

From matteomanferdini.com

An practical guide on why the MVC pattern is still essential in SwiftUI and its similarities with MVVM and other architectural patterns.
No comment yet.

Optimizing views in SwiftUI using EquatableView

From swiftwithmajid.com

SwiftUI provides us a very fast and easy to use diffing algorithm, but as you might know, diffing is a linear operation. It means that diffing will be very fast for simple layouts and can take some time for a complicated layout.
No comment yet.