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

The Apple design kit has now been officially published in Figma. I'm sure this update will bring happiness to designers in your team — go ahead and tell them about it.
https://www.figma.com/community/file/1248375255495415511/Apple-Design-Resources-%E2%80%93-iOS-17-and-iPadOS-17
#Figma

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

Friends, I wanted to share some recent news with me regarding my professional situation. Unfortunately, due to a significant layoff at my startup, I am now seeking new employment opportunities. If any of you are aware of any vacant positions or opportunities within your organizations, I would greatly appreciate your support! ❤️

Feel free to ask any questions or suggest great positions - @otbivnoe

(Full remote, Europe-Asia timezone)

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

This informative guide offers you valuable tips to completely avoid or effectively handle the most frequent rejections in the AppStore.
https://www.revenuecat.com/blog/growth/the-ultimate-guide-to-app-store-rejections/
#AppStore

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

The author describes how to reduce redundant view updates by applying various optimization techniques.
https://mobileappcircular.com/how-to-avoid-repeating-swiftui-view-updates-dcf0a65d3758
#SwiftUI #optimization

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

Apple has open-sourced the first version of Foundation. Types such as JSONEncoder, Calendar, TimeZone, Locale and more are all-new Swift implementations.
https://swift.org/blog/foundation-preview-now-available/
#swift

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

Apple has shared solutions to help developers resolve common architecture build errors on Apple silicon.
https://developer.apple.com/documentation/technotes/tn3117-resolving-build-errors-for-apple-silicon
#Xcode

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

If, as an author, you try to modularize your app as much as possible for faster build times (faster SwiftUI previews, tests, and more), and you're really tired of writing a lot of import statements every time, the @_exported attribute can simplify this process.

The attribute allows a module to re-export all of the public declarations of another module that it depends on. In simpler terms, if you have a module that depends on another module, and you mark the dependency with @_exported, then any other modules that depend on your module will automatically get access to all of the public declarations from the original module, without having to import it directly.

p.s. be aware this attributes is under active discussion and can be changed and entirely removed in the future.

https://www.fline.dev/organizing-my-swiftpm-modules/
#SPM #optimization

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

🔥 Highly recommend to update fastlane

https://twitter.com/fastlanetools/status/1629153901747265538?s=46&t=6ONSW-f5wKmLTO96ZJRH6A

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

Celebrating the codebase’s 10-year anniversary of the Facebook iOS app, the author highlights the challenges faced during the development process and how they were overcome, with a focus on performance optimization, reliability, and scalability.

2014. The team built a new, React-inspired UI framework (Component Kit) which resulted in a 50% performance improvement.

2016. Started moving large portions of code into dynamic libraries (dylib) to curb the unbounded growth of the app's startup time. The dylib solution was effective but resulted in runtime failures and linker errors.

2017. Adopted Buck build system to address the issues introduced by dylibs. Buck allows each target to be declared with configuration information, and generates a graph of the app's classes and functions during the build process. This became the building block for FBiOS's next generation architecture.

2018. Introduced a new plugin system using Buck and code generation to build and map information about the code dependencies. This system replaced the runtime-based app-module system and improved reliability, provided faster feedback to engineers, and allowed for code sharing between mobile apps.

2020. Faced challenges due to the growing use of Swift-only APIs from Apple and the preference for more Swift in the codebase. Historically, FBiOS relied on C++ for abstraction, but it does not interop with Swift, leading to code bloat when creating shims for Swift use.

https://engineering.fb.com/2023/02/06/ios/facebook-ios-app-architecture/

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

Here we go. API docs about Dynamic Island support are now available.
https://developer.apple.com/documentation/activitykit/displaying-live-data-with-live-activities
#iOS #widgets

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

A bit of new API: layout guide that is useful for full-screen content:
safeAreaAspectFitLayoutGuide

“Unlike the standard rectangular safe area defined by the safeAreaLayoutGuide/safeAreaInsets, this new layout guide API considers the true shape of the safe area, including the curvature of the display edges and sensor housing/island areas, maximizing the content without clipping.”

Read the Tyler’s thread about the all details.

https://twitter.com/smileyborg/status/1567624484206825472?s=46&t=csd2d8i61Hh2K4Z9JvlR1w
#iOS

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

Thomas discusses about AttributedString in SwiftUI: what is good, what is bad, what would be great to improve. He also prepared a helper that simplifies the life when working with texts.

p.s. now it's a little confusing when dealing with attributed strings. I really hope that Apple will take this problem into account and improve it soon. But this "soon" isn't really soon for us, unless you only support the latest version. 🥲

https://dimillian.medium.com/swiftui-attributedstring-is-not-there-yet-63d49e9f9c16
#SwiftUI

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

Oh, such an amazing repo with tons of animations using SwiftUI from different apps for inspiration and practice.😍
https://github.com/GetStream/purposeful-ios-animations
#SwiftUI #animations

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

Didn't pay attention to the improved Xcode code completion, but it seems to be awesome.
https://twitter.com/peterfriese/status/1554905178314158082
#Xcode

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

Such a detailed post about new Grid layout in SwiftUI. Highly recommended.
https://swiftui-lab.com/eager-grids/
#SwiftUI #Layout

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

I know you've all been waiting for this. Here's a quick introduction to the new framework, Swift Data, that persists data in your app and is entirely built around modern Swift.
https://alexanderlogan.co.uk/blog/wwdc23/03-swift-data
#SwiftData

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

Once again, Paul presents a great introduction to the latest features in Swift 5.9
https://www.hackingwithswift.com/articles/258/whats-new-in-swift-5-9
#Swift

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

The author has prepared* an eight-part series in which he details his journey with CloudKit after his own sharing solution:

- Basic CloudKit concepts.
- How data is moved between a device and iCloud.
- How to initiate sharing, and how a sharing invitation is accepted by the app.
- Strategies for synchronising data between devices.
- Sharing participants, what happens when you stop sharing, leave a list or sign out of iCloud.
- Tips for diagnosing issues, handling edge cases, concurrency and logging.

*Only 5 parts are available now. A new part becomes available one week after the previous one.

https://dev.shoppingukapp.com/2023/05/01/embracing-cloudkit-for-data-sharing-contents.html
#CloudKit

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

I appreciate how the author delivers a comprehensive understanding of the animation mechanism in SwiftUI. The article provides numerous important details, including helpful demonstrations through gifs and additional links for further exploration.
https://betterprogramming.pub/swiftui-animation-mechanism-a1adf2b9b417
#SwiftUI #animations

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

Whether you're new to Swift Concurrency and looking for a quick start, or already have experience but need a refresher, this article covers everything you need to know in the most condensed form possible.
https://dev.srdanstanic.com/swift-concurrency-quick-start/
#Swift #concurrency

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

WWDC 2023 - June 5 to 9.
https://developer.apple.com/news/?id=w2pqpg97
#Apple #wwdc

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

What a nice hack!

You can test App Store production builds, while they are in Pending Developer Release, by generating a promo code for your unreleased build.

If you find a show-stopper bug, you can still reject the build and resubmit.

Useful for testing purchases in production

https://twitter.com/russshanahan/status/1396879383298772992?s=52&t=YNy4qFziI3PFPTlrSCXpmA

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

Finally, this has happened 🔥

In Xcode 14.3, we can see a print output from SwiftUI Previews.

https://twitter.com/sarunw/status/1627038165273042947?s=46&t=dYa7Fcdr7iyKmiuDSEXIgw

#SwiftUI #preview

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

It turns out that in addition to all known access levels, there's also an experimental feature called SPI (System Programming Interfaces). It lets for library developers shipping experimental features only to dedicated clients and hiding those features to other ones.
https://blog.eidinger.info/system-programming-interfaces-spi-in-swift-explained
#swift

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

FYI 👇

Q: Is there a documentation up for accessing dynamic island (on iPhone 14 Pro) with live activities? Couldn't find anything

A: Live Activities are implemented using the ActivityKit framework, which was available in iOS 16 beta 4 and iOS 16 beta 5. The ActivityKit framework is not included in iOS 16 RC, and is not included in Xcode 14 RC. ActivityKit will be included in an update to iOS 16 coming later this year, as mentioned in this News and Updates post. Once ActivityKit is available in an update to iOS 16, you'll be able to implement Live Activities and interact with them in Dynamic Island.

https://developer.apple.com/forums/thread/713978

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

Turns out that there is a UML generator for Swift. I wish I had known about it last year.

In addition, a small example - how to generate class diagrams from a framework.

#uml

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

Long read about the presentation changes in iOS and iPadOS 16

When the presenting view controller is in a regular-width environment on iPad, form sheets are slightly bigger than on previous iPadOS versions. This changed in beta 4. (If the presenting view has compact width, a form sheet presentation will adapt and fill the width, just like on iPhone.)

The height of the navigation bar in a non-full-screen, non-popover, modally-presented view controller is smaller than before (12 points smaller on iPhone and 6 points smaller on iPad), but this has not (yet?) changed in SwiftUI. This change has only just occurred in beta 5.

Non-full-screen modally-presented double and triple column style split view controllers have a different appearance compared to iPadOS 13 to 15.

https://hacknicity.medium.com/view-controller-presentation-changes-in-ios-and-ipados-16-474c82c9ed2e
#UI #iOS

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

We all know that Meta collects everything about us, no surprises. Every step is being watched. More accurate advertising - more money. For this reason, Felix prepared an investigation on how their in-app browser tracks us. In case you use in-app browser rather than the built-in Safari, just read this article.
https://krausefx.com/blog/ios-privacy-instagram-and-facebook-can-track-anything-you-do-on-any-website-in-their-in-app-browser
#privacy

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

It turns out that in SwiftUI you can finally hide the home indicator without UIKit hacks.
https://danielsaidi.com/blog/2022/08/01/removing-the-home-indicator-in-swiftui
#SwiftUI

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

Apple has prepared an online meeting with App Store experts to cover the following topics:

- Get started with TestFlight
- Get started with app discovery and marketing
- Explore Family Sharing for in-app purchases
- Optimize subscriptions for success: acquisition
- Get started with in-app events
- Get started with custom product pages
- Get started with product page optimization

https://developer.apple.com/events/app-store/
#Apple

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