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

I recently came across an interesting article on creating custom SF symbols, and it piqued my interest as I had never considered this approach before. If your app involves displaying text alongside an icon and it should be automatically aligning with text in all weights and sizes. If you also adopt Dynamic Type, it can prove to be extremely helpful. Adopting custom SF Symbols is a great way to enhance the design and usability of your app.
https://www.david-smith.org/blog/2023/01/23/design-notes-18/

How to create SF Symbols with Sketch
mkproduct-stories/how-to-create-sf-symbols-with-sketch-2952ee02abf5" rel="nofollow">https://medium.com/@mkproduct-stories/how-to-create-sf-symbols-with-sketch-2952ee02abf5

#SF #design #iOS

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

Did you know that VoiceOver, the screen reader built into Apple devices, automatically reads the name of an image for accessibility purposes? And even better, you can provide a more descriptive accessibility label for the image by using the name in the Localizable file. This helps make the content on your app more accessible for people with disabilities.

https://nilcoalescing.com/blog/ImageAccessibilityLabelsFromLocalizableStringsFiles/
#iOS #Accessibility #VoiceOver

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

You know what I mean 😌
defaults write com.apple.dt.Xcode XcodeCloudUpsellPromptEnabled -bool false

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

Just a quick reminder that clipped() modifier doesn't affect the clipped view’s hit testing region. Important to use it in conjunction with the clipShape modifier.
https://oleb.net/2022/clipped-hit-testing/
#SwiftUI

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

Xcode no longer offers the enabled Bitcode by default and strips it before being submitted to the App Store. These changes have affected the size of applications and some of them have suffered significantly. Emerge Tools team investigated in details what exactly have been changed and how we can face with these new modifications.

• On October 8th, the Nike iOS app install size was 182.2 MB. A week later, it was 322.1 MB (+68%)
• American Airlines went from 182.2 MB to 389.1 MB — with Xcode 14 causing 76.2 MB (+42%) of the increase
• Chime increased from 162.8 MB to 212.8 MB (+31%)

https://www.emergetools.com/blog/posts/how-xcode14-unintentionally-increases-app-size
#Xcode #bitcode

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

Great summary of the pitfalls that can happen by using new Swift Concurrency.

#swift #concurrency

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

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

Handling complex gestures within a ScrollView in SwiftUI can be a real challenge, especially when you want to do more than just a simple tap. Gestures conflict with the ScrollView gestures, which cause scrolling to stop working and the gestures not being detected. Unfortunately, there's no built-in way to handle it, so we need to find some hacks. Daniel found a clever workaround using ButtonStyle and wrote an article about it.

https://danielsaidi.com/blog/2022/11/16/using-complex-gestures-in-a-scroll-view
#SwiftUI #gestures

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

Shopify recently migrated their biggest mobile app (4 root screens at the moment) to React Native and wrote a blog post about it. They talk about the challenges they faced and how they overcame them. They also explain the benefits they've seen since making the switch. It's a really interesting read if you're thinking about migrating a big app or just want to know what it's like.

https://shopify.engineering/migrating-our-largest-mobile-app-to-react-native
#react_native #shopify

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

To add a festive touch to our application for the Christmas season, we've implemented snowflakes. Out of curiosity, I asked ChatGPT to try implementing them as well, and after comparing the results, I decided to go with the ones that the AI generated for me. I particularly appreciated the option for improving the code, which included a detailed explanation of how to set up the particle system to make the snowflakes look as realistic as possible.

If you haven't had a chance to try it out yet, there's a short article that demonstrates the capabilities of this tool and gives you an idea of what it looks like in action.

https://www.createwithswift.com/prototyping-swiftui-interfaces-with-openais-chatgpt/
#ChatGPT

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

A subscriber sent me an mikhailmaslo/test-push-notifications-w-o-3rd-party-services-f0d1696f733a">article to share with you. In the article, the author explains how to test push notifications on a device using simple terminal commands. This method does not require using third-party services that require you to upload certificates. Everything is done locally and uses the Apple API directly!

Feel free to ask any questions — @mikhailmaslo

#iOS #notifications

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

Several excellent SwiftUI extensions for Bindings that greatly simplify the life of developers especially in Xcode preview.
https://betterprogramming.pub/swiftui-binding-extensions-b6a9f27d2858
#SwiftUI

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

Inspired by the previous article an author decided to figure out how Swift Concurrency deals with Thread Explosions.
https://swiftsenpai.com/swift/swift-concurrency-prevent-thread-explosion/
#swift #concurrency

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

Readaggregator - iOS, Swift, Apple, Programming, Mobile

If you have any questions about Dynamic Island or SwiftUI with accessibility, it's time to ask them directly to Apple developers.
https://www.apple.com/newsroom/2022/10/apple-introduces-ask-apple-for-developers/
#Apple

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