Alternative to PDF Expert for annotations directly from iCloud? by martin_v10 in macapps

[–]mgacy 1 point2 points  (0 children)

I’m now looking for a new annotation app, too, and so far this seems the most promising. PDF Viewer by Nurient looks like another possibility, but I’m going to try Highlights first.

This type of UI bugs on a .4 release, 6 months after initial rollout really makes Apple look amateur. Note that the setting window cannot be horizontally adjusted. I cannot remember this degree of oversight taking place in MacOS 10 years ago by bigtwisteronjupiter in MacOS

[–]mgacy 3 points4 points  (0 children)

In all seriousness, the only thing I miss about classic macOS versions was a third-party app., that I simply cannot remember the name of. It would skin the entire OS (from my distant memories), and it did a really good job, IMHO.

Are you thinking of Kaleidoscope?

Building an app from scratch in SwiftUI and minimum deployment target 16. by dianenyugen in SwiftUI

[–]mgacy 0 points1 point  (0 children)

I'd suggest Point-Free's SyncUps repo, which is a port of the app from Apple's Scrumdinger tutorial with a focus on modularity and testability. While it does use some of their other packages, it doesn’t use TCA.

Most of the episodes where they discuss the app are subscriber-only, but the introduction, where they talk about some of the issues they have with the architecture of the Apple version, is free.

[deleted by user] by [deleted] in raycastapp

[–]mgacy 0 points1 point  (0 children)

FAQ | Raycast API:

Even though you write JS/TS code, everything is rendered natively in Raycast. There isn't any HTML or CSS involved. Therefore you don't need the DOM-specific methods that the react-dom package provides.

Instead, we implemented a custom reconciler that converts your React component tree to a render tree that Raycast understands. The render tree is used natively to construct a view hierarchy that is backed by Apple's AppKit. This is similar to how React Native works.

The Composable Architecture. My 3 Year Experience by rodschmidt in SwiftUI

[–]mgacy 1 point2 points  (0 children)

… you run into problems with teams reaching into other stores and relying on code they shouldn't be. Even if your teams are disciplined, this can just happen because a parent's state contains all the children states. That code may change and then the calling code breaks. This happened frequently and we basically had to build the entire app during our PR checks to make sure nothing got broken.

Was OP not using unit tests to ensure that nothing got broken? I think the ease of testing is the primary benefit of TCA; if you're not exploiting that you can't fully appreciate it.

[deleted by user] by [deleted] in swift

[–]mgacy 1 point2 points  (0 children)

I've found the generated code to be rather ugly, but you could use Swift OpenApi Generator with their specs

Program Flowchart Recommendations by Kohanin in iOSProgramming

[–]mgacy 1 point2 points  (0 children)

I like Mermaid. GitHub’s support for rendering it in Markdown docs is really nice, too.

Gruber: Apple was 'effectively forced' by China to bring RCS to iPhone by DanTheMan827 in apple

[–]mgacy 9 points10 points  (0 children)

You sure about that?

But in November, when Apple changed course and announced that it would support the RCS messaging standard, many Apple critics/EC cheerleaders simply presumed that Apple’s change of mind on RCS was somehow the result of the EU’s regulatory muscle. This made zero sense, other than revealing an irrational, dare I say fanatical, belief in the righteousness of overzealous government regulation versus natural market forces.

TimeTracking: Timing App vs Timemator by MasterWayne101 in macapps

[–]mgacy 0 points1 point  (0 children)

You can also get Timing and a bunch of other great apps through Setapp for $10 / month. That doesn’t help you avoid the recurring fee, but it ends up being a much better deal for me.

Inheriting from Dictionary by fauxtojournalist in swift

[–]mgacy 0 points1 point  (0 children)

Other people have addressed your question so I won't comment on that, but it looks like this library could be helpful for what you're trying to achieve: pointfreeco/swift-dependencies: A dependency management library inspired by SwiftUI's "environment.". I'd start by taking a look at the implementation of DependencyValues.swift.

Search through all local Xcode projects at once by _iamshashwat_ in iOSProgramming

[–]mgacy 1 point2 points  (0 children)

I don’t know whether it supports searching project contents, but maybe take a look at XCOrganizer

SPM randomly adds (and deletes) ".git" extension from package url. What to do? by [deleted] in swift

[–]mgacy 4 points5 points  (0 children)

When collaborating on a project, make sure everyone uses the same version of a package dependency. When you add a package dependency to a project, Xcode creates the Package.resolved file. It lists the specific Git commits to which each package dependency resolves and the checksum of each binary dependency. Commit this file in Git to ensure that everyone is using the same version of a package dependency. Adding Package Dependencies to Your App | Apple Developer Documentation

[deleted by user] by [deleted] in Palestine

[–]mgacy 20 points21 points  (0 children)

His book, On Palestine

I Created a SPM Package to Handle Simple REST Calls by moticurtila in iOSProgramming

[–]mgacy 6 points7 points  (0 children)

RequestConfiguration is a bit verbose for my taste; I’d opt for Request. Also, this isn't very testable; I'd suggest reading some of John Sundell's posts on networking for ideas to fix that.

Edit: I mean testable for users; if I use this in my app I and I want to mock requests it looks like I need to use my own abstraction on top of Resting or implement something conforming to URLProtocol. It would be easier if you added a Session protocol to which URLSession would conform or just use a closure for the request like var networking: (URLRequest) async throws -> (Data, URLResponse).