It’s time to start Neumorphism UI in Swift

Shivam Thaker
2 min readMar 3, 2020

--

This year explored some potential new trends in UI design, with one particular trend gaining a lot of attention on this year. This “New Neumorphism” has been set a trend utilizing a new and minimal look with a soft, extruded plastic appearance that gives the impression that the interface has been vacuum formed.

In the years of the modern user interfaces, we used to have Neumorphism designs; it was a design mimicking its use case. For example, buttons were glossy, and the trashcan icon resembled deleting, and so on.

Neumorphism UI Design

Neumorphism outer shadow in swift

func setupActionView() {
subtitleView.type = .normal
actionLabel = UILabel()
actionLabel.translatesAutoresizingMaskIntoConstraints = false

actionLabel.textColor = .darkText
actionLabel.font = UIFont.init(name: "AvenirNext-Regular", size: 16)
actionLabel.text = "Neumorphism" actionView.setContentView(actionLabel)
actionLabel.centerXAnchor.constraint(equalTo: actionView.centerXAnchor).isActive = true
actionLabel.centerYAnchor.constraint(equalTo: actionView.centerYAnchor).isActive = true
}

Neumorphism inner shadow in swift

func setupActionView() {
subtitleView.type = .normal
subtitleView.isSelected = true
let label = UILabel()
label.translatesAutoresizingMaskIntoConstraints = false
label.font = UIFont.init(name: "AvenirNext-Bold", size: 13)
label.text = "Neumorphism"label.textColor = .darkText
subtitleView.setContentView(label)
label.centerXAnchor.constraint(equalTo: subtitleView.centerXAnchor).isActive = true
label.centerYAnchor.constraint(equalTo: subtitleView.centerYAnchor).isActive = true
}

Further Reading

Get notified about the details of New innovation in software industry, as well as other important development update & expansion of IT industry check our previous & Upcoming article.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Shivam Thaker
Shivam Thaker

Written by Shivam Thaker

mobitech Enthusiast, who loves to write anything around mobile application Development. You can follow me here: www.linkedin.com/in/shivam-thakar-546144238

Responses (1)

Write a response