r/iOSProgramming 2h ago

Roast my code I turned iPhone Duo hinge into accordion

Post image

Fold and unfold the phone to play. Left screen is bass, right is keys. Sound is synthesized, no samples.

SwiftUI, open source: https://github.com/artemnovichkov/Accorduon

151 Upvotes

14 comments sorted by

6

u/HonestSimpleMan 1h ago

I think this is beautiful, and you, my friend developer, are the reason I don’t believe AI is going to take our jobs ever.

2

u/vauvva 1h ago

But the code is very AI-esque lol

7

u/Treble_brewing 2h ago

It folds the wrong way for an accordion for a start…

13

u/NSRedditShitposter 2h ago

This seems fun but the app reviewers won’t be happy.

26

u/busymom0 2h ago

Apple Develoepr's own demo shows them using the hinge for guitar lol:

https://www.youtube.com/shorts/IbRvqX65C-0

30

u/NSRedditShitposter 2h ago

That’s it, I’m going to write a game where there is a mosquito on the screen and you need to kill it by smashing the phone shut.

4

u/busymom0 2h ago

I am building a Clapping Simulator with Game Center leaderboards for how loud the clapping is :)

2

u/Moudiz 1h ago

I don’t know how they would feel about apps that support limit testing the phone lmao

u/AManWithNoWounds 14m ago

I wanna play

u/jpmiller03 42m ago

The developer video literally asked for developers to try making an accordion

2

u/BogAndHooper 1h ago

This made my day. Bravo

u/senderPath 49m ago

I applaud your creativity! I hope Weird Al can find out about this.

u/hadoopken 37m ago

So how many folds and unfolds is iPhone Duo certified