This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// The SwiftUI Lab | |
// Website: https://swiftui-lab.com | |
// Article: https://swiftui-lab.com/alignment-guides | |
import SwiftUI | |
import Observation | |
extension EnvironmentValues { | |
@Entry var alignmentModel: Model = Model() | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Source: https://coderwall.com/p/t_sz3q/generate-uuid-at-shell-prompt | |
# alias uuid="python -c 'import sys,uuid; sys.stdout.write(str(uuid.uuid4()))' | pbcopy && pbpaste && echo" | |
alias uuid="uuidgen | tr -d '\n' | tr '[:upper:]' '[:lower:]' | pbcopy && pbpaste && echo" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<key>User Defined</key> | |
<dict> | |
<key>Insert New Line Above Current Line</key> | |
<string>moveUp:, moveToEndOfParagraph:, insertParagraphSeparator:</string> | |
<key>Insert New Line Below Currnt Line</key> | |
<string>moveToEndOfParagraph:, insertParagraphSeparator:</string> | |
<key>Duplicate Current Line Down</key> | |
<string>selectParagraph:, delete:, yank:, moveToBeginningOfParagraph:, yank:, moveUp:, moveToEndOfParagraph:</string> | |
</dict> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import CoreData | |
@objc(_PersistentStoreDescription) private protocol AnyPersistentStoreDescription: NSObjectProtocol, NSCopying { | |
var type: String { get set } | |
var configuration: String? { get set } | |
@objc(URL) var url: URL? { get set } | |
var options: [String : NSObject] { get } | |
func setOption(_ option: NSObject?, forKey key: String) |