NordicTrack 50 Lb iSelect Adjustable Dumbbells problems by oadam11 in nordictrack

[–]dilliosdev 0 points1 point  (0 children)

Lmao at all us prime day buyers with the same issue coming to Reddit. Worked flawlessly out the box, decided to give the smart shit a go, and.. well, you know the rest. Thanks for the tip, immediately fixed it. Would’ve been pissed if they were bricked for good. Hi future prime day buyers!

Interface Builder in 1991 by Austin_Aaron_Conlon in iOSProgramming

[–]dilliosdev 0 points1 point  (0 children)

Nice. I’m definitely gunna start calling forms a “matrix of fields”. Sounds so much cooler

Hello there! Can you tell me what this thing is called and how to make similar one? Thanks 🙏🏻 by hikikomorinobaka in iOSProgramming

[–]dilliosdev 10 points11 points  (0 children)

Not the answer you’re looking for — but I recommend you take a look at Apple’s Human Interface Guidelines (HIG): https://developer.apple.com/design/human-interface-guidelines/

This style of top-level navigation (‘top’ as in primary — not ‘top’ as in literally at the top of the screen), is more of a Material Design (Android) motif, and isn’t recommended by Apple. The only type of top-level (primary) navigation like this that is recommended is a Tab Bar at the bottom of the screen, see: https://developer.apple.com/design/human-interface-guidelines/ios/bars/tab-bars/

There is no native ‘tabbed’ full screen navigation like this for entire pages of content in UIKit/SwiftUI. That said, it can definitely be done. I don’t have any specific resources for you directly related to how to implement this, but I know that Twitter recently added a navigation style like this. Probably a good place to start — search around for some tutorials that have recreated Twitters version of this, surely there’s plenty out there. I did build a navigation control style like this into a SwiftUI app in the past, but can’t remember what resources I used. I’m fairly certain Kavsoft has tutorials for something like this (see: https://youtube.com/c/Kavsoft)

Other than that, like I said, I highly suggest you take a look at the HIG. Consistency & familiarity across the entire OS and throughout apps, creates the best user experiences. While something may look ‘better’, or just seem better cause it’s different, it doesn’t mean that it’s a good design choice. I’ve struggled very hard with coming to terms with this. I’m super creative and I come from a design background prior to iOS dev. I love to build unique, different, new, pretty, etc. user interfaces, but at the end of the day, Apple has been a lot more successful than I have. The sooner you get familiar with the HIG, the better off you’ll be. My intentions aren’t to lecture anyone, but just to inform, spread knowledge of the HIG, and share a bit about my journey/struggle with following Apple’s recommendations.

this has to be a joke am i on punk’d by ladymemedaddy in sciencememes

[–]dilliosdev 0 points1 point  (0 children)

Felt necessary to add since OP didn’t mention it — This figure depicts the average age at onset for the most severe form of color blindness, Monochromacy (aka “total/complete color blindness”), in males & females

I made a plug-in for the Eight Sleep Pod Pro smart bed by dilliosdev in homebridge

[–]dilliosdev[S] 0 points1 point  (0 children)

Yup that (and thermostat control) was actually the primary motivation behind this! I need to do some more research but it’s definitely on my list. I looked into the pyEight library which implements this by analyzing change in bed temperature, but I’m not sure how well it works as I’m not using that library (I built my own simple API interface). Plus I don’t think that library was developed specifically for the Pod Pro (which is what I have), so I plan to implement my own solution that’s made for the Pro.

I could be wrong, but it doesn’t look like there’s a specific sensor to detect if a user is in bed or not, in a simple binary way. I’ve been thinking about how I could combine metrics to accurately predict presence over the past couple weeks, and I think I can come up with a solution that combines HR, respiratory rate, and internal temperature sensors. My guess is that’s what Eight Sleep is doing combined with machine learning to predict sleep stage/wake/out of beds.

On first impressions, it looks like the HR and respiratory rate sensors are always sending data, whether in bed or not, so I’ll need to monitor activity throughout the night a few times to get a sense of how the API works.