Hi, I’m Costa. It is simple to create outer shadow in SwiftUI by writing two lines of code. However, we can’t easily create inner shadow in SwiftUI. That’s the reason why I build this tool to make it simple and reusable.

Neumorphic is a SwiftUI utility to build Neumorphism Soft UI easily using custom view modifier and custom button style. It supports all shapes. It’s open source and it’s on GitHub!
https://github.com/costachung/neumorphic

Import Neumorphic package to your view.

import Neumorphic

Simply use .softOuterShadow and .softInnerShadow methods to create outer shadow and inner shadow respectively.

Create Rounded Rectangle with Outer Shadow


It’s a game. There are rules.

I am not going to be talking about the techniques and skills of how to win this game.

Instead, I will focus on the thinking process of how to aim and pot a color ball.

Cue Direction and Force

You need to use the cue to hit the cue ball. That’s the rule. You can’t change that.

Therefore, you can play with the two key variables which are the cue direction and the force that applied to the cue ball.

It’s physics. If you use the cue to hit the cue ball, no doubt the cue ball will…

Costa C.

App Design, Simplicity, Innovation, Learning, Thinking, Creating  - Inspired by Steve Jobs, Bruce Lee, MJ

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store