Înapoi la articole →

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 166
  1. iOS Chat with Lee Kah Seng

    iOS Chat with Lee Kah Seng ]]

  2. iOS Chat with Mihaela MJ

    iOS Chat with Mihaela MJ ]]

  3. iOS Chat with Nicolas Spinner

    iOS Chat with Nicolas Spinner ]]

  4. iOS Chat with @tundsdev

    iOS Chat with @tundsdev ]]

  5. 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…

  6. How to show UIMenu from UIButton or UIBarButtonItem <p><code>UIMenu</code> is great new way to provide user with on-demand inline options.

  7. 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.

  8. 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.

  9. Useful extensions for CollectionView and Compositional Layout <p>Swift's extensions are powerful tool for reducing boilerplate code and simplifying working with APIs.

  10. 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.

  11. 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…

  12. 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.

  13. What is intrinsic content size and why care?

  14. 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.

  15. 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.

  16. 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.

  17. Tips and practices for setting up Diffable Data Sources <p><strong>Update 26.

  18. 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.

  19. 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.

  20. 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.

  21. 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…

  22. 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.

  23. 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…

  24. Implementing loading / shimmer with Diffable Data Source <p>Lately I became a huge fan of Diffable Data Sources.

  25. 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.

  26. 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.

  27. 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.

  28. 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.

  29. Implementing multi-user support in tvOS 14 <p>Starting with tvOS 14 we can support multiple users in Apple TV apps.

  30. Refactoring UIAlertController: Helper class and protocol approaches <p>In this post I would like to take a look at <code>UIAlertController</code>.

  31. How to approach complex programming problems <p>In this post I would like to present some tips about how to "attack" complex problems.

  32. 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…

  33. 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.

  34. 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.

  35. 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.

  36. 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…

  37. 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…

  38. 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…

  39. 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

  40. 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…

  41. iOS 14: What is new for WKWebView

    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.

  42. How to setup CloudKit subscription to get notified for changes <p>I have recently implemented with (some trial &amp; error) working <code>CKQuerySubscription</code> so my Apple TV app can get notified when content changes based on new user actions in iOS…

  43. 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.

  44. 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.

  45. 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.

  46. 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…

  47. 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.

  48. 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.

  49. 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.

  50. iOS 13: launchOptions always nil?