Creează un cont pentru a te abona la acest blog și a-i urmări articolele pe pagina Lectură.
-
iOS Chat with Lee Kah Seng ]]
-
iOS Chat with Mihaela MJ ]]
-
iOS Chat with Nicolas Spinner ]]
-
iOS Chat with @tundsdev ]]
-
Re-creating Apple Photos layout & animations with Compositional Layout <p>The Photos app got pretty big update with iOS 13 and I was always fascinated by the smooth animations and transitions when switching between the Years, Months, Days and All Photos…
-
How to show UIMenu from UIButton or UIBarButtonItem <p><code>UIMenu</code> is great new way to provide user with on-demand inline options.
-
How to create responsive Compositional Layout <p>Before we begin with the example, let's quickly go through what are we going to be building.
-
How to create sticky headers with Compositional Layout <p>If you worked with TableView and recently switched to CollectionView, you may miss the automatic sticky section headers that TableView provided in the default configuration.
-
Useful extensions for CollectionView and Compositional Layout <p>Swift's extensions are powerful tool for reducing boilerplate code and simplifying working with APIs.
-
How to create onboarding with Compositional Layout <p>In another shorter post about CollectionView Compositional Layout I would like to show how you can use this API to create onboarding flow.
-
How to use NSDataDetector to detect links, email addresses, phone numbers and more <p>I am using <code>UITextView</code> to display OCR'd text in my app <a href="https://apps.apple.com/app/scan-it-scan-and-export-pdf/id1509634112">Scan it</a> and I was p…
-
How to create grid with Compositional Layout <p>While a grid layout is not as popular choice as a list layout, in some cases (like displaying a photos or other data in a "cards" fashion) it is indispensable.
-
What is intrinsic content size and why care?
-
Example project showing Compositional Layout and Diffable <p>This post exists mainly to make my <a href="https://github.com/nemecek-filip/CompositionalDiffablePlayground.ios">Modern Collection Views project</a> more visible.
-
Building Instagram profile screen with Compositional Layout <p>I have written about <a href="https://nemecek.be/blog/series/compositional-layout">Compositional Layout</a> quite a bit already, but always in an abstract way describing the individual part.
-
Using background decoration views with Compositional Layout <p>In another post about Compositional Layout for collection views, we will take a look at lighter topic today.
-
Tips and practices for setting up Diffable Data Sources <p><strong>Update 26.
-
Supplementary views with Compositional Layout and Diffable Data Source <p>Your collection view does not have to be "just" cells and header or footer views.
-
Detailed look at the NSCollectionLayoutGroup <p>In this post I would like introduce <code>NSCollectionLayoutGroup</code> class which is part of the Compositional Layout for Collection View.
-
How to let user select contact from their contact list <p>Say you need your user to select particular contact (or maybe just the contact's phone number) in your app.
-
How to monitor system calendar for changes with EventKit <p>In the previous <a href="https://nemecek.be/blog/series/eventkit">EventKit posts</a> I have shown how to load events, edit them, how to work with reminders and other stuff, but so far I have not…
-
How to refresh header / footer with Diffable Data Source <p>Refreshing header/footer views in either TableView or CollectionView used to be pretty fickle business.
-
iOS 14: How to send email using default email app <p>Prior to iOS 14, if you wanted to let the users of your app send you an email with feedback or issues, you would likely implement the <code>MFMailComposeViewController</code> which allows to send the m…
-
Implementing loading / shimmer with Diffable Data Source <p>Lately I became a huge fan of Diffable Data Sources.
-
Demystifying Core Data: A guide for newcomers <p><em>If you are more comfortable with Core Data and feel some simplifications in the article may do more to confuse, please let me know on Twitter and I will fix it.
-
Making files from your app available in the iOS Files app <p>If you ever needed to store a file in your iOS app, chances are, you used the documents directory available for your app.
-
Basic anatomy of collection view compositional layout <p>The new collection view compositional layout available in iOS 13 and up represents significant shift from the old way of creating complex collection views layouts.
-
Porting iPhone app to iPad: My experience <p>I have been recently working on an iPad version of an iPhone app that has been in development for more than a year.
-
Implementing multi-user support in tvOS 14 <p>Starting with tvOS 14 we can support multiple users in Apple TV apps.
-
Refactoring UIAlertController: Helper class and protocol approaches <p>In this post I would like to take a look at <code>UIAlertController</code>.
-
How to approach complex programming problems <p>In this post I would like to present some tips about how to "attack" complex problems.
-
How to create new calendar using EventKit in Swift <p>In the previous posts I already wrote about creating <a href="https://nemecek.be/blog/3/how-to-use-ekeventeditviewcontroller-in-swift-to-let-user-save-event-to-ios-calendar">events</a> and <a href="ht…
-
Minimal example of using Diffable Data Source with Core Data <p>If you have been developing iOS apps for some time, setting up Table Views and Collection Views is likely muscle memory.
-
How to create Core Data database from multiple model files <p>We are used having single <code>.xcdatamodel</code> file in our app that contains all the definitions for entities and we use that to setup Core Data stack when the app launches.
-
My approach to setting up Core Data stack <p><em>I got asked on the Hacking With Swift forums about my approach to configuring Core Data outside <code>AppDelegate</code> and decided to share my solution here.
-
How to use EKEventEditViewController in SwiftUI <p>I have made another notable progress porting my <a href="https://github.com/nemecek-filip/EKEventKit.Example">EKEventKit Example</a> app to SwiftUI with bridging the <code>EKEventEditViewController</code…
-
How to use EKCalendarChooser with SwiftUI <p>Just like other UIKit controllers <code>EKCalendarChooser</code>, which lets users select their calendars, for use in your app needs a small wrapper around it with the <code>UIViewControllerRepresentable</cod…
-
How to implement OCR in iOS without 3rd party frameworks <p>Quite recently I have successfully implemented OCR features in my <a href="https://apps.apple.com/app/scan-it-scan-and-export-pdf/id1509634112">Scan it</a> app and it was surprisingly easy given…
-
How to create iOS reminders programatically with alarms or recurrences <p>In this EventKit post let's go over reminders represented with the <code>EKReminder</code> class and see how we can create reminders (programatically) that are then displayed in the
-
iOS 14: Quick dive into the new UIColorWell <p>While <a href="https://nemecek.be/blog/29/first-look-at-the-new-uicolorpickerviewcontroller-in-ios-14">checking out</a> the new <code>UIColorPickerViewController</code> in iOS 14 I have noticed that there is…
-
iOS 14: What is new for WKWebView <p>In this post let's go over some of the interesting changes for <code>WKWebView</code> in iOS 14.
-
How to setup CloudKit subscription to get notified for changes <p>I have recently implemented with (some trial & error) working <code>CKQuerySubscription</code> so my Apple TV app can get notified when content changes based on new user actions in iOS…
-
How to let user select photos from iOS Photo Library <p>In iOS 14 there is a brand new way to let users select a photo(s) or video(s) from their library to use in your app and it has some cool features and benefits.
-
Look at the new UIColorPickerViewController in iOS 14 <p>With iOS 14 we can use the new <code>UIColorPickerViewController</code> to let user select color.
-
How to save event into user's calendar <p>If your app deals with some kind of events you can make it easy for the user to save particular events into their calendar.
-
How to scan documents in under 10 lines of code <p>Start by importing the framework:</p> <div class="codehilite"><pre><span></span><code><span class="kd">import</span> <span class="nc">VisionKit</span> </code></pre></div> <p>We are going to use <code>V…
-
How to load events from user's calendar <p>I want to make this example as short as possible so we will cover only the truly necessary stuff.
-
How to get file size using FileManager + formatting <p>If you need to get file size programmatically in Swift using the file's URL then it is just a matter of a few lines of code.
-
Improve your UIKit layouts with these tips & tricks <h2>Use width + aspect ratio constraints instead of width + height</h2> <p>This one applies mainly to square elements like buttons with just icons or images.
-
iOS 13: launchOptions always nil?