• Feed
  • Discussions
CAShapeLayer

CAShapeLayer

#cashapelayer
0 followers·1 articles

CAShapeLayer

#cashapelayer·0 followers·1 articles
CAShapeLayer
Pavel Stepanov
Pavel Stepanov
pavelstepanov.hashnode.dev·Jul 07, 2022
Jul 07, 2022

Make dynamic dashed border in Swift: avoid lumping and watch original cat memes

Let's imagine you need to add a dashed border to a view. Normally, you would write code like that. First iteration private func addUglyDashedBorder() { borderLayer = CAShapeLayer() let viewRect = CGRect(x: 0, y: 0, width: frame.size.width, he...

Discuss·3 likes·426 reads
Swift

Changelog

New steps component and improved accessibility on Hashnode's blog and docs product.

New steps component and improved accessibility on Hashnode's blog and docs product.

Nov 05, 2024·
new

Trending Articles

Mobile Wallet Security: Balancing Innovation with Trust.

Patience Uyire·12 reads

Future Report: Diamante – The Crystal Nexus of Tomorrow.

Patience Uyire·16 reads

STON.fi: The Next-Gen DEX Powering TON Blockchain DeFi

Tommy williams·18 reads

Top commenters this week

Anik Sikder
Anik Sikder
How To Buy USA Verified Chime Accounts
How To Buy USA Verified Chime Accounts
Ariska Hidayat
Ariska Hidayat
Sonu Goswami
Sonu Goswami
Aet
Aet

Writing Challenges

#2Articles1Week Challenge

Become better at technical writing; accept Hashnode's writing challenge for four weeks.

#2Articles1Week Challenge
#WomenWhoTech

Share your story, achievements, or experiences as a woman, non-binary folk in tech or as a #WomenWhoTech ally!

#WomenWhoTech
Self Starter

Publish your first article on Hashnode and become a self starter!

Self Starter
Serial Blogger

Publish an article every day for 7 days and earn a cool serial blogger badge!

Serial Blogger
Talk of the town

Write a story that drives amazing engagement on Hashnode and become the talk of the town!

Talk of the town
Word Warrior

Write an in-depth article on your Hashnode blog that's more than 2000 words and become a word warrior!

Word Warrior