@luckkerr@mastodon.world avatar

luckkerr

@luckkerr@mastodon.world

iOS Developer. Working on #Pipilo - iOS application for Mastodon in free time.

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

luckkerr, to iOS
@luckkerr@mastodon.world avatar

Released new version of Dikt - macOS/iOS wrapper for www.diki.pl, a Polish-English dictionary. You can use it to quickly look up meanings of various phrases.

The new version introduces native macOS app, keyboard shortcuts and back/forward navigation through search history. Additionally for advanced use the app handles dikt://search?phrase={} url which you can use to integrate with other applications.

Available in App Store for free: https://apps.apple.com/pl/app/dikt/id1561590118

#Dictionary #iOS #macOS #AppUpdate

Screenshot of macOS Dikt app in light mode. Search results for "fabulous" are visible in the app.

swiftdevjournal, to SwiftUI

What does specifying an ideal width do for a view in a SwiftUI .frame modifier?

On Mac I notice SwiftUI uses the minimum width for views and ignores the ideal width.

#SwiftUI

luckkerr,
@luckkerr@mastodon.world avatar

@swiftdevjournal it changes how view resizes when using fixedSize modifier. This article has some information about it: https://medium.com/the-swift-cooperative/mastering-viewthatfits-3294d74cb17b

jsq, to random
@jsq@mastodon.social avatar

deleted_by_author

  • Loading...
  • luckkerr,
    @luckkerr@mastodon.world avatar

    @jsq there sometimes seems to be an issue with simulator cloning. If you run on a simulator where they are already created it’ll work.

    qcoding, to swift
    @qcoding@iosdev.space avatar

    Measuring and visualizing file dependencies was quite easy with Obj-C, as long as folks didn't commit the sin of stuffing their own files into the precompiled headers. You only needed the import statements.

    For Swift, they made the decision to eliminate imports except for module dependencies. This can help prevent dependency madness. It can also hide it.

    Where are the tools for visualizing #Swift component dependencies and measuring fan-out/fan-in (efferent & afferent couplings)?

    luckkerr,
    @luckkerr@mastodon.world avatar

    @TheSwiftDojo @qcoding I like to include enum with type safe identifiers in both source and test targets for things like this. I wrote about it here: https://swiftpackageindex.com/tunous/xcapptest/0.7.0/documentation/xcapptest/tips

    JTostitos, to macos
    @JTostitos@techhub.social avatar

    Can anyone point me in the right direction here?

    In SwiftUI, I can do this from an iOS app to deeplink: UIApplication.shared.open(URL(string: "”))

    However in macOS, NSApplication.shared has no equivalent. NSWorkspace.shared has an open(URL(””)) but it was not deeplinking properly. The view wouldn’t open. Maybe I was using it wrong though…

    What is the expected way to deeplink on macOS?

    luckkerr,
    @luckkerr@mastodon.world avatar

    @JTostitos I used following hack to deep link to app from share extension:

    OpenURLAction { _ in .systemAction }.callAsFunction(url)

    Maybe will also work for your use case?

    luckkerr,
    @luckkerr@mastodon.world avatar

    @JTostitos in my app I don’t have AppDelegate or SceneDelegate. Only onOpenURL in root View. Maybe try moving this modifier higher in hierarchy if it doesn’t catch urls for you?

    Alternatively you could be missing url scheme from project settings. But I guess in that case the app wouldn’t open.

    luckkerr,
    @luckkerr@mastodon.world avatar

    @JTostitos I’m out of ideas then. I recommend creating blank project only with url handling code to get something that works. Once you confirm that, try stripping down your main project until you find what’s the difference.

    jsq, to random
    @jsq@mastodon.social avatar

    deleted_by_author

  • Loading...
  • luckkerr,
    @luckkerr@mastodon.world avatar

    @jsq I have the exact same issue. No solution found.

    luckkerr,
    @luckkerr@mastodon.world avatar

    @libei @jsq Thanks this helped. In my case I had to search for use of FoundationAttributes.link symbol and replace .link with .foundation.link everywhere.

    david, to random
    @david@tnku.co avatar

    Listening to the @atpfm member special where they all talked John out of making a Mastodon app has really made me question if I should keep going on ThinkSocial. On the one hand, everything they said was right. It is an overcrowded market. There are a ton of details to get right (remember when I thought I’d be done by June 😂). Ivory and other clients are already really good and it’s going to take a lot to catch up to them, and they aren’t working on it in their spare time.

    luckkerr,
    @luckkerr@mastodon.world avatar

    @david if you like working on the app you should definitely release it. I’m also working in free time, mostly for myself on app with the same idea (#Pipilo) and decided to release it. There is nothing to lose by doing that.

    I barely got any recognition (because I did no marketing) but there are few happy users that use it. I’m sure there will be a lot more of them. Plus there is something special about having your app out there available for anyone to use :)

    mczachurski, to swift
    @mczachurski@mastodon.social avatar

    Test explorer in Xcode 15 is a crap. I'm so frustrated right now. During the test run the list of tests is refreshing million times. Status of test (green/red boxes) are disappearing. Finding failing tests is a nightmare. Is there any way to fix this? #XCode #Swift

    luckkerr,
    @luckkerr@mastodon.world avatar

    @mczachurski didn’t experience this myself but for finding failing tests it’s easiest to enable filter in bottom left corner.

    luckkerr, to iOS
    @luckkerr@mastodon.world avatar

    Version 0.30 of #Pipilo for Mastodon and Fediverse on #iOS is out with polished premium screen and bug fixes.

    From visible changes added web page previews when long pressing link cards and a small notification banner that appears after a post is submitted. Now I’m starting work on app screenshots and description to hopefully get the app approved on App Store soon.

    Full release notes: https://www.craft.do/s/YFawOVHfVzGfml
    TestFlight: https://testflight.apple.com/join/0RfZtIsx

    Screenshot of Pipilo with small banner at the bottom of screen. The banner says “Post Published” and offers actions to view published post or dismiss.

    luckkerr,
    @luckkerr@mastodon.world avatar

    @dameoutlaw great, I’m happy to hear that! You can contact me here or via mail listed in press kit: https://bananas-hide-6i6.craft.me/1m4Rjl91BE5E1k

    luksape, to random

    In large Dynamic Type sizes, when you long-touch a UIBarButtonItem you get a large preview in the middle of the screen. I'd like to change the label there, but changing accessibilityLabel and accessibilityHint does nothing. Any tips?

    luckkerr,
    @luckkerr@mastodon.world avatar

    @luksape UIBarButtonItem accepts title in init. Did you try setting that?

    https://developer.apple.com/documentation/uikit/uibarbuttonitem/3600776-init

    gernot, to SwiftUI German
    @gernot@mas.to avatar

    Has anyone actually managed how to do a proper #swiftUI Button that you can also long press and that works in a ScrollView?

    (Disclaimers: I don't want a Menu. I know about simultaneousGesture, it does not work. I read the documentation and tutorials and googled. I do not want the regular action to also trigger on longpress. I woud love to 100% replicate the „haptic touch" behaviour incl. the delay you can set in acessibility settings. I do not mean CoreHaptics by that, that's another thing)

    luckkerr,
    @luckkerr@mastodon.world avatar

    @gernot I have https://github.com/Tunous/LongPressButton Is this what you are searching for? Only not sure if it works in ScrollView. Didn’t try that.

    In readme I also link to another solution if this doesn’t work for you.

    luckkerr,
    @luckkerr@mastodon.world avatar

    @gernot I was curious and tested it in ScrollView. It does work for me, perhaps you have a more complicated hierarchy?

    And it’s a library just for easy use across multiple projects. I prefer small libraries like this instead of copying code. But your approach works too 🙂

    luckkerr,
    @luckkerr@mastodon.world avatar

    @gernot Let me know if you come up with anything. I’m interested in seeing other solutions to this problem. From my experience mixing onTapGesture with onLongPress gesture results in presses that need to be longer than default to activate, which I wanted to avoid.

    luckkerr,
    @luckkerr@mastodon.world avatar

    @gernot cool. Does it work similar in terms of timing as Menu? For example if you do a very short long press, which action will run. Menu treats very short presses like this as a tap.

    luckkerr, to iOS
    @luckkerr@mastodon.world avatar

    Version 0.29 of #Pipilo for Mastodon and Fediverse on #iOS is out with followers list and more options when creating posts.

    You can now submit posts with videos and content warnings, change post visibility or language. Additionally it’s now possible to view alt text descriptions of videos similar to images.

    Full release notes: https://www.craft.do/s/YFawOVHfVzGfml
    TestFlight: https://testflight.apple.com/join/0RfZtIsx

    Screenshot of my profile in Pipilo with fields showing numer of followers and followed users.
    Screenshot of my followers list in Pipilo.
    Screenshot of post visibility options in Pipilo.

    luckkerr,
    @luckkerr@mastodon.world avatar

    Also I created dedicated account for the app: @pipilo. Not much going on here right now but I’ll be using it for all posts about the app in the future.

    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.

    #SwiftUI #Xcode

    luckkerr,
    @luckkerr@mastodon.world avatar

    Thanks to @libei I have a solution now.

    Search for use of a attribute that is mentioned in the warning and prefix it with relevant scope.

    In my case I replaced .link with .foundation.link.

    https://mastodon.social/@libei/111420721575329825

    Tinrocket, to random
    @Tinrocket@mastodon.online avatar

    Experimental game: Can you get the gist of it and does it look interesting?

    Sorry, I am slow thinker. #indiedev

    video/mp4

    luckkerr,
    @luckkerr@mastodon.world avatar

    @Tinrocket what do you think about also allowing making sums in reverse order. I got initially a bit confused why the numbers didn’t combine and it turned out I had to select 1 8 9 instead of 9 8 1. For me these feel like the same sequence and both should work.

    cheeaun, to random
    @cheeaun@mastodon.social avatar

    🤔 Hmm

    • "Sort replies" is probably doable.
    • "Random" sort is… why srsly.
    • "Prioritize your follows" may need to query bulk relationships API.
    • "Threaded mode" is already done on @phanpy, @woollyapp, @trunksapp, #Pipilo

    From: @ummjackson https://mastodon.social/@ummjackson/111135193802678132

    luckkerr,
    @luckkerr@mastodon.world avatar

    @cheeaun Could say that “Prioritize your follows” is also partially done in #Pipilo. Whenever I load new posts from timelines I automatically group them into threads. For home timeline it usually means that the posts will display replies from followers since only these appear in timeline.

    If you expand more replies these appear under already discovered replies. Of course this approach is not perfect but works well for me and my app.

    luckkerr,
    @luckkerr@mastodon.world avatar

    @cheeaun and looks I have to create dedicated account for Pipilo to make mentioning easier :)

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