You are browsing as a guest. Sign up (or log in) to start making projects!

Open comments for this post

2h 18m 49s logged

Hapticode Dev log #5 Hello everyone! Today I made one kinda major update and added two haptic types. Let’s get into it. First, I made it so when you long press on a haptic it opens the docs in a web view sheet instead of a share sheet. This took longer then it should have because all the top tutorial hits where for the new in iOS 26 SwiftUI web view. I wanted a web view that would work all the way back to iOS 15, so I resorted to getting AI to help me. Next, I worked some more on getting ready to let users add their own custom haptic combinations. Then I added UIKitNotificationFeedbackGenerator and UIKitSelectionFeedbackGenerator, still don’t quite know how that one works. It accepts a position input, does that mean the haptic will play from different places in the phone? I’ll have to find out. I also made it so in voice over the warning that a haptic won’t play on your device is backed into the text instead of being a separate element. That was pretty much it. I did work on the core haptics section some, but it’s still a like buggy. God bless and see you next time! Here are some pictures of the new areas (nothing really exciting though):

0
0
17
Open comments for this post

1h 54m 18s logged

Devlog #4 Today I added storage for core haptics and prepared to add storage for custom haptic combos. I added SwiftData that persists the core haptics, so you can now save your custom haptics. I also got ready to add the custom combo haptics, basically you can put any haptic together and have timing between them. Check out the app here: https://testflight.apple.com/join/r63Er1vz Here’s some screenshots of the core haptics I make:

0
0
161
Open comments for this post

1h 50m 40s logged

Devlog 3: Worked on Stardance socials video and added Core Haptics support. I also launched beta testing! I spent a few days working on my Starance socials YouTube short about Hapticode, check it out here. Then I added support for Core Haptics, which is the lower lever, more control iOS haptic generator. I plan to let you save your own custom haptic configs, right now you can adjust all the value, just not save for later. Then I added an app icon, it’s just a quick mockup for TestFlight, but it looks kinda good. I also uploaded a beta to TestFlight so testers can start, while, testing! You can join here, it is currently iOS only, but I will add watchOS and visionOS (macOS doesn’t have haptics). See you next time and God bless! ☺️ I couldn’t get Stardance to let me have new lines in my devlog, so it’s all one paragraph, anyway, here are some pictures of the new UI:

0
0
7
Open comments for this post

4h 20m 53s logged

Hello! Welcome to devlog #2 for Hapticode! 

Today I worked on UI and making the app compatible with older versions of iOS. 

UI 

I added a nice background gradient, with dark mode support, of course. I also worked on the “not listed as supported” warning.
Apples docs seem to be wrong, or something, with how they list what operating systems are supported to different haptics. Some that say they silly iOS don’t play anything, and some that don’t have iOS listed in their soldered operating systems, actually do play a haptic!? 🤷‍♂️. 
At first I wanted a tool tip to show what the warning symbol meant, but tool tips are very hard to deal with and they’re kinda confusing. So, I settled with an alert.
I added a long press to get the links to the docs feature, so you can easily get to the docs. But, it’s kinda broken, I’ll be fixing that soon. 

Backward compatibility 

I also worked on being able to stylet back to iOS 15, the farthest Xcode will let me. My code base is now full of condition stuff for working with older OS’s, but that’s the price you must pay, 🙃. 

Anyway, here’s some screenshots of the app:

0
0
5
Open comments for this post

1h 1m logged

Devlog #1: Started Hapticode

I started my first Stardance project, Hapticode.
Hapticode is an app that lets you test different haptics on iOS, so you can find the perfect haptic for your app.
I added the basic haptics from SwiftUI using the .sensoryFeedback() modifier.
An interesting issue I have encountered is that SwiftUI doesn’t always run the haptic when you ask it to, so I still have to figure out how to play those haptics. Maybe they are only available to the operating system?
Here’s a picture of the current list of all the haptics.

0
0
77

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…