Issue #571
From CGFloat.pi / 2 to -CGFloat.pi / 2 + epsilon
CGFloat.pi / 2
-CGFloat.pi / 2 + epsilon
I’m open source contributor, writer, speaker and product maker.
Issue #991
When building apps in SwiftUI or React, we often need to store values that change — like a counter, user input, or a list of items.
To do this:
useState
@State
@StateObject
But here’s something cool: …
Issue #990
In many popular apps like LinkedIn, Reddit, we can tap again on a bar bar item to scroll to top. Although this behavior is not built in by iOS, we can implement that very easily.
The idea is to keep track of previous selection so we can …
previous selection
Issue #983
In iOS 18, we can make Control Widget in Widget extension
import WidgetKit import SwiftUI @available(iOS 18.0, *) struct BookControlWidget: ControlWidget { var body: some ControlWidgetConfiguration { StaticControlConfiguration …
Issue #973
Before iOS 11, we used to use CIDetector and CIDetectorTypeQRCode to detect QR code
CIDetector
CIDetectorTypeQRCode
An image processor that identifies notable features, such as faces and barcodes, in a still image or video.
A detector …
Start the conversation