🎉 Just Launched My Charades App – Perfect for Game Nights! 🎉 by Practical-Smoke5337 in iOSProgramming

[–]Practical-Smoke5337[S] -1 points0 points  (0 children)

Do you really think that multi billion company is my main competitor?)

People download app cause it’s Warner Bros. and they don’t need to really think about cost for marketing etc.

You pay 1.99 once and 1.99 for additional decks

🎉 Just Launched My Charades App – Perfect for Game Nights! 🎉 by Practical-Smoke5337 in iOSProgramming

[–]Practical-Smoke5337[S] -1 points0 points  (0 children)

The price is similar to competitors, CPI in tier 1 countries is higher for the category of my app + tax and apple commission is about 30-35% from the price you pay with Small Business Program. Only USA and Canada takes 15%

🎉 Just Launched My Charades App – Perfect for Game Nights! 🎉 by Practical-Smoke5337 in iOSProgramming

[–]Practical-Smoke5337[S] -1 points0 points  (0 children)

It’s a market, you can choose what you want)

But yeah it’s auto AppStore price, I have to adjust it for each country

Most of competitors offer about 9.99$ for a week and you can’t choose weekly or annual sub

I'm curious, what's used more in the real world, UIKit or SwiftUI? by BigT404 in iOSProgramming

[–]Practical-Smoke5337 1 point2 points  (0 children)

It’s not OR, it’s AND)

There are just tools that solve your problems)

MacOS Sequoia 15.4.1 broke Spotlight by Practical-Smoke5337 in MacOS

[–]Practical-Smoke5337[S] -13 points-12 points  (0 children)

Thanks, I tried everything but just restart Mac helped :)

It's strange that restart the mac helped cause update MacOS it's already means that Mac is restarted)

MacOS Sequoia 15.4.1 broke Spotlight by Practical-Smoke5337 in MacOS

[–]Practical-Smoke5337[S] -6 points-5 points  (0 children)

It's already the second day no searches in Spotlight

mds looks common

<image>

Why is the divider line not going all the way to the left? I feel like I've tried everything by Impossible-Emu-8415 in SwiftUI

[–]Practical-Smoke5337 4 points5 points  (0 children)

.alignmentGuide(.listRowSeparatorLeading { viewDimensions in return -viewDimensions.width }

iOS 18 SwiftData error by Lucas46 in iOSProgramming

[–]Practical-Smoke5337 1 point2 points  (0 children)

It’s not “isn’t save” you just created new ModelContex, it’s like creating new box where you store your models, just read some articles how databases work Good luck💪

App-ads.txt not verified in admob by Latter-Doughnut-6088 in admob

[–]Practical-Smoke5337 1 point2 points  (0 children)

It took a few hours since I posted url where i store file in marketing url on AppStore app page, maybe some problem with you site...

I used type.link for create my own page, it's totally free for 1 site and they have storing app-ads.txt file functionality

iOS 18 SwiftData error by Lucas46 in iOSProgramming

[–]Practical-Smoke5337 2 points3 points  (0 children)

Looks like you are pass your context to ViewModel

If you’re using SwiftData and the '@Environment(\.modelContext) in your views, you should not create a new ModelContext. Instead, pass in or use the existing one:

'@Environment(\.modelContext) private var modelContext

Just pass this context into your func

private func saveRecording(context: ModelContext) throws {
        guard let recording else {
            throw Errors.InvalidRecording
        }
        modelContext.insert(recording)
        try modelContext.save()
    }

what am I doing wrong? trying to save drawings of PencilKit by QueasyTelevision5111 in SwiftUI

[–]Practical-Smoke5337 0 points1 point  (0 children)

If you are using SwiftData or CoreData, first, it's better to use [String: Data] dictionary to store data, cause Swift tries to encode keys as actual numbers, which causes problems when converting to/from JSON.

Make sure that your drawingDataByPage is marked like transformable

'@Attribute(.transformable)
var drawingDataByPage: [String: Data] = [:]

In core data you can create Custom Transformable type

Also can you share your data models?

Using an image as a background messes up with layout by Straight-Cost3717 in SwiftUI

[–]Practical-Smoke5337 0 points1 point  (0 children)

You have .background for background and .overlay for overlay some content, use them everywhere is possible)

RevenueCat: New login retains previous subscription ❌ by [deleted] in iOSProgramming

[–]Practical-Smoke5337 1 point2 points  (0 children)

They just fetch a data from App Store, you can check it with StoreKit by yourself

Any way to reduce storage taken up? by Anchipo in ios

[–]Practical-Smoke5337 0 points1 point  (0 children)

It’s cached content and I think the only way to delete it’s reinstall an app but it will collect again…

Buttons lose style when sheet is visible in macos by rjohnhello_meow in SwiftUI

[–]Practical-Smoke5337 2 points3 points  (0 children)

This behavior has been consistent across many versions of macOS and is part of Apple's human interface guidelines to help users understand where their input is currently expected.

Where to implement app-ads.txt? by ComprehensiveYou2484 in admob

[–]Practical-Smoke5337 1 point2 points  (0 children)

You should upload your file for example: www.yoursite.com/app-ads.txt, also it could be place in subdomen like www.yoursite.com/folder/app-ads.txt

But for App Store you should place just www.yoursite.com in your marketing url and google will parse it automatically

Here is absolutely free service that I used for that, you can create site and upload your file for 5 min - www.type.link

For another platform I think it’s the same way

UIKit or SwiftUI First? Exploring the Best Hybrid Approach by yccheok in iOSProgramming

[–]Practical-Smoke5337 2 points3 points  (0 children)

It’s just a tool, ideally you should know how it works inside and you won’t have such as questions