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

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

🚨 Apple will remove apps in the EU without trader status in a month.
https://developer.apple.com/news/?id=einwn76m
#AppStore

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

A few non-obvious tips to simplify your testing of background uploads.
https://adamwulf.me/2025/01/testing-background-uploads-in-ios/
#iOS #network #background_task

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

🤖 Github just announced a new free tier of Copilot for VS code.

- 2,000 code completions per month
- 50 chat messages per month
- Models like Claude 3.5 Sonnet or GPT-4o

Copilot Free includes the following features: Code completion in Visual Studio Code, Visual Studio, JetBrains IDES, Vim/Neovim, Xcode, and Azure Data Studio


https://github.blog/news-insights/product-news/github-copilot-in-vscode-free/
#ai #copilot

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

Xcode Previews are super handy, but let’s be honest — they crash a lot and small changes, like tweaking an Environment object or introducing a new dependency, can mess up other previews without you even realizing it. This blog from EmergeTools dives into a clever way to make them more reliable using unit tests.
https://www.emergetools.com/blog/posts/unit-test-xcode-previews
#SwiftUI #previews

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

👨‍💻 Apple has announced that App Store Connect will remain open for submissions during the upcoming holiday season.
https://developer.apple.com/news/?id=iwvebnw2
#Apple #news

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

Now is the perfect time to treat yourself and spend a little money wisely. 🤑
https://github.com/mRs-/Black-Friday-Deals

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

🔥 Xcode's LLM didn’t turn out to be very helpful for me, so the timing of Copilot's Xcode release is perfect!
https://github.com/github/CopilotForXcode
#AI #Copilot

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

⚠️ The Certification Authority for Apple Push Notifications (APNs) is changing soon. Sandbox servers update on Jan 20, 2025, and production on Feb 24, 2025. Make sure to update your app's Trust Store to include the new SHA-2 USERTrust RSA certificate to avoid any push notification issues.
https://developer.apple.com/news/?id=09za8wzy
#Apple

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

‼️ Friendly warning! There’s a sneaky malware campaign on Google Ads targeting apps like Slack, Notion, Calendly, and so on. These ads look legit but might lead to malware downloads that can steal your data! Stay safe, friends!
https://www.malwarebytes.com/blog/news/2024/10/large-scale-google-ads-campaign-targets-utility-software

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

🔨 Since Xcode 16 is now available, I’ve summarized some of the key features:

Buildable folders. Great addition if you are tired of constant conflicts in your project file.

New Tinted Icons. iOS 18 introduces dark and tinted app icons. Make your designers happy!

Swift Strict Concurrency. Mode that helps you find and fix data races at compile time.
- Article about enabling the flag (SWIFT_STRICT_CONCURRENCY) in settings.
- Bunch of useful articles that will help solve all migration problems.

Swift Testing. New library allows you to write tests with more confidence and less code.
- Tool for converting tests to the new format.
- Watch out for performance issues.

Xcode Previews
- You no longer need to create a container for holding properties, thanks to a new macro.
- Note that Xcode 16 no longer sets ENABLE_PREVIEWS. It’s more reliable to use XCODE_RUNNING_FOR_PREVIEWS

Editor Config. Finally, we can customize editor settings and share them across the team.

Explicitly built modules. That makes builds faster and compiler errors more informative (though not always).

Swift 6. New features are waiting for you to adopt!

and Friendly reminder to add iOS 18 to Introspect implementation. 🩷

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

Discovered one more way to theme applications using ShapeStyle. It's 100% SwiftUI-way, doesn't involve UIColor.init(dynamicProvider:) and can be achieved without using Xcode Asset Catalog (it’s not bad, but in case you want to programmatically initialize dynamic colors).
https://freiwald.dev/posts/custom-environment-colors/
#SwiftUI #appearance

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

When using a modular architecture, consider checking the ENABLE_MODULE_VERIFIER project setting. Disabling this flag can significantly reduce build times, especially in projects with a large number of modules. While it is useful for identifying issues with frameworks before distribution, it may not be necessary for most general projects.
https://pfandrade.me/blog/swift-build-times-and-module-verification/
#optimization #Xcode

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

It's a great idea to have quick answers about new features from WWDC, especially if you don't have the time to watch every session.
https://askwwdc.com/
#wwdc

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

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

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

A short article about Xcode Previews, mostly focusing on rebuild levels: why it sometimes reloads the full app, but other times only needs a quick hot reload.
https://onee.me/en/blog/how-new-xcode-swiftui-preview-works-under-the-hood/
#Xcode #preview

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

Swift 6 introduces @MainActor to the View protocol, enhancing the developer experience, but uncovering quirks like compile-time errors with @State properties in modifiers. If you're adopting strict concurrency, this article can help explain the issue and provide practical solutions.
https://fatbobman.com/en/posts/why-certain-view-modifiers-in-swift-6-cannot-usethe-state-property/
#SwiftUI #concurrency

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

An excellent and clear example to understand how Noncopyable types work in Swift.
https://nilcoalescing.com/blog/NoncopyableTypesInSwift/
#Swift

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

🎓 Artem Novichkov has written a couple of interesting articles on integrating machine learning into an iOS project.

The first article explains how to analyze text using Apple's Natural Language framework. It focuses on detecting the language of the text and finding similarities between different pieces of text.

In the second article, Artem demonstrates how to train a machine learning model for sentiment analysis in languages not supported by existing frameworks. He uses CreateML to build a sentiment classifier model for Russian and Kazakh languages.

#ml #CreateML

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

I just noticed that a new modifier, onGeometryChanged, has been backported to iOS 16 for retrieving a view's size. It looks like the use cases for GeometryReader are becoming less frequent.
https://nemecek.be/blog/208/getting-view-size-in-swiftui-without-geometryreader
#layout #SwiftUI

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

The more developers transition to strict swift concurrency, the more valuable articles like this will become, where non-obvious bugs and their solutions are discussed. In this article, the author shared how he experimented with @unchecked Sendable — describing a crash and how he fixed it, so we don't fall into the same trap.
https://jaredsinclair.com/2024/11/12/beware-unchecked
#Swift #concurrency

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

We use auto-generated passwords daily, but have you ever wondered how they're designed? Apple’s approach combines two-syllable patterns, symbols, and numbers to create strong, user-friendly passwords that are easy to remember and type, even on different keyboards, while maintaining high security (71 bits of entropy). With consonant-vowel patterns, these passwords are simpler to recall in short chunks, making them practical even for entry on unfamiliar or foreign keyboards.
https://rmondello.com/2024/10/07/apple-passwords-generated-strong-password-format/
#security

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

I came across an article on shared dictionary compression for network requests, which reduces the payload by transmitting only the changes instead of the full data each time. This technique is particularly useful for apps like calendars or news feeds, where most of the data remains the same between requests.
https://eisel.me/shared-dictionary-compression

It’s especially important because Amazon found that every extra 100ms of latency can reduce sales by 1%.
https://www.gigaspaces.com/blog/amazon-found-every-100ms-of-latency-cost-them-1-in-sales

#network #optimization

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

Java/Swift Interop is here, and no, this is not an April Fool's joke
https://github.com/swiftlang/swift-java
#Java #Swift

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

‼️ Friendly warning. Be aware of a crash in iOS 18 when using withCheckedContinuation while building with Xcode 16. You can temporarily switch to withUnsafe*Continuation to avoid the issue or build your app using Xcode 15 for now.

p.s. Seems like it’s only related to building an app for “My Mac (Designed for iPad)" destination

Active discussion: https://github.com/RevenueCat/purchases-ios/issues/4177
Apple radar: http://openradar.appspot.com/15099898

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

In a recent article, my buddy @artemnovichkov provides an insightful look into creating a GitHub Contribution Graph using Swift Charts. The piece delves into how developers can effectively leverage Swift Charts to build customizable, data-rich visualizations.
https://www.artemnovichkov.com/blog/github-contribution-graph-swift-charts
#SwiftUI #Charts

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

A short but insightful article on the non-obvious quirks of SwiftUI's Menu component. Jeff addresses common issues developers face when using HStack and VStack in Menu, offering practical solutions to overcome them.
https://jeffverkoeyen.com/blog/2024/08/16/SwiftUI-Menu-subtitle-shenanigans/
#SwiftUI

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

If you want to go beyond writing the usual tests we are all used to, there is a demonstration of how to automatically detect memory leaks in applications using UI tests on CI.
https://www.polpiella.dev/automatically-detect-memory-leaks-using-ui-tests/
#testing

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