@polpielladev@iosdev.space
@polpielladev@iosdev.space avatar

polpielladev

@polpielladev@iosdev.space

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

polpielladev, to random
@polpielladev@iosdev.space avatar

🏷️ Are you a Swift Package maintainer and want to automatically and safely release your library when you create a tag with GitHub Actions?

🧵 Follow this thread and you'll never have to do a manual release again!

polpielladev,
@polpielladev@iosdev.space avatar

🏷️ First, set up the triggers to run whenever a new tag with the right format is pushed and auto-cancel jobs with the same git ref (tag):

polpielladev,
@polpielladev@iosdev.space avatar

🔨 Set up a matrix to test on all Apple platforms you'd like to use and select the version of Xcode to select using the DEVELOPER_DIR environment variable.

You can find a list of available macOS runners and their installed software in this repository: https://github.com/actions/runner-images/tree/main/images/macos

polpielladev,
@polpielladev@iosdev.space avatar

🧰 If your package supports Linux platforms, it is important that you build and test the app before releasing it.

💡 To do so, use swiftly to set up the Swift toolchain and just run the tests.

polpielladev,
@polpielladev@iosdev.space avatar

🤩 That's it! Easy, right? There is nothing stopping you from saving yourself some time and automating your process.

If you prefer reading the content in this thread in an unrolled format, check out the full article on my blog:

https://www.polpiella.dev/multi-platform-swift-package-releases-with-github-actions

polpielladev,
@polpielladev@iosdev.space avatar

ONLY if the package builds correctly AND all tests pass for all platforms we do the following:

🔎 Detect non-inclusive language using the get-woke/woke-action GitHub Action.
📦 Create a new release with automatic release notes and a title for the given tag.

polpielladev, to random
@polpielladev@iosdev.space avatar

✒️ Friendly reminder to all iOS content creators: If you have a blog, newsletter, podcast, YouTube channel or stream, make sure you add it to the iOS Dev Directory.

💡 Most newsletter curators, including myself, use this directory to discover content!

https://iosdevdirectory.com/contributing/

polpielladev, to random
@polpielladev@iosdev.space avatar

Did you know you can use Fastlane from Xcode Cloud?

It's a great way to extend Apple's CI/CD service's functionalities and migrate your existing logic with minimal effort!

👉 https://www.polpiella.dev/cross-platform-app-releases-with-xcode-cloud

polpielladev, to random
@polpielladev@iosdev.space avatar

💡 TIL that there is a way to validate that the associated domains for your app are set up correctly directly from your phone's developer settings!

✅ Used this recently to validate different paths of the NowPlaying website!

video/mp4

polpielladev, to random
@polpielladev@iosdev.space avatar

📣 So happy to announce that I am going to be collaborating with Runway as a part-time dev-rel!

I'm joining them on a mission to build their Open-Source presence and to also help them with content creation, which is something I love doing! ❤️

https://www.runway.team/

polpielladev, to random
@polpielladev@iosdev.space avatar

App Clips are such an amazing yet underused iOS feature that I personally love!

They are also very simple to develop and debug locally before shipping with the 'Local Experiences' setting on iOS, so there is no excuse to build one for your app!

👀 https://www.polpiella.dev/create-app-clips

video/mp4

polpielladev, to StableDiffusion
@polpielladev@iosdev.space avatar

Want to learn how to modify images using Stable Diffusion and Swift completely on device, without using any APIs and get results like this?

Look no further, I have an article for you!

https://www.polpiella.dev/image-to-image-local-stable-diffusion-pipelines-with-controlnet-and-core-ml

polpielladev, to random
@polpielladev@iosdev.space avatar

So happy I finally got this working for QReate!

You will soon be able to generate stunning-looking fully-functional QR codes with Stable Diffusion and on device (no APIs and your data will never leave your laptop)!

Some examples I have generated so far:

image/png
image/png
image/png

polpielladev, to random
@polpielladev@iosdev.space avatar

Ready to dive into Swift on the Server? Don't miss this great site by @0xTim.

🌟 It's an absolute must-see!

https://www.areweserveryet.org

polpielladev, to random
@polpielladev@iosdev.space avatar

✍️ New article ✍️

🤑 If you want to avoid using costly APIs to run Stable Diffusion pipelines and want to run models on device, you might find this article useful!

https://www.polpiella.dev/stable-diffusion-swift-apps

polpielladev, to AdobePhotoshop
@polpielladev@iosdev.space avatar

The most requested feature in QReate (templates!) is pretty much done and coming in early January 🎉

You'll now be able to create QR codes for your WIFI networks to easily let other people join them 🔗🛜

video/mp4

polpielladev, to random
@polpielladev@iosdev.space avatar

If you'd like to learn about how we've added the user's most played songs and albums to the recommendations in the Best Of Year feature in , check out this article in my blog!

✍️ https://www.polpiella.dev/most-played-apple-music ✍️

video/mp4

polpielladev, to random
@polpielladev@iosdev.space avatar

💡 Very interesting discussion on the Swift forums about the impact of type inference in an app's compile time. Would thoroughly recommend reading it!

https://forums.swift.org/t/regarding-swift-type-inference-compile-time-performance/49748/1

polpielladev, to random
@polpielladev@iosdev.space avatar

I have just realised that, with tonight's article, I will have published 100 articles on my blog. Still feels surreal to think about how scared I was publishing the first one and how much I enjoy sharing weekly articles now 😱

polpielladev, to random
@polpielladev@iosdev.space avatar

💡 Friendly reminder that you can use Regular Expressions to find and even replace content in Xcode! Saved me a lot of time this morning 😅

polpielladev, to random
@polpielladev@iosdev.space avatar

Does anyone have any good resources for doing a migration in CoreData? I currently have a model with a property storing an NSColor and it's failing to decode for UIColor in iOS.

Was thinking of doing a migration to store the raw hex as a string instead, but everything I have tried has failed miserably, any ideas? 🙏

polpielladev, to random
@polpielladev@iosdev.space avatar

There's a brand-new top-level Swift Packages in the swift.org website! 📦

The new page provides a way of discovering packages and has a number of categories you can filter by!

https://www.swift.org/blog/packages-page/

polpielladev, to random
@polpielladev@iosdev.space avatar

🚀 Have you made a CLI or a library using Swift that you want to make available to your Windows users but don't have a Windows machine to test it?

You can just a GitHub-hosted runner and set it up with an amazing action by Saleem Abdulrasool 🎉

Here's how 👇

https://www.polpiella.dev/running-swift-on-widnows-with-gha

polpielladev, to random
@polpielladev@iosdev.space avatar

A couple of weeks ago I learnt that you can add an Info.plist to single-file Swift executables.

🔓 This unlocks a number of possibilities, such as being able to use MusicKit directly from the terminal!

👉 https://www.polpiella.dev/info-plist-swift-cli

polpielladev, to random
@polpielladev@iosdev.space avatar

📬 iOS CI Newsletter was sent to 941 subscribers featuring content from @dimillian, Tuan Hoang, @1Password, Michael Carey, @codemagicio, @himesh_p, @GabrielSavit and @nsspain.

🌟 This issue was sponsored by @RunwayTeam

https://www.polpiella.dev/newsletter/27

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