Getting view size in SwiftUI without GeometryReader
We can avoid GeometryReader now! New modifier supports iOS 16+.
Swift & iOS141 posts
We can avoid GeometryReader now! New modifier supports iOS 16+.
Swift & iOSMarking views to be rendered with colors, handling images and more.
Swift & iOSQuite a lot higher trial start rate with lower conversion percentage.
Swift & iOSSwiftUI
My “glow” animation started going wrong when switching tabs in a tab bar.
Swift & iOSShort blog post about supporting StandBy mode introduced in iOS 17.
Swift & iOSUX Diary
About an approach I took in "GameWidgets" to better onboarding users into the app.
Swift & iOSHow to fix the issue with background and extra padding.
Swift & iOSAll the tips and tricks I have discovered so far. Better previews, subtitles. PNG via AirDrop & more.
Swift & iOSShort tutorial about adopting the Shared with You framework available in iOS 16.
Swift & iOSI got inspired by Ivory for Mastodon and implemented my solution in SwitchBuddy.
Swift & iOSThe story behind winning #1 Product of the Day and #3 Product of the Week.
Swift & iOSSwiftUI
Meet ContainerRelativeShape!
Swift & iOSOr other share destinations, like adding to a reading list.
Swift & iOSControlling device orientation without modifying the Info.plist or using “top view controller”.
Swift & iOSThis is a small tip for cases with countdown labels and similar UI.
Swift & iOSWhat happens when a quiet app gets almost a thousand new downloads, and in-app unlocks each hour?
Swift & iOSQuick look at how to add and use TelemetryDeck SDK to your Swift app.
Swift & iOSAll the steps you need to start creating your own Dynamic Island UIs!
Swift & iOSApp promotion
This may be obvious, but I still wanted to remind everyone.
Swift & iOSApp promotion
According to devs who got features many times.
Swift & iOSApp promotion
Detailed how-to about sending your first app press release.
Swift & iOSApp promotion
Should you put the time into creating a Press Kit? And how much energy?
Swift & iOSCompositional Layout
With the Compositional Layout list configuration this is fairly easy.
Swift & iOSCompositional Layout
The easiest way for creating standard list layouts with the new APIs available from iOS 14.
Swift & iOSWhen you need to really separate development backend from production one.
Swift & iOSWWDC 22
Look at setting up the proper calendar view with selections and customizations.
Swift & iOSWWDC 22
Quick start guide showing the newly available API in iOS 16.
Swift & iOSWWDC 22
With iOS 16, we can ask for any size we want!
Swift & iOSWhile keeping the aspect ratio. Meaning the resize will be without stretching.
Swift & iOSQuick look at the `UIDocumentPickerViewController` to access the Files app.
Swift & iOSApp promotion
Here are a few examples of nicely done press kits that can also serve as a template.
Swift & iOSA collection of small-ish things that can make a difference.
Swift & iOSApp promotion
Looking to increase chances of getting covered by the press? Shoot some real-life photos.
Swift & iOSApp promotion
The short answer is yes. But it depends on your app and goals.
Swift & iOSA couple of tips on verifying that your files and folder operations do what you expect.
Swift & iOSApp promotion
Here is what I learned and recommend after reviewing bunch of press kits.
Swift & iOSApp promotion
While there are no guarantees, choosing the right strategy will significantly improve your odds.
Swift & iOSThere is a scheme to launch the iOS Files app inside your app directory quickly.
Swift & iOSShort post on applying gradient to borders without too much hassle.
Swift & iOSApplying gradient colors to UILabel text isn't straightforward. Let's see how to do it.
Swift & iOSShort post about fun usage of UIImage inside of UIColor.
Swift & iOSCompositional Layout
Short guide how to do it with UIPageControl and Combine. Full source code available.
Swift & iOSApp promotion
Ideas to get you started when you want to "do marketing" for your app.
Swift & iOSIntroducing small new tool called App Icon Preview.
Swift & iOSDiffable
The most common causes and how to fix it.
Swift & iOSApp promotion
On the pitfalls of mistaking correlation with causation.
Swift & iOSApp promotion
Assuming you plan to contact the press.
Swift & iOSRenaming constants goes a long way...
Swift & iOSApp promotion
Why bother? And how to get started without getting overwhelmed.
Swift & iOSApp promotion
Whether you are preparing to publish your first app or want to improve screenshots for already published one, I hope at least some of these tips will be helpful.
Swift & iOSApp promotion
You may be losing press coverage because of this.
Swift & iOSApp promotion
Without hoping that some journalist will write about it.
Swift & iOSWith Xcode 13 and the iOS 15 SDK there are important changes to UITabBar.
Swift & iOSXcode 13 along with iOS 15 SDK brings substantial changes to UINavigationBar.
Swift & iOSAnother niche topic, that may be quite useful in certain situations.
Swift & iOSA quick loot at implementing drag and drop capabilities in your app using Collection View.
Swift & iOSOverview of what you need to do to allow users to select custom icons. With common pitfalls and iPad implementation.
Swift & iOSWWDC 21
Media playback APIs, theme color, async support, downloads and more.
Swift & iOSWWDC 21
There's an option to run custom extension on the page content and also preload some content.
Swift & iOSWWDC 21
Apple has new solution for apps which need location only sometimes.
Swift & iOSWWDC 21
We can finally use the modal sheet that does not take up the entire screen on an iPhone. And it is just a bit of configuration.
Swift & iOSWWDC 21
Predefined styles. Trailing images! Loading style and much more.
Swift & iOSWWDC 21
There are huge foundation news regarding formatters. They were basically moved behind the scenes.
Swift & iOSThis is easier in the main app, but there is a way to do this in the extension as well.
Swift & iOSAppStories
First post in new experimental article format.
Swift & iOSWith a little bit of code, you can prompt the user to connect to Wi-Fi network of your choice.
Swift & iOSWithout that crazy Objective-C method that requires selector.
Swift & iOSSimplest possible tutorial to get you started with Siri Intents.
Swift & iOSCodable
In this post we will look at strategies you can use to decode dates. Custom decoder isn't needed.
Swift & iOSCustom backend for your apps is not exactly rocket science and can give you a big boost.
Swift & iOSCore Data
With a bit of help of computed property, we can save enumerations into Core Data quite easily!
Swift & iOSWKWebView
What you need to know to manipulate content in WKWebView, how to make Swift & JavaScript talk to each other, how to call JavaScript functions and more.
Swift & iOSCodable
Forget CodingKeys. There is much better solution available!
Swift & iOSRandom numbers, random array elements, random color, fair randomness and more.
Swift & iOSLearn how to use UIMenu to build modern UI. This tutorial shows basic example, how to add separator, how to work with submenus and more.
Swift & iOSCompositional Layout
Let's see how we can create layout similar to the native Photos app in iOS. Complete with the transitions.
Swift & iOSLearn how to display context / popup menu from UIBarButtonItem and UIButton with this guide.
Swift & iOSCompositional Layout
Let's look at basic example tutorial about creating Compositional Layout that adapts to available screen space.
Swift & iOSCompositional Layout
It is actually quite easy, but you need to know where to activate this behavior. Let's see how to enable pinned headers.
Swift & iOSCompositional Layout
With a few extensions, you can make working with CollectionViews and Compositional Layout a lot cleaner.
Swift & iOSCompositional Layout
Utilizing Compositional Layout to create onboarding flow. Full code example is available.
Swift & iOSAnd also a look on creating prettier API with the help of extensions and enums.
Swift & iOSCompositional Layout
Let's look at creating basic grid layouts using Compositional Layout.
Swift & iOSIn this post I would like to touch a bit on a less known part of UIKit layout. The what and why of intrinsic content size.
Swift & iOSCompositional Layout
Check out my GitHub project for hand-on examples showcasing how to build various layouts using modern APIs.
Swift & iOSCompositional Layout
Let's build the profile page with avatar, followers count, highlights and photos.
Swift & iOSCompositional Layout
These can help you add a bit of visual flair or maybe imitate the inset table view style.
Swift & iOSDiffable
In this post I would like to show a few approaches that make working with Diffable cleaner and better.
Swift & iOSCompositional Layout
In this post we will see how to add badges to CollectionView. You will learn how to add supplementary views, configure them and display them.
Swift & iOSCompositional Layout
With the NSCollectionLayoutGroup definition we can create quite different layouts while keeping the rest of the code the same.
Swift & iOSContacts
A short look at the CNContactPickerViewController from the ContactsUI framework. Learn how to leverage this contact picker to access contact details.
Swift & iOSEventKit
If you are working with either calendar events or reminders via EventKit framework, you need keep the data up-to-date with the system calendar database.
Swift & iOSDiffable
All that is needed is correctly configured section with associated value. Learn how to properly refresh supplementary views with Diffable Data Source.
Swift & iOSLetting your users send you feedback just got significantly easier with iOS 14. Let's see how.
Swift & iOSDiffable
Quick look on one way how to implement loading state for your collection view or table view when using diffable.
Swift & iOSCore Data
This post is intended for newcomers to the development on Apple platforms. Since Core Data will undoubtedly feel daunting for a lot of new developers, I decided to try to explain it in simpler terms.
Swift & iOSLearn how and why you can make your app's Documents folder accessible via Files app in iOS. And also how to write files into the Application Support directory.
Swift & iOSCompositional Layout
Understanding the basic building blocks of the great compositional layout for collection views.
Swift & iOSTips and approaches to use when you don't have the time to build iPad version from scratch.
Swift & iOSTurns out it is pretty easy change to make with potential benefits for your users.
Swift & iOSDetailed look at two possible approaches to avoid writing boiler plate code over and over.
Swift & iOSSome tips and approaches how to tackle difficult problems. Including examples from my Chill Zones app.
Swift & iOSEventKit
Apart from reminders and events, EventKit framework also gives you the power to create new calendars for users. Learn how.
Swift & iOSCore Data
The new Diffable Data Source is totally different way to setup Table Views and Collection Views. This example will get you started.
Swift & iOSCore Data
This is useful if you want to split your app into modules but still keep and manage only single database inside the main target.
Swift & iOSCore Data
This post details how I set up Core Data in my projects and also explains what and why. It includes working with background context.
Swift & iOSEventKit
My finished solution to bridging this view controller for creating new events and editing existing ones to SwiftUI.
Swift & iOSEventKit
Short post showing how to bridge this controller with SwiftUI and get selected calendars.
Swift & iOSLearn the basics of getting OCR up and running plus a few tips and extra stuff you may want to know.
Swift & iOSEventKit
Learn how you can create reminders that will show in the Reminders app. With alarms and recurrences.
Swift & iOSWWDC 2020
This looks like an ideal solution if you want to let user pick multiple colors.
Swift & iOSWKWebView
JavaScript sandboxing. Support for JavaScript promises, find on page, zoom and more!
Swift & iOSCloudKit
CloudKit subscription offers best way to keep data up-to-date for your user. I will show you the simplest setup to get started in this cloudkit subscriptions tutorial.
Swift & iOSWWDC 2020
Much better experience. No permissions required and multi-select!
Swift & iOSWWDC 2020
Learn how to use the iOS color picker which also features palette of colors and sliders. There is also limited customization.
Swift & iOSEventKit
In this post we will use the EventKit framework to save event to default calendar.
Swift & iOSThanks to VisionKit framework scanning documents is very easy with iOS 13 and up. In this blog post I will show you how.
Swift & iOSEventKit
In this post let's go over how to load events that user has in their system calendar. Learn about permissions, requesting access and load the events.
Swift & iOSLearn how to get file size URL and also how to format it to human-readable string by special formatter.
Swift & iOSA collection of tips that I found very helpful when building UI and why to avoid Table View Controller.
Swift & iOSlaunchOptions have moved and you find them in AppDelegate no longer.
Swift & iOSWKWebView
This is another short post about using `WKWebView`. Yet another useful use case can be to run `WKWebView` in the background, meaning user does not see it on the screen.
Swift & iOSRemoving duplicates (objects, characters, ..) is swift in Swift thanks to the Set type. We can also leverage NSOrderedSet to not lose order of the items.
Swift & iOSBadges on UIBarButtonItem are not natively supported but we can fix that with custom UILabel.
Swift & iOSEventKit
Learn about working with EventKitUI to let user select their calendars with the calendar picker. Permissions and delegate explained.
Swift & iOSDon't force your users to use Apple Mail. Offer them Outlook, Gmail or Spark.
Swift & iOSCreate cleaner project by leveraging reusable views with design done in .XIB files.
Swift & iOSShort guide demonstrating how to use QLPreviewController for easy file previews. It even supports ARKit models!
Swift & iOSCreating previews for files is breeze thanks to Quick Look framework. This quick guide will get you started.
Swift & iOSGoing beyond standard contains and hasPrefix methods. Learn locale-aware sorting and how to ignore diacritics.
Swift & iOSI have selected a few books from many I have read and wrote up why I think these are great choices for iOS developers.
Swift & iOSLearn to hide sensitive information when the app is visible in the app switcher or just prepare something cool for the users.
Swift & iOSCloudKit
This is an example of accessing iCloud Drive and saving files there. Learn how to save files with my guide in iOS.
Swift & iOSLearn how to use trash icon (or any other image) instead of the standard "Delete" text.
Swift & iOSEventKit
Short example showcasing the usage of EKEventEditViewController to let user edit and add events to iOS calendar.
Swift & iOSHow to unwrap optionals in a loop. Utilize @autoclosures, cleaner range checking and easy randomness.
Swift & iOSWKWebView
Short post explaining why by default target _blank links don't do anything and how to fix it with example code.
Swift & iOS