Geek Culture
Published in

Geek Culture

Recreating Instagram Stories Animation with SwiftUI

Photo by Alexander Shatov on Unsplash
struct Person: Identifiable {var image: Stringvar id = UUID()}
@Namespace var namespacevar persons: [Person] = ["star","1.circle","2.circle","3.circle","4.circle","5.circle","6.circle"].map({Person(image: $0)})@State var selected: Person?

--

--

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
Sai Durga Mahesh

Using Data Science to provide better solutions to real word problems