@troz@mastodon.social
@troz@mastodon.social avatar

troz

@troz@mastodon.social

Crazy Mac lady. Mac developer. Lover of Apple computers and devices. Swift & SwiftUI enthusiast. Unofficial Mac app dev evangelist.

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

brandonhorst, to random
@brandonhorst@techhub.social avatar

Fun News+ Crossword today, emoji version

troz,
@troz@mastodon.social avatar

@brandonhorst I have News+ but can’t find the crosswords. How do you get to them? Maybe they are US only. 🙁

davidbures, to iOS
@davidbures@mstdn.social avatar

I wonder if an iOS app like this exists:

I’m looking for an app where I can set places where I shop. Then, for each place, I can scan coupon codes. When I’m in the store, it shows me a notification/shortcut to the relevant coupons that I can then scan in the store.

I’m looking for such app because my grandma often gives me paper coupons that she receives in the mail, and I would prefer if I could put them into my phone instead of bringing them.

troz,
@troz@mastodon.social avatar

@davidbures I use Stocard for all my loyalty cards. It shows me specials and may allow for coupons.

davidbures, to iPhone
@davidbures@mstdn.social avatar

I have an extra iPhone 12 mini now that I have gotten the 15 Pro. Are there any cool uses for it?

I don’t want to sell it, so I’m looking for some tips 😊

troz,
@troz@mastodon.social avatar

@davidbures Until it got too old, I had an iPad mini set up as a smart home control center which was really convenient. You could also use night stand mode to make your phone into a permanent clock.

nighthawk, to random
@nighthawk@aus.social avatar

Building an iOS/macOS music player is an, um, interesting exploration of a history of Apple frameworks:

  • AVFoundation (iOS 2, macOS 10.7) on the Mac to play non-DRM tracks
  • MediaPlayer (iOS 2, macOS 10.12) on iOS to access your library and play tracks
  • iTunesLibrary (macOS 10.13) on the Mac to access your library
  • MusicKit (iOS 15, macOS 12.0) to play DRM-protected tracks on macOS Sonoma, and on iOS to access Apple Music information that's not exposed in MediaPlayer
troz,
@troz@mastodon.social avatar

@nighthawk Have you worked out a way to let the user select the audio output on a Mac? I tried to find this recently and failed.

troz,
@troz@mastodon.social avatar

@nighthawk Thanks. I’ll look into that. I’m using AVFoundation so it should be good.

thomasfuchs, to random
@thomasfuchs@hachyderm.io avatar

Finished watching Wheel of Time season 2 and the finale was very satisfying. I’m not super into fantasy but enjoying the show so far.

troz,
@troz@mastodon.social avatar

@thomasfuchs I loved both seasons. Having read all the books, I think they’ve done a brilliant job of reducing the mass into something filmable as less confusing, while still maintaining the overall concepts.

StewartLynch, to random
@StewartLynch@iosdev.space avatar

If you are wondering about whether or not TipKit is for you, you don't have to watch my entire video to find out. Watch just a minute or so from this link where I show you what is possible . After that, you decide if you want to continue.
https://www.youtube.com/watch?v=jcn6tdofUVk&t=70s

troz,
@troz@mastodon.social avatar

@StewartLynch I learned a lot of new things from this video. Thanks Stewart.

troz, to swift
@troz@mastodon.social avatar

I have released Man Reader 2.

Many thanks to everyone who bought the app or boosted/favorited my posts during the past week.

http://itunes.apple.com/app/man-reader/id522583774?mt=12

The update hasn't made its way to the Australian App Store yet, but I presume it won't be long...

StewartLynch, (edited ) to random
@StewartLynch@iosdev.space avatar

Sharing what you learn from others is important. And worth repeating This is something new I learned from @twostraws
Automatic Grammar agreement

troz,
@troz@mastodon.social avatar

@StewartLynch I too copied this technique from @twostraws but I have trouble remembering it. The syntax makes no sense and I can’t find any documentation. Your example is great but unless I can understand what each of your 3 steps is doing, I won’t remember it. And are there any other things this type of construction can do?

troz, to macos
@troz@mastodon.social avatar

Man Reader - my Mac app for reading Terminal command man pages - has finally had its long awaited update. The new version is now waiting for review.

Currently, Man Reader costs USD 4.99 or the local equivalent. I will be increasing this to USD 9.99 when the update is released, so if you want to save some money, buy it now and get the upgrade at half-price.

http://itunes.apple.com/app/man-reader/id522583774?mt=12

mattblaze, to random
@mattblaze@federate.social avatar

Someone yelled at me for posting monochrome photos again.

That's kind of annonying, but this place still has fewer Nazis than that other place, so I'll be sticking around (along with my dreary monochrome photos, devoid of all color and joy as they may be).

troz,
@troz@mastodon.social avatar

@mattblaze I’m now following you because your photos are beautiful. Please keep posting them.

tonyarnold, to SwiftUI
@tonyarnold@mastodon.social avatar

Is 's onHover applied to list items really slow on macOS for anybody else? I've been trying various fixes, including dropping back to AppKit/NSTrackingArea, but everything has caveats or performance issues.

troz,
@troz@mastodon.social avatar

@tonyarnold I haven’t tried onHover, but SwiftUI lists on macOS are not great with lots of data. My impression is that they are not actually lazy, although the docs say they are. They improved a lot with this year’s updates but good old NSTableView wins every time.

dimillian, to random
@dimillian@mastodon.social avatar

I’m really wondering what Apple did to SwiftUI for apps compiled with the iOS 17 SDK running on iOS 17. I’m completely baffled at how faster it is. I hope someone will find out why and write something out.

troz,
@troz@mastodon.social avatar

@dimillian Same for macOS Sonoma apps.

finestructure, to random
@finestructure@mastodon.social avatar

iPhone 13 mini it is

troz,
@troz@mastodon.social avatar

@finestructure Apparently they just dropped it from the range. Buy quickly from a 3rd party supplier if you still want one.

StewartLynch, to random
@StewartLynch@iosdev.space avatar

I have to say, after working with TipKit now for a day, I absolutely love it. I have a series of 3 videos coming next month.

  1. Update an app from iOS 15 - iOS 17 (utilize all new APIs)
  2. Incorporate ContentUnavailableView
  3. Add TipKit. (add 4 different types of tips)
    The sample app I have works perfectly for all 3 videos.
    Coming to my channel some time soon.
troz,
@troz@mastodon.social avatar

@StewartLynch I haven’t tried TipKit but I love the new Observation stuff and ContentUnavailable. The SwiftUI team is filling in a lot of areas where we used to have to create our own views.

davemark, to solar
@davemark@mastodon.social avatar

Anyone do solar+batteries?

I'm going down this road, considering Tesla Powerwall, third party solar.

Any advice?

troz,
@troz@mastodon.social avatar

@davemark We have a Tesla Powerwall 2 and it’s great but apparently the 3 is coming soon. Get microinverters on your solar panels as otherwise, any shade on one will reduce the output on all the panels. And don’t expect to get any significant money from feeding back to the grid - you’re better off using a battery to store that for yourself.

StewartLynch, to swift
@StewartLynch@iosdev.space avatar

Major milestone today on my YouTube channel . I surpassed 1_000_000 views. Can you tell when I first started making videos on and ?
Thanks to all who have stuck with me and encouraged me to continue.
https://youtube.com/@StewartLynch

troz,
@troz@mastodon.social avatar

@StewartLynch Your videos are always interesting and engaging. A fantastic resource. Thanks Stewart.

RobW, to random
@RobW@iosdev.space avatar

deleted_by_author

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

    @RobW Command-Control-Up-arrow shows a generated interface file but the Symbol navigator (Command-3) is also useful.

    swiftdevjournal, to random

    I had trouble finding the right location to run Sparkle’s generate_appcast script.

    The problem is selecting the Sparkle package in Xcode and choosing Show in Finder takes you to a Sparkle folder inside a checkouts folder. The scripts are not in this folder.

    You have to move above the checkouts folder, the SourcePackages folder. Go to the artifacts folder. The Sparkle folder in the artifacts folder is the place to run the script.

    troz,
    @troz@mastodon.social avatar

    @swiftdevjournal Having struggled with Sparkle, I wrote an article about setting it up which you might find useful. https://troz.net/post/2023/sparkle/

    _Davidsmith, to random
    @_Davidsmith@mastodon.social avatar

    Overall I gotta say developing for visionOS has been incredibly intuitive coming from developing SwiftUI apps on iOS. The conceptual paradigms for app structure and state flow are very familiar and huge parts of my apps are able to be moved over unmodified.

    The only area where things have been tricky for me is window management. It is a bit unclear how much of this is because it is an early beta, or intentional. For example, I've had to drop into UIKit to get resizable windows to work. 🤷🏻‍♂️

    troz,
    @troz@mastodon.social avatar

    @_Davidsmith It like a lot of Apple API and framework changes - they seem arbitrary or unnecessary, but later you see why they did it and what they were aiming for. Keeping current and doing things the way Apple recommends always pays off eventually.

    andy, to random
    @andy@iosdev.space avatar

    I needed a refresher on how to use KeyPaths on Swift and one of the first Google results was this. Thank you, past me, for saving today's me time 🤣

    https://www.andyibanez.com/posts/understanding-keypaths-swift/

    troz,
    @troz@mastodon.social avatar

    @andy Definitely one of the reasons I write blog posts. Past me knew stuff.

    troz, to random
    @troz@mastodon.social avatar

    I've just updated my post on SwiftUI Data Flow to include some extras as well as beta 3 changes.

    If you've already read the post, links to all the changes are listed underneath the table of contents.

    https://troz.net/post/2023/swiftui-data-flow-2023/

    troz,
    @troz@mastodon.social avatar

    @redalemeden That came from @StewartLynch (thanks Stewart) and is a very neat trick but hopefully only needed temporarily.

    twostraws, to random
    @twostraws@mastodon.social avatar

    ICYMI: Xcode 15b3 is out, and – hurray! – has removed the 10-view limit in SwiftUI. You can now add as many child views as you want without using Group 🎉

    troz,
    @troz@mastodon.social avatar

    @twostraws I wondered if that would happen after watching “What’s New in Swift” but only tested on beta 2. Great news.

    StewartLynch, to random
    @StewartLynch@iosdev.space avatar

    @troz
    Great post on the new Observation framework, but I think you need another case in your article to cover this where you want to bind to a property in the EnvironmentObject

    troz,
    @troz@mastodon.social avatar

    @StewartLynch I might wait for the next round of betas and see if this is still necessary.

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