Update: There is a more secure version available. Details
<?php
$plaintext = 'My secret message 1234';
// Documentation comments are copied from the official documentation for iOS. | |
import SwiftUI | |
#if os(macOS) | |
/// Reimplemenation of [EditMode](https://developer.apple.com/documentation/swiftui/editmode) for macOS. | |
public enum EditMode { | |
/// The user can edit the view content. |
import SwiftUI | |
extension Calendar { | |
func generateDates( | |
inside interval: DateInterval, | |
matching components: DateComponents | |
) -> [Date] { | |
var dates: [Date] = [] | |
dates.append(interval.start) |
//: [Previous](@previous) | |
import SwiftUI | |
import Combine | |
import PlaygroundSupport | |
class Context: ObservableObject { | |
@Published var selectedItems: Set<String> | |
@Published var items: Array<String> | |
Update: There is a more secure version available. Details
<?php
$plaintext = 'My secret message 1234';
let styles: [UIFont.TextStyle] = [ | |
// iOS 17 | |
.extraLargeTitle, .extraLargeTitle2, | |
// iOS 11 | |
.largeTitle, | |
// iOS 9 | |
.title1, .title2, .title3, .callout, | |
// iOS 7 | |
.headline, .subheadline, .body, .footnote, .caption1, .caption2, | |
] |
git diff -p \ | |
| grep -E '^(diff|old mode|new mode)' \ | |
| sed -e 's/^old/NEW/;s/^new/old/;s/^NEW/new/' \ | |
| git apply |