- Visit fmhy.net/android-iosguide#ios-ipas for more sources.
- Sideloading Guide: https://rentry.co/sideloadingguide
This file contains hidden or 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 SwiftUI | |
| struct ContentView: View { | |
| @StateObject private var viewModel = RectsViewModel() | |
| var body: some View { | |
| GeometryReader { geometry in | |
| TimelineView(.animation) { timeline in | |
| Canvas {context, size in | |
| let rects = viewModel.rects |
This file contains hidden or 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
| struct ContentView: View { | |
| var body: some View { | |
| let names = [ | |
| ["appstore.app.dashed", "buildings.3d", "emoji.chicken.face"], | |
| ["person.text.rectangle.and.nfc", "secure.element", "laugh.bubble.tapback.2.he"], | |
| ["apple.news", "apple.podcasts.square.stack", "apple.slice"], | |
| ] | |
| VStack(spacing: 20) { | |
| Grid(horizontalSpacing: 20, verticalSpacing: 20) { | |
| ForEach(names, id: \.self) { nameRow in |
This file contains hidden or 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 SwiftUI | |
| let symbols = [ | |
| "pencil", | |
| "trash", | |
| "folder", | |
| "camera", | |
| "photo", | |
| "clock", | |
| "arrow.right.circle.fill", |
This file contains hidden or 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
| // 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. |
This file contains hidden or 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 SwiftUI | |
| extension Calendar { | |
| func generateDates( | |
| inside interval: DateInterval, | |
| matching components: DateComponents | |
| ) -> [Date] { | |
| var dates: [Date] = [] | |
| dates.append(interval.start) |
This file contains hidden or 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
| //: [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';NewerOlder