readaggregator | Technologies

Telegram-канал readaggregator - Readaggregator - iOS, Swift, Apple, Programming, Mobile

830

This channel aggregates interesting information from many resources. So If you are interested in Swift, iOS, Apple and so on - welcome! Check the open-source projects: https://github.com/Otbivnoe Leave a feedback: @otbivnoe

Subscribe to a channel

Readaggregator - iOS, Swift, Apple, Programming, Mobile

For those considering Claude code, just a heads up: Gemini CLI is expected to be released today, and it looks like the free tier is more generous. Might be worth checking out first.

https://x.com/meetpateltech/status/1937749947371393213?s=46&t=YNy4qFziI3PFPTlrSCXpmA

UPD - Released
https://blog.google/technology/developers/introducing-gemini-cli-open-source-ai-agent/

#LLM

Читать полностью…

Readaggregator - iOS, Swift, Apple, Programming, Mobile

For anyone dealing with background tasks: BGContinuedProcessingTask in iOS 26 lets the system handle progress UI, so there’s less need for custom solutions or Live Activities. Worth looking into.

https://developer.apple.com/documentation/backgroundtasks/performing-long-running-tasks-on-ios-and-ipados
#iOS #background_task

Читать полностью…

Readaggregator - iOS, Swift, Apple, Programming, Mobile

If you're using macros in your project, you're using SwiftSyntax, which can seriously inflate build times. But Xcode 16.4 brings good news: Apple introduced support for prebuilt SwiftSyntax binaries. This can noticeably cut down those agonizing compile times, especially in release builds.


defaults write com.apple.dt.Xcode IDEPackageEnablePrebuilts YES


Some numbers from the article:
Building the app for release takes about 226 seconds (almost 4 minutes!) without precompiled SwiftSyntax, whereas with precompiled takes just 45 seconds.


https://www.pointfree.co/blog/posts/171-mitigating-swiftsyntax-build-times
#Xcode

Читать полностью…

Readaggregator - iOS, Swift, Apple, Programming, Mobile

Paul Hudson recently prepared a good overview article about the new features in Swift 6.2 that affect changes in Swift Concurrency. But if we want to dive a bit deeper into them, Donny has written an article where you can better understand these changes and gradually start applying them in your own project. 🚀
https://www.donnywals.com/exploring-concurrency-changes-in-swift-6-2/
#swift #concurrency

Читать полностью…

Readaggregator - iOS, Swift, Apple, Programming, Mobile

We're barely over Swift 6.1, and Paul Hudson is already teasing us with potential goodies in Swift 6.2!

It's also great to see the Swift team continuing their efforts to simplify and improve strict concurrency. Honestly, I'm hopeful that with these changes, tackling that Swift 6 migration task might actually become a bit more manageable.

Here are a few potential features from the article that caught my eye and might interest you:

Raw identifiers: This lets you use pretty much any string as a function or variable name by wrapping it in backticks. It’s not exactly BDD, but it definitely helps make test function names more readable:


func `Strip HTML tags from string`() {
// your test magic here
}


Method and Initializer Key Paths: You can now create key paths directly to methods and initializers, not just properties:

strings.map(\.uppercased())


Backtrace API: This gives you a way to programmatically get the current call stack. Super handy for custom error reporting and logging.

Backtrace.capture().symbolicated()


weak let: You'll be able to declare weak references as constants (`let`) if you know they won't change after being set.

Run `nonisolated async` functions on the caller's actor by default:

func logCurrentActor() async {
// Old: Runs everywhere
// New: Runs on the MainActor
}

@MainActor
func mainActorFunction() async {
await logCurrentActor()
}


Starting tasks synchronously from caller context: Introduces a new way to create tasks so they start immediately if possible:

print("Starting")

Task {
print("In Task")
}

Task.immediate {
print("In Immediate Task")
}

print("Done")

// prints: "Starting", "In Immediate Task", "Done", and "In Task".


Isolated synchronous `deinit`: This allows deinit methods to be actor-isolated, ensuring that cleanup code for actor-protected state can run safely on the actor's executor without data races.

Collection conformances for `enumerated()`: This is a nice cleanup, especially for SwiftUI, as you can often use it directly in ForEach or List without needing to wrap it anymore:

// Old:
List(Array(items.enumerated()), id: \.offset) {
Text("Index \($0.offset): \($0.element)")
}

// New:
List(items.enumerated(), id: \.offset) {
Text("Index \($0): \($1)")
}


Swift Testing: Attachments: It allows you to attach arbitrary data (like images or diffs) to your test results. XCTest has had attachments for ages, so it's good to see Swift Testing catching up here. Finally I can rewrite my snapshot tests. 🕺

and moore...

https://www.hackingwithswift.com/articles/277/whats-new-in-swift-6-2
#swift

Читать полностью…

Readaggregator - iOS, Swift, Apple, Programming, Mobile

and just as a reminder

Читать полностью…

Readaggregator - iOS, Swift, Apple, Programming, Mobile

I think I've found the perfect task for interviews! 🥲

Post your high score in the comments! The best player gets my special 'job offer': 3 months of Telegram Premium!

https://sliemeobn.github.io/flappy-swift/

Читать полностью…

Readaggregator - iOS, Swift, Apple, Programming, Mobile

My once-a-year blog post has arrived! 😄

I picked a perhaps slightly niche topic this time, deciding to really dig into Alerts. My main focus was on the buttons: how should they be positioned, and what's the right styling? It's a question designers often ask, and frankly, I wasn't always 100% sure myself. After diving deep, I'm (jokingly) feeling ready to point out a few things to Apple – it turns out they have quite a few instances where they don't perfectly follow their own Human Interface Guidelines (more details in the article).

https://otbivnoe.ru/2025/04/17/Alerts-Simple-but-Tricky.html
#HIG #iOS

Читать полностью…

Readaggregator - iOS, Swift, Apple, Programming, Mobile

A quick and useful read about the non-obvious advantage of using Text interpolation instead of Text concatenation in SwiftUI.

p.s. If you're too lazy to read, you can just look at the article cover.

https://nilcoalescing.com/blog/TextConcatenationVsTextInterpolationInSwiftUI/
#SwiftUI #Localization

Читать полностью…

Readaggregator - iOS, Swift, Apple, Programming, Mobile

I think we’re all pretty used to the Environment in SwiftUI by now, and it feels like there’s not much left to surprise us or learn. But I did pick up a couple of interesting things from this article. Definitely worth checking out if you want to expand your optimization skills in SwiftUI and lock down a few tricky interview questions.
https://fatbobman.com/en/posts/swiftui-environment-concepts-and-practice/
#SwiftUI

Читать полностью…

Readaggregator - iOS, Swift, Apple, Programming, Mobile

I never thought that Group behaves so non-intuitively (buggy) in SwiftUI. Chris explained in which situations one needs to be cautious when using it or avoid it completely.
https://chris.eidhof.nl/post/why-i-avoid-group/
#SwiftUI #Layout

Читать полностью…

Readaggregator - iOS, Swift, Apple, Programming, Mobile

I somehow missed it, but starting from version 0.30.0, GitHub Copilot Chat is available in Xcode.
https://github.blog/changelog/2025-02-13-github-copilot-for-xcode-chat-now-in-public-preview/
#Xcode #LLM #Copilot

Читать полностью…

Readaggregator - iOS, Swift, Apple, Programming, Mobile

Nice tips on freeing up disk space from voracious Xcode. (rm -rf Xcode.app)
https://www.swiftyplace.com/blog/how-to-clean-xcode-on-your-mac
#Xcode

Читать полностью…

Readaggregator - iOS, Swift, Apple, Programming, Mobile

I've already burned out dealing with the Swift 6 migration, but to make things easier for you, here's a handy article-reminder on the best way to migrate your project.
https://www.avanderlee.com/concurrency/swift-6-migrating-xcode-projects-packages/
#Swift #concurrency

Читать полностью…

Readaggregator - iOS, Swift, Apple, Programming, Mobile

🔥 Swift Build is now open source!

Oh what’s the beginning of the year!

Apple’s powerful build engine is finally available for everyone. With the community on board, maybe all those bugs will finally get fixed – and who knows, maybe AppCode will make a comeback? 🧠

✨ Swift Build will also be integrated into SwiftPM, replacing its current build system. This means no more differences between how projects are built in Xcode and SwiftPM – one consistent, fast, and reliable experience across the board.

We believe this is an important step in continuing to enable a healthy package ecosystem where developers can rely on a consistent, polished development experience — no matter what IDE they’re using or platform they’re targeting.


https://www.swift.org/blog/the-next-chapter-in-swift-build-technologies/
#swift

Читать полностью…

Readaggregator - iOS, Swift, Apple, Programming, Mobile

If you’re interested in digging into llm prompts, the author has reverse-engineered the new Xcode 26 and examined which prompts it uses.
https://peterfriese.dev/blog/2025/reveng-xcode-coding-intelligence/
#LLM #prompt

Читать полностью…

Readaggregator - iOS, Swift, Apple, Programming, Mobile

Some of the new features in Xcode 26

• Xcode now features an integrated LLM-powered chat, bringing the era of "vibe coding" directly to your IDE.

• New Foundation Models Framework provides access to Apple’s on-device large language model, powering Apple Intelligence.

• #Playground Macro: Similar to #Preview, this new macro allows for interactive code execution and visualization directly within your regular Swift code files.

• Experimental feature allowing you to annotate C/C++ code for safer import into Swift, reducing the need for UnsafePointer and complex wrapper code.

• New tool in Instruments that tracks not only the duration but also the causes of each View update.

• Optional feature that caches compilation results, speeding up builds, especially when switching branches or performing clean builds by reusing results for unchanged files.

• New Power Profiler in Instruments: a specialized tool to visualize your app's energy consumption and its impact on various subsystems like CPU, GPU, and networking.

• Debugger Follows Swift Tasks Across Threads: A critical fix where the debugger now correctly follows a Swift Task when it migrates to a different thread during step-by-step debugging of asynchronous code.

• FINALLY Xcode can generate Swift code (e.g., `LocalizedStringResource.landmarks(count: 42)`) that corresponds to keys in your localization file.

• Completely redesigned interface for recording UI tests, with the record button directly in the code editor next to the test function.

• Editor Tab Management (Pinning): You can pin editor tabs! Now you can finally delete VSCode and enjoy true Xcode bliss!

• Numerous bug fixes for Previews related to static and weak libraries, symlinked paths, and more. Apple promises these improvements will make Previews actually work reliably this time. We've heard that before, but maybe this time it's for real!

https://developer.apple.com/documentation/xcode-release-notes/xcode-26-release-notes

#wwdc #Xcode

Читать полностью…

Readaggregator - iOS, Swift, Apple, Programming, Mobile

Found an interesting experiment: PhoneAgent — AI that tries to use an iPhone like a real person, moving between apps and performing actions.

It’s a cool demo of what AI on iPhone could look like, but even after 8 years of development, we probably won’t see anything like this at WWDC.

p.s. Rumor has it Apple will switch to iOS 26 this year (by year numbering)

https://github.com/rounak/PhoneAgent
#AI

Читать полностью…

Readaggregator - iOS, Swift, Apple, Programming, Mobile

Xcode Copilot's "Agent Mode" is finally available. I suppose you can go get coffee while the AI tackles the 'critical' task of coloring your views. 😄

🚀 Highlights:
• Agent Mode: Copilot will automatically use multiple requests to edit files, run terminal commands, and fix errors.
• Model Context Protocol (MCP): Integrated with Agent Mode, allowing you to configure MCP tools to extend capabilities.

💪 Improvements:
• Added a button to enable/disable referencing current file in conversations
• Added an animated progress icon in the response section
• Refined onboarding experience with updated instruction screens and welcome views
• Improved conversation reliability with extended timeout limits for agent requests


https://github.com/github/CopilotForXcode/blob/main/ReleaseNotes.md
#Xcode #copilot #AI

Читать полностью…

Readaggregator - iOS, Swift, Apple, Programming, Mobile

JetBrains just announced that Compose Multiplatform 1.8.0 is now officially stable and production-ready for iOS, closing the gap between experimental UI and real-world apps and finally giving Kotlin a full-stack mobile story.

• Stable core APIs: finalized surface with strong compatibility guarantees and minimal breaking changes.
• Jetpack feature parity: type-safe navigation (with deep linking), flexible resources, VoiceOver/AssistiveTouch support, adaptive UI.
• Compose Hot Reload: instant UI previews in common code without restarting the app.
• SwiftUI/​UIKit interop: embed Compose into existing apps or mix native views in Compose screens.
• Native-level performance: startup time and scrolling on par with SwiftUI, +9 MB footprint, 96% of teams report no performance issues.

Unfortunately, hot reload isn’t supported on iOS — you’ll need to add a desktop target, but then again, Xcode Previews aren’t exactly rock-solid either…

https://blog.jetbrains.com/kotlin/2025/05/compose-multiplatform-1-8-0-released-compose-multiplatform-for-ios-is-stable-and-production-ready/
#cmp

Читать полностью…

Readaggregator - iOS, Swift, Apple, Programming, Mobile

An interesting update for my vibe coders out there! While we're waiting for Xcode Copilot to get full Agent Mode support (next release, I hope), Alex AI is already offering similar autonomous features in its 3.0 release:

Auto-Compile Fixes: It can now automatically write code, apply it, and *keep compiling* using Xcode's build system until the app builds successfully.
New Agentic Tools: It gained more capabilities, letting it handle tasks like adding SPM packages, searching the web, and running terminal commands on its own.
Local/Custom Model Connections: You can now bypass their servers and connect directly to local models (like Ollama) or custom enterprise endpoints, giving you more control over data privacy and compliance.

Nope, not sponsored.

https://www.alexcodes.app/blog/alex-3-0-release
#Xcode #AI

Читать полностью…

Readaggregator - iOS, Swift, Apple, Programming, Mobile

🤖 Copilot for Xcode keeps getting better, even if it’s not using the latest GPT-4.1 model yet... The new 0.33.0 update brings some features:

- New models: Claude 3.7 Sonnet and GPT 4.5 are now available.
- @workspace context: You can ask Copilot about your whole project, not just one file.

https://github.com/github/CopilotForXcode
#AI #copilot

Читать полностью…

Readaggregator - iOS, Swift, Apple, Programming, Mobile

The most stable feature in the Apple ecosystem right now.
https://www.isswiftassistavailable.com/

Читать полностью…

Readaggregator - iOS, Swift, Apple, Programming, Mobile

Figured I should jump on the hype train and try out ChatGPT's image generation while it's still hot. Kept the 'Better Call Saul' vibe for the style — though now it's more like 'Better Call Nikitos'. Also ditched the intimidating pointing finger, don’t want to scare off the male half of my audience.

Читать полностью…

Readaggregator - iOS, Swift, Apple, Programming, Mobile

WWDC 2025 - June 9 to 13.
Looking forward to seeing Swift Assist 2
https://developer.apple.com/news/?id=a425w48j
#Apple #wwdc

Читать полностью…

Readaggregator - iOS, Swift, Apple, Programming, Mobile

Thanks my baddy ChatGPT for concise summary of the key insights from RevenueCat’s “State of Subscription Apps 2025”:

• Growing gap: Top 5% of new apps earn 400x more than the bottom 25% in their first year.
• AI apps profitable: AI-focused apps generate high revenue per install ($0.63 in 60 days), but only if clearly differentiated.
• Mixed monetization: 35% of apps now combine subscriptions with one-time or lifetime purchases.
• Early cancellations: Nearly 30% of annual subscriptions are canceled within the first month, highlighting early retention challenges.
• Longer trials: Trial periods are lengthening — 52% now offer 5-9 day trials, up from shorter durations.
• Pricing matters: Lower-priced annual subscriptions retain up to 36% of subscribers after one year.
• Health & fitness lead: Health and fitness apps have highest median revenue per install ($0.44 within 14 days).
• Annual subscriptions dominate: Annual plans are preferred in health & fitness (67%) and travel (65%), while weekly plans dominate gaming (78%).
• Hard paywalls effective: Apps with strict paywalls convert users 5.5x better than freemium models.
• Geographic differences: North America leads revenue per install ($0.39), while India and Southeast Asia lag behind ($0.06–$0.09).
• Annual plans retain best: Annual subscriptions show highest retention (44.1% after one year), compared to monthly (17%) and weekly (3.4%) plans.

For the full post with much deeper insights and a lot of charts, please read:
https://www.revenuecat.com/state-of-subscription-apps-2025/
#AppStore

Читать полностью…

Readaggregator - iOS, Swift, Apple, Programming, Mobile

ChatGPT’s macOS app now offers direct code editing in Xcode with an optional auto-apply mode. While it still falls short of VSCode or Cursor IDE in terms of LLM integration, it’s a valuable addition for developers working with Xcode.
https://techcrunch.com/2025/03/06/chatgpt-on-macos-can-now-directly-edit-code/
#Xcode #LLM #ChatGPT

Читать полностью…

Readaggregator - iOS, Swift, Apple, Programming, Mobile

How often do you write comments in pull requests regarding spelling errors? Thanks Jesse for this hidden Xcode gem!

Edit > Format > Spelling and Grammar > Check Spelling While Typing


https://www.jessesquires.com/blog/2025/02/24/xcode-tip-spell-check/
#Xcode

Читать полностью…

Readaggregator - iOS, Swift, Apple, Programming, Mobile

The previous post seems to have been overly hyped in the community. Let’s take a step back and consider what it actually means. The Tuist CEO shares thoughts, clarifications, and how this aligns with their plans for Tuist.
https://tuist.dev/blog/2025/02/03/swift-build

Читать полностью…

Readaggregator - iOS, Swift, Apple, Programming, Mobile

Armed with these official iOS 18 adoption stats, you just might convince your manager to drop support for all older versions and become that lucky developer! :)
https://developer.apple.com/support/app-store/
#Apple

Читать полностью…
Subscribe to a channel