@darrarski@mastodon.social
@darrarski@mastodon.social avatar

darrarski

@darrarski@mastodon.social

Software Engineer, Scrum Master, Mentor, Apple, iOS, macOS

This profile is from a federated server and may be incomplete. Browse more on the original instance.

simonbs, to random
@simonbs@mastodon.social avatar

SwiftUI noob question: What might be the reason that my progress bar lags like this?

The progress indicates how long the user has touched the screen, and the animation is driven by a CADisplayLink that updates a progress property, which determines how much the progress bar is filled. Self._printChanges() reveals that only the progress property changes between renders of the view.

Screen recording of an iPhone app with a process bar that flags when it increases and decreases.

darrarski,
@darrarski@mastodon.social avatar

@simonbs I have a good experience with TimelineView. I would recommend it, unless you want to drive business logic with it (like “do something when time elapses”), otherwise it’s great for driving the UI.

krzyzanowskim, to random
@krzyzanowskim@mastodon.social avatar

Resolving Package Graph Succeeded: 41.2 seconds

idk. maybe it's not made for modules if resolving 20 packages takes 41 seconds. "what can possibly takes that long"

darrarski,
@darrarski@mastodon.social avatar

@krzyzanowskim I’ve tried tuist recently. Seems to handle integration of SPM dependencies quite nicely. I’m still not 100% convinced, because it reminds me the way CocoaPods works (wrapping packages in Xcode’s framework-targets). It feels solid and much faster, though.

arkadiusz, to Animal
darrarski,
@darrarski@mastodon.social avatar

@arkadiusz true. Been there a couple times, at various seasons. It was either full sun, or rainy, but never foggy :/

icanzilb, to random
@icanzilb@mastodon.social avatar

Sometimes I stumble upon a well written, pages-long Swift blog post & simply everything is wrong. From top to bottom it's only bad advice. Chatgpt doesn't know that ... so when you get a working program after
5min of "prompt engineering" ... it simply ought to be 💩 🤷🏽‍♂️

darrarski,
@darrarski@mastodon.social avatar

@icanzilb the only „useful” case for me is when I forgot how to do a simple thing in bash script. Yet, forming the correct prompt (one that actually give me a decent solution) takes more time than googling for an answer ¯_(ツ)_/¯

b3ll, to random
@b3ll@mastodon.social avatar

why.

darrarski,
@darrarski@mastodon.social avatar
darrarski,
@darrarski@mastodon.social avatar

@krzyzanowskim @b3ll I wouldn’t trust any

twostraws, to random
@twostraws@mastodon.social avatar

If you, like me, really disliked the glow / blooming on the M1/M2 iPad Pro display, you’ll be pleased to know it’s gone in the M4 🙌 I’m not sure how much it will be visible, but here’s a side by side comparison of new and old.

darrarski,
@darrarski@mastodon.social avatar

@twostraws @dimsumthinking good point! Did you try PaperLike? It made me use the pencil much more on my Pro 2018, it’s just a way better experience imo. I heard that nano-texture glass gives similar vibes. Not sure if worth upgrading though.

arkadiusz, (edited ) to art
darrarski,
@darrarski@mastodon.social avatar

@arkadiusz @ako74 I’ve been there in 2022, the path to Inferno is very nice, but often closed for good reasons. It’s worth trying again when it’s open, I highly recommend.

darrarski,
@darrarski@mastodon.social avatar

@ako74 @arkadiusz you can try Mapy.cz next time, it’s very accurate and covers most of the paths (works offline too). I use it all the time for hiking and driving when I’m on Madeira. I wouldn’t recommend going to Inferno when it closed though, it’s usually for good reasons.

schwa, to random
@schwa@mastodon.social avatar

deleted_by_author

  • Loading...
  • darrarski,
    @darrarski@mastodon.social avatar

    @schwa @raycast I've got it too. Raycast was very promising at start. I switched from Alfred a couple of years ago. However, I don't like the way it's monetized. All the cloud AI stuff, and now this, convinced me to throw it away :( I'm back with native spotlight + AppleScript and I'm very happy, without giving up my privacy.

    darrarski,
    @darrarski@mastodon.social avatar

    @schwa @raycast same here. I don’t know when Apple added features like quick currency conversion, but it’s all there. No need to depend on third-party apps.

    finestructure, to random
    @finestructure@mastodon.social avatar

    I know why wants you to approve running macros each time they change but the mechanism is quickly eroding any vigilance if you need to click buttons each time you switch branches. It also has you do it per target apparently, so I'm approving the same dependency twice.

    I'm just glad I don't have to bisect across package updates.

    It would be nice if there was a way to allow-list a dependency. On the other hand, you're then open to having things silently change from under you 🤔

    darrarski,
    @darrarski@mastodon.social avatar

    @finestructure btw, there's a way to disable these approval requirements globally. It's OK for Xcode running on a CI server, but I'm not sure if good idea to do it on a local development machine.

    defaults write com.apple.dt.Xcode IDESkipMacroFingerprintValidation -bool YES

    brandonhorst, to SwiftUI
    @brandonhorst@techhub.social avatar

    Lazy question. I've got a view in a NavigationStack (using navigationDestination). I want to run some code onAppear when it is pushed onto the stack, but not when the following view is popped off.

    I can think of a few complicated ways to do this, but I'm curious if there's a "right” way.

    darrarski,
    @darrarski@mastodon.social avatar

    @brandonhorst you can try to drive the action by the state change, which already drives the navigation. Instead of relying on the view appearance, perform the action when the state is mutated in a way, so the destination is presented.

    simonbs, (edited ) to random
    @simonbs@mastodon.social avatar

    Incredibly often, it seems that Safari fails to load a website. It happens both on my Mac and iPhone and has been happening for a long time. I think this has to do with my WiFi, but I fail to see anything unusual in my Ubiquiti setup.

    Anyone seeing similar issues with Safari, or is this some issue in my Internet setup?

    (Yes, I've tried disabling all extensions)

    darrarski,
    @darrarski@mastodon.social avatar

    @simonbs I see it from time to time in Safari on macOS and iOS, but also on Arc browser on macOS. The latter shows ERR_NETWORK_CHANGED. I have a feeling it's connected to iCloud Private Relay. Not a big issue anyway, it does not happen too often, and reloading page solves it.

    davedelong, to random
    @davedelong@mastodon.social avatar

    There is zero benefit to using the OSLog APIs in your own app. The logs are hard to get in your own app, and impossible to get from previous app runs. You can't get logs from a device except via a sysdiagnose, and no developer wants to walk a customer through that arduous, privacy-invasive process.

    OSLog is an API that Apple made to solve Apple's problems. It is not a developer-friendly API.

    Use the Logging package instead: https://github.com/apple/swift-log

    https://twit.social/@kharrison/112253393743175498

    darrarski,
    @darrarski@mastodon.social avatar
    phranck, to random
    @phranck@chaos.social avatar

    About ten thousand years ago I subscribed for news about „Swift Studio Updates“ at https://swiftstudio.app. Until now, well... I got 0 (in words: ZERO!) updates. I think the project is dead…

    // @krzyzanowskim

    darrarski,
    @darrarski@mastodon.social avatar

    @phranck @krzyzanowskim I can confirm that @krzyzanowskim is alive, not sure about the project though. Would love so hear some news about development progress too, even if it’s far away from release.

    krzyzanowskim, to random
    @krzyzanowskim@mastodon.social avatar

    my feed here is

    people complaining about Swift Concurrency. 70%

    twitter is so bad and it’s so great here. 20%

    US politics 10%

    darrarski,
    @darrarski@mastodon.social avatar

    @krzyzanowskim still better than the ocean of ads I see on X :)

    finestructure, to random
    @finestructure@mastodon.social avatar

    OMG, the Roomba cleaned the kitchen and returned to base. No intervention required 💪

    I took like 10mins to •find• the kitchen - which I hadn’t moved - but apart from that it was flawless 👌

    darrarski,
    @darrarski@mastodon.social avatar

    @finestructure I bought a cheap Xiaomi when my Neato broke couple years ago, and I'm amazed how good it is to this day (yes, it finds kitchen in a minute or less).

    foone, to random
    @foone@digipres.club avatar

    It's my birthday and I'm completely broke, in case anyone would like to send me a dollar or two as a present.

    https://ko-fi.com/fooneturing

    darrarski,
    @darrarski@mastodon.social avatar

    @foone Happy Birthday!

    krzyzanowskim, to random
    @krzyzanowskim@mastodon.social avatar

    deleted_by_author

  • Loading...
  • darrarski,
    @darrarski@mastodon.social avatar

    @krzyzanowskim where am I invited to?

    krzyzanowskim, to random
    @krzyzanowskim@mastodon.social avatar

    If you work long enough on the same thing you start to believe it's be best thing under the sun.

    sometimes it's true. sometimes you just lost perspective

    darrarski,
    @darrarski@mastodon.social avatar

    @krzyzanowskim not my opinion, but I love to hear somebody see it like this

    luckkerr, to SwiftUI
    @luckkerr@mastodon.world avatar

    Anyone has idea what could be wrong. Xcode randomly shows this warning after build in various files that import SwiftUI:

    Cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.FoundationAttributes, AttributeScopes.FoundationAttributes.LinkAttribute>'

    It always disappears when selected and reappears when changing files.

    darrarski,
    @darrarski@mastodon.social avatar

    @luckkerr I have noticed the same warning randomly appearing in one of the projects I’m working on. There is no indication of the source file and line that’s causing it. I’m using AttributedString in several places though.

    simonbs, to random
    @simonbs@mastodon.social avatar

    I miss the old Moves app that showed where I had walked throughout a day and where I had made stops along the way. All without needing to start a workout. Does anyone know of a modern alternative?

    darrarski,
    @darrarski@mastodon.social avatar

    @simonbs I use Arc app since Moves was discontinued. It's not perfect, but it can import Moves data and automatically export GPX files to your iCloud Drive, so you can migrate to another solution in the future. I haven't found anything better that "just works" and battery usage is OK in my opinion.

    darrarski, to random
    @darrarski@mastodon.social avatar

    Hello! I’ve recently finished a long-term project and I’m available to hire.

    I do consulting for teams and individual developers. I help with iOS and macOS app architecture, solving technical problems, creating clean and maintainable code, test-driven development, and more.

    I have more than a decade of experience developing apps in Apple's ecosystem, using Swift and Objective-C. I've been working with SwiftUI and UIKit, and most of Apple's frameworks (like CoreData or AVFoundation).

    krzyzanowskim, to random
    @krzyzanowskim@mastodon.social avatar

    deleted_by_author

  • Loading...
  • darrarski,
    @darrarski@mastodon.social avatar

    @krzyzanowskim Good for you! I couldn’t wait that long. Feel free to reach me out if you need some spoilers ;-)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • mdbf
  • everett
  • osvaldo12
  • magazineikmin
  • thenastyranch
  • rosin
  • normalnudes
  • Youngstown
  • Durango
  • slotface
  • ngwrru68w68
  • kavyap
  • DreamBathrooms
  • tester
  • InstantRegret
  • ethstaker
  • GTA5RPClips
  • tacticalgear
  • Leos
  • anitta
  • modclub
  • khanakhh
  • cubers
  • cisconetworking
  • megavids
  • provamag3
  • lostlight
  • All magazines