blog icon indicating copy to clipboard operation
blog copied to clipboard

🍁 What you don't know is what you haven't learned

Results 195 blog issues
Sort by recently updated
recently updated
newest added

Show `ASAuthorizationController` with a simple nonce. Once we have the `idToken`, create an `OAuthProvider.appleCredential` and pass to `Firebase Auth` ```swift final class AppleLoginService: NSObject { static let shared = AppleLoginService()...

swift

Original answer https://stackoverflow.com/a/54793979/1418457 --- In your NSCollectionViewItem subclass, override isSelected and change background color of the layer. Test in macOS 10.14 and Swift 4.2 ```swift class Cell: NSCollectionViewItem { override...

swift
macOS

When developing locally, especially when interacting with third-party services that have CORS restrictions, serving your development environment over a custom domain with HTTPS can be crucial. Let’s walk through the...

javascript
web

When building a React application, separating the logic and state management from the UI can make your code easier to manage, test, and reuse. This is where the view model...

react

In lowdb 7, we can use `MemorySync` https://github.com/typicode/lowdb/blob/main/src/examples/in-memory.ts ```ts import { LowSync, MemorySync, SyncAdapter } from '../index.js' import { JSONFileSync } from '../node.js' declare global { // eslint-disable-next-line @typescript-eslint/no-namespace namespace...

javascript