[SC]()

iOS. Apple. Indies. Plus Things.

> Snips|

Short, complete solutions to common iOS problems.

  • Set a Preview Shape for Views Presenting Context Menus

    SwiftUI

    When presenting a context menu, customize the shape of the view presenting it.

  • Create an Interactive Widget Using App Intents

    WidgetKit

    Make a widget that's interactive.

  • Create a Basic Shortcut using App Intents

    App Intents

    Make a shortcut that repeats a phrase with App Intents.

  • Basic Keyboard Navigation for Collection & Tableview.

    UIKit

    Use the focus system with hardware keyboards.

  • Use Swift Concurrency with Completion Handlers

    Swift Concurrency

    Convert a function using a completion handler to use Swift Concurrency.

  • UICollectionView with UIContentConfiguration for Cells, Compositional List Layout and Diffable Datasource.

    UIKit

    Create a UICollectionView with the new modern APIs.

  • Create Dividers in UIMenu using UIKit

    UIKit

    Add a divider in UIKit Context Menus.

  • Using UIDragPreview to Customize Drag Items

    UIKit

    Leverage UIDragPreviewParameters with UIDragPreview to change how dragged items appear.

  • Drag to Reorder in UITableView with Diffable Datasource

    UIKit

    Support drag to reorder in a UITableView using a diffable datasource.

  • Collapsible UICollectionView Sections

    UIKit

    Create a basic UICollectionView with a collapsing section.

  • Adding Keyboard Shortcuts

    UIKit

    Add some keyboard shortcuts.

  • Respond to Keyboard Presses

    UIKit

    Respond to keyboard presses.

  • Creating a Siri Shortcut

    SiriKit

    Create a basic shortcut that will show in the Shortcuts app.

  • Spotlight Search using NSUserActivity

    Foundation

    Expose data from Spotlight search using NSUserActivity.

  • Spotlight search using Core Spotlight

    Core Spotlight

    Expose data from Spotlight search using the Core Spotlight framework.

  • Diffable Datasource with UITableView

    UIKit

    Setup diffable datasource with UITableView.