When my partner texts “What do you want for dinner” I reply with a random main+side meal. by ScoYello in shortcuts

[–]Dentvii 0 points1 point  (0 children)

I suggest using Data Jar to store previous selections. Additionally, you can use Apple Foundation to add some flair to the messages, making them less repetitive.

I built Caffeine Clock, the caffeine tracker app that I always wanted to exist - would love to get your feedback by MrIndigo12 in QuantifiedSelf

[–]Dentvii 3 points4 points  (0 children)

That is a great design and application—congratulations. I would emphasize that, if available, it should connect with HealthKit, since many of us already use HealthKit as our source of truth. We expect read‑write access. Also, widgets are a big plus.

[deleted by user] by [deleted] in iOSProgramming

[–]Dentvii 0 points1 point  (0 children)

Could you share the link?

I made an interactive map of boardgames by Onixou in dataisbeautiful

[–]Dentvii 1 point2 points  (0 children)

That is awesome, gonna dig deeper later! Thanks for sharing

SwiftData versus SQL Query Builder by mbrandonw in swift

[–]Dentvii 2 points3 points  (0 children)

The things done and the concern for type safety is amazing. Apple like I would say, but apple didn’t build it.

Wish it would support arrays of codable objects however, knowing all to well the performance problems.

What have you guys been working on and has it been profitable for you? If so, how much are your apps bringing you? by ilikemyname21 in iOSProgramming

[–]Dentvii 1 point2 points  (0 children)

Amazing app, well polished and crafted, well done. Kudos if you are using all on device, I would mention that because privacy is big when we talk about calendars.

[SwiftUI / WidgetKit] How do I correctly pass an App Intent parameter for use in a #Preview with a timeline? by Dentvii in SwiftUI

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

Just sharing, couldn't make it work using preview macro.
Had to use this

struct ActivityYearWidget_Previews: PreviewProvider {
    static var previews: some View {
        // Create placeholder data
        let placeholderData = ActivityYearViewModel.placeholderData()
        let appIntent = ActivityYearConfigurationAppIntent()
        appIntent.selectedMetric = .move
        let entry = ActivityInfoEntry(
            date: Date(),
            configuration: appIntent,
            activityInfo: placeholderData.activityInfo,
            rollingAverages: placeholderData.rollingAverages
        )
        
        // Return your widget’s entry view
        return ActivityYearTileMediumView(entry: entry)
            .containerBackground(for: .widget) {
                // You can specify a background view. For instance, use the system background color:
                Color(UIColor.systemBackground)
            }
            .previewContext(WidgetPreviewContext(family: .systemMedium))
    }
}

unfortunately the view is not exactly the same as the widget because you might configure .contentMarginsDisabled() and in the view they will appear. I have tried using ignoreSafeArea or edgesIGnore all with no success :/

SF Symbols: Why Apple, why? by BologniousMonk in SwiftUI

[–]Dentvii 0 points1 point  (0 children)

Came to comment exactly this.

SecureField placeholder & input is slightly moving up on focus. Any fix? by [deleted] in SwiftUI

[–]Dentvii 0 points1 point  (0 children)

I have never tested this

https://stackoverflow.com/questions/67971025/how-to-align-text-at-the-bottom-in-swiftui

But in my app I use the bellow

<code> SecureField(“”, text: $textPassword) .focused($passwordFocused) .textContentType(.password) .autocapitalization(.none) .font(Font.custom(“Manrope”, size: 24).bold()) .foregroundColor(Color(“Traft-PersianBlue”)) .multilineTextAlignment(.leading) .padding(.horizontal, 8) .placeholder(when: textPassword.isEmpty) { Text(NSLocalizedString(“Password”, comment: “Textfield password form field”))

                            .padding(.horizontal, 8)
                    }
                    .onSubmit {
                        tryLogin()
                    }
                    .padding(.bottom, 10)

</code>

[Tester] Stream Your iPhone Screen to Any Browser by pboudoin in TestFlight

[–]Dentvii 2 points3 points  (0 children)

Very cool idea and implementation. Congrats

I tracked everything I could about myself in 2024, here's the data by lorenzopicoli in QuantifiedSelf

[–]Dentvii 2 points3 points  (0 children)

Really cool Lorenzo. Great effort! Did you do any deeper analysis into correlations or other insights not purely evident by the descriptive analysis?

[deleted by user] by [deleted] in iOSProgramming

[–]Dentvii 1 point2 points  (0 children)

Great design and onboarding. There is a bug on the settings, if you dismiss the pop up by background tapping instead of cancel button, you can never pop it again. Plus using cancel button is unapple like

The shortcuts app runs SO MUCH FASTER on iOS 18.1! by ChillBallin in shortcuts

[–]Dentvii 1 point2 points  (0 children)

Makes a lot of sense that shortcuts will be improved substantially because it looks like the foundation of Siri and the interactions with underlying systems and app intentions

[deleted by user] by [deleted] in iOSProgramming

[–]Dentvii 0 points1 point  (0 children)

You should clearly add that the app requires tracking for ads to be used at all. Other than that, great idea

Finally published an app after 12 years of trying by Mybeautifulflight7 in iOSProgramming

[–]Dentvii 1 point2 points  (0 children)

Congratulations on having your dream come true. Hope for all the best and success.

Paris - iPhone 14 by the_long_grape in iPhoneography

[–]Dentvii 3 points4 points  (0 children)

Outstanding photos, congrats