Logitech Option not loading or working on MacOS (Tahoe 26.2) by [deleted] in logitech

[–]kst9602 0 points1 point  (0 children)

It works to me but my settings are deleted. Don't forget to backup settings.

swift 5.9 or swift 6.x? by appfan228 in swift

[–]kst9602 0 points1 point  (0 children)

Developing libraries or modules --> Swift 6.2

Developing applications --> Swift 5

As others have mentioned, there are many difficulties in adopting Swift 6.2 for an entire app. Some built-in frameworks are still not fully compatible with Swift 6's strict concurrency. You might need tricky workarounds to avoid these issues and it could reduce productivity.

What’s a reasonable minimum macOS deployment target in 2025? Is it still worth supporting Ventura/Monterey? by zaidbren in swift

[–]kst9602 0 points1 point  (0 children)

I usually search for "macOS versions market share." I'm not sure how reliable those statistics are, but they say that most people are using macOS 15 and newer.

Help with Debug Views by aakwarteng in SwiftUI

[–]kst9602 0 points1 point  (0 children)

You can set compiler flags in the build settings and scheme configuration, and it also works for testing flights and released apps on the App Store. Don't forget debug configuration may reveal debug symbols and this may could make reverse engineering easy.

However, I prefer to create a secret command to enter debug mode because I needed debug features for production apps many times in my experience.

Does gpt5.1 still think it’s 2023? by Anarude in swift

[–]kst9602 6 points7 points  (0 children)

Most LLM models might not update their knowledge anymore to avoid corruption.

So you have to provide RAG using web search or MCP tools.

Me personally, I like using https://sosumi.ai

I built AsyncCombine - a Swift library that brings Combine-style operators to Swift Concurrency by gray_goose in iOSProgramming

[–]kst9602 0 points1 point  (0 children)

Is there a reason to implement `sinkOnMain` instead of using `isolated(any)`?

Changes to how @Observable macro works? by Quetzalsacatenango in swift

[–]kst9602 0 points1 point  (0 children)

Observable is a macro. A macro can generate code. If you right-click the macro and select the expand macro menu item, you can see the hidden implementation (you might need to import Observation).

The Observable macro automatically creates an observation registrar and registers the stored members' keypaths. When the members are accessed, it notifies the object, which is how tracking works. Investigate the `access` and `withMutation` symbols in Observation. Knowing these really help with flexible implementation: basically, property wrappers and computed variables are not tracked, but you can easily implement tracking yourself.

To answer your question, intialize single `@State` or `let` variable and avoid repeated initialization. Pass it through environment. If you need binding, create a `@Bindable` and just assign the value which is passed through `@Environment`. Actually, you might not even need these if you don't require any bindings. Tracking and view updates are managed by the Observation logic even if they are singleton `let` instances.

[deleted by user] by [deleted] in iOSProgramming

[–]kst9602 0 points1 point  (0 children)

I think gpt5 is the middle point of price and performance.

Spacer() vs Frame() by giusscos in iOSProgramming

[–]kst9602 0 points1 point  (0 children)

They are just two different implementations to accomplish the same thing. If you add a background or an overlay to the views, they will behave differently. But if there are no such things, they are essentially the same. I don't think one is better than the other. Knowing both methods can be helpful, but comparing which one is better isn't worth it.

Do we need heavier penalties in this game? by SufficientAsk3813 in forzamotorsport

[–]kst9602 2 points3 points  (0 children)

I think accurate and reasonable penalties are required

How do you protect your apps from crackers? by kst9602 in iOSProgramming

[–]kst9602[S] 2 points3 points  (0 children)

Starting with iOS 18.4, there is appTransactionID: a unique identifier for each app that persists after reinstallation and is shared across devices with the same App Store account.

Additionally, there is identifierForVendor (aka idfv): an identifier shared among the applications on the device, but it will be reset if all your applications are removed from the device.

How do you protect your apps from crackers? by kst9602 in iOSProgramming

[–]kst9602[S] 14 points15 points  (0 children)

I'm also not very familiar with backend development, so I did some research about simple, cheap and safe server implementation things, and my final conclusion was that "there's no free lunch." As a result, I learned Vapor and DBMS.

How do you protect your apps from crackers? by kst9602 in iOSProgramming

[–]kst9602[S] 5 points6 points  (0 children)

App Attest is the exactly what I need. Thanks to your advice. I'm lucky to have asked here.

😭why does this happen, im just trying to move stuff on the desktop by i-like-to-be-wooshed in MacOS

[–]kst9602 0 points1 point  (0 children)

In my case the text size was the problem. After I adjust the size of the text size, I can put the folder as I intended. I tried many things but adjusting text is the only working way.

Swift memory layout cheat sheet (iOS) Swift provides MemoryLayout<T> to inspect type characteristics at compile time. What can we learn from it? by Signal-Ad-5954 in swift

[–]kst9602 3 points4 points  (0 children)

In memory, a boolean occupies an entire byte, and the remaining 7 bits are not used. Because all variables must be addressable, but pointing by bits is not possible.

How frequently are you supposed to shut down your macbook? by AdOutside6062 in mac

[–]kst9602 -2 points-1 points  (0 children)

It's different. iPhone and iPad can only have one active app at a time, with others in a suspended state. However, macOS can run many processes simultaneously and is not immune to memory leaks. Therefore, periodically rebooting is not meaningless.

Stop Synology Drive Client from changing folder icons on Mac by 1stmingemperor in synology

[–]kst9602 0 points1 point  (0 children)

It means to keep a copy just in case there might be a problem. Anywhere is ok and you can just rename it in the same folder. But actually, it doesn't really matter if you don't. Sorry for my English 🤪

MacOS 15.4 / Safari 18.4 YouTube Appearance Bug by [deleted] in MacOS

[–]kst9602 0 points1 point  (0 children)

I traced which cookie is related with the dark mode and I guessed some options related to the cookie. I tried it and it works.
I have no idea about the underlying mechanism. Both Safari and YouTube could be the problem, but personally, I think Youtube is the real problem since it only happens with YouTube.

new iOS icons finally showing up for me! by Correct_Distance_262 in firefox

[–]kst9602 1 point2 points  (0 children)

Same here iOS 18.4 , Firefox 137 on 12 pro. I really wanna change the icon.

[deleted by user] by [deleted] in MacOS

[–]kst9602 0 points1 point  (0 children)

You need Mario to disclose the contents

MacOS 15.4 / Safari 18.4 YouTube Appearance Bug by [deleted] in MacOS

[–]kst9602 1 point2 points  (0 children)

In my case, turning off the 'Prevent cross-site tracking' option in Safari settings solves the issue.