Swift
65.4K views | +10 today
Follow

jianstm/Schedule: ⏳ This is what a swift timer should look like.

From github.com

Schedule - ⏳ This is what a swift timer should look like.
No comment yet.

An iOS alert view with a text field and a “smart” OK button – Ole Begemann

From oleb.net

I wrote a UIAlertController extension that allows you to perform validation of the text the user has entered while the alert is on screen. It’s nothing earth-shattering, but what I like about it is that the behavior is entirely encapsulated in the initializer. Clients only deal with the same UIAlertController object they’re used to.
No comment yet.

Avoid pyramids of doom with PromiseKit | Netguru Blog on iOS

From www.netguru.co

In computer programming, the pyramid of doom is a common problem that arises when a program uses many levels of nested indentation to control access to a function. It's really easy in modern programming languages to encounter the issue, especially when executing asynchronous code. Futures and promises are designed to resolve this problem. Some languages offer native solutions, but when it comes to Obj-C and Swift there is a pretty cool third-party library that allows handling it easily – PromiseKit.
No comment yet.

ARKit 2.0 Tutorial: How to Save and Restore World-mapping Data

From www.appcoda.com

Welcome to the eighth installment of our ARKit tutorial series. Starting from iOS 12, ARKit has the capability to persist world mapping data. In the past, you can’t save the AR world mapping data. iOS 12 has given developers the power to create a peristence AR experience. If you are interested in learning about building apps that persist world mapping data in augmented reality, this tutorial is written for you. Here is what you are going to build. As you can see from the video, what I mean by persisting world mapping data is that you can save the AR […]
No comment yet.

huri000/SwiftEntryKit: SwiftEntryKit is a banner presenter library for iOS. It can be used to easily display pop-ups and notification-like views within your iOS apps.

From github.com

SwiftEntryKit is a banner presenter library for iOS. It can be used to easily display pop-ups and notification-like views within your iOS apps.
No comment yet.

Building Fluid Interfaces – Nathan Gitter –

From medium.com

Inspired by Apple's WWDC18 presentation "Designing Fluid Interfaces", we will build fluid iOS gestures and animations in Swift, and learn the design theory behind each interface.
Soft Cleaner's curator insight, August 14, 1:10 PM
I was once thought about to display on Soft Cleaner, fluid interface like water waves.

Hashable / Hasher

From nshipster.com

Our topic this week is `Hashable` and its new related type, `Hasher`. Together, they comprise the functionality underlying two of Swift's most beloved collection classes: `Dictionary` and `Set`
No comment yet.

Do Core Data Entities Need Primary Keys?

From www.andrewcbancroft.com

In this video I pop the hood on Core Data’s SQLite persistent store to discover the details about whether or not you need to add a property representing a “primary key” for your Core Data Entities. Take a look and be sure to subscribe for to stay connected to future screen casts! Transcript I had …
No comment yet.

VideoFlint/Cabbage: A video composition framework build on top of AVFoundation. It's simple to use and easy to extend.

From github.com

Cabbage - A video composition framework build on top of AVFoundation. It's simple to use and easy to extend.
No comment yet.

nathangitter/fluid-interfaces: Natural gestures and animations inspired by Apple's WWDC18 talk "Designing Fluid Interfaces"

From github.com

fluid-interfaces - Natural gestures and animations inspired by Apple's WWDC18 talk "Designing Fluid Interfaces"
No comment yet.

Where usage in Swift

From www.avanderlee.com

Where is a powerful keyword within Swift to filter out values. It can be used in many different variants from which most of them are listed in this post.
No comment yet.

How to Dim the Background of a Popover on iOS

From spin.atomicobject.com

In this blog post, I'll show you how you can dim not only the view behind the popover but also the status and navigation bar.
No comment yet.

Creating a Bottom Sheet

From skagedal.github.io

The Bottom Drawer or Bottom Sheet is a user interface pattern that is used more and more on iOS, showing up in Apple’s own apps like Apple Music and Maps
No comment yet.

Refactoring Massive App Delegate

From www.vadimbulavin.com

App delegate connects your app and the system and is usually considered to be the core of every iOS project. The common tendency is that it keeps growing as the development goes, gradually sprouting with new features and responsibilities, being called here and there and eventually turning into spaghett
No comment yet.

How to fix dragging animation in UI with simple math

From uxdesign.cc

Let’s start it this way, consider any piece of software where dragging elements around is a major part of the interaction. Now pay close attention to how the elements behave when being dragged…
No comment yet.

NLLanguageRecognizer

From nshipster.com

Machine learning has been at the heart of natural language processing in Apple platforms for many years, but it's only recently that external developers have been able to harness it directly.
jerometonnelier:

Awesome <3 

No comment yet.

Design Patterns in Swift #2: Observer and Memento | AppCoda

From www.appcoda.com

This tutorial is the second installment in an AppCoda series on design patterns started last week. There are 23 classic software development design patterns probably first identified, collected, and explained all in one place by the “Gang of Four” (“GoF”), Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides in their seminal book, “Design Patterns: Elements of Reusable Object-Oriented Software.”. Today, we’ll focus on two of these patterns, “observer” and “memento,” which fall into what the GoF calls the “behavioral” category. Software development is an endeavor into modeling real world scenarios in the hopes of creating tools to enhance the […]
No comment yet.

NSHipster/PasswordRules: A Swift library for defining strong password generation rules.

From github.com

PasswordRules - A Swift library for defining strong password generation rules.
No comment yet.

Never

From nshipster.com

Making a claim that something will never be the case can feel like an invitation for the universe to prove otherwise. Fortunately for us, Swift lives up to this higher standard thanks to the unlikeliest of types.
No comment yet.

Synthesized Conformance to Equatable - Swift Unboxed

From swiftunboxed.com

Investigating compiler magic for automatically synthesizing Equatable conformance.
No comment yet.