Use _NS_4445425547 or NS🐞 for enables debuggging panel. When enabled it, a ladybug 🐞 menu appears in the app menu bar.
“4445425547” means DEBUG in Unicode table.
0x44=D
0x45=E
0x42=B
0x55=U
0x47=G
| import SwiftUI | |
| extension View { | |
| /// Proposes a percentage of its received proposed size to `self`. | |
| /// | |
| /// This modifier multiplies the proposed size it receives from its parent | |
| /// with the given factors for width and height. | |
| /// | |
| /// If the parent proposes `nil` or `.infinity` to us in any dimension, | |
| /// we’ll forward these values to our child view unchanged. | 
| #!/bin/bash | |
| ####################################################################### | |
| # Generates documentation for a target, for example a Swift package, | |
| # that supports both iOS and macOS. | |
| # | |
| # The script is designed to be placed in the root of a Swift package. | |
| # Change the paths as needed if your project structure is different. | |
| # | |
| # In order for DocC to annotate all symbols with the platforms | 
| // Copyright 2021 Kyle Hughes | |
| // | |
| // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated | |
| // documentation files (the "Software"), to deal in the Software without restriction, including without limitation the | |
| // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to | |
| // permit persons to whom the Software is furnished to do so, subject to the following conditions: | |
| // | |
| // The above copyright notice and this permission notice shall be included in all copies or substantial portions of the | |
| // Software. | |
| // | 
| import UIKit | |
| extension UIDevice { | |
| /* | |
| List can be updated here: | |
| https://gist.github.com/adamawolf/3048717 | |
| */ | |
| internal static var models: String = """ | 
| class FirebaseCoordinator { | |
| static let shared = FirebaseCoordinator() | |
| static let initialize: Void = { | |
| /// We modify Google Firebase (and eventually Analytics) to load the mac-specific plist at runtime. | |
| /// Google enforces that we have a file named "GoogleService-Info.plist" in the app resources. | |
| /// This is unfortunate since we need two different files based on iOS and Mac version | |
| /// One solution is a custom build step that copies in the correct file: | |
| /// https://stackoverflow.com/questions/37615405/use-different-googleservice-info-plist-for-different-build-schemes | |
| /// However, this is basically impossible since Catalyst doesn't set any custom build variables, so detection is extremely difficult. | |
| /// We swizzle to modify the loading times. | 
| // The SwiftUI Lab | |
| // Website: https://swiftui-lab.com | |
| // Article: https://swiftui-lab.com/alignment-guides | |
| import SwiftUI | |
| class Model: ObservableObject { | |
| @Published var minimumContainer = true | |
| @Published var extendedTouchBar = false | |
| @Published var twoPhases = true | 
| // | |
| // UIView+Tooltips.h | |
| // Crossword | |
| // | |
| // Created by Steven Troughton-Smith on 13/09/2019. | |
| // Copyright © 2019 Steven Troughton-Smith. All rights reserved. | |
| // | |
| #import <UIKit/UIKit.h> | 
| #!/bin/bash | |
| set -e | |
| CONTENTS=$(tesseract -c language_model_penalty_non_dict_word=0.8 --tessdata-dir /usr/local/share/tessdata/ "$1" stdout -l eng | xml esc) | |
| hex=$((cat <<EOF | |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | 
| // UICollectionView Objective-C example | |
| - (void)viewWillAppear:(BOOL)animated { | |
| [super viewWillAppear:animated]; | |
| NSIndexPath *selectedIndexPath = [[self.collectionView indexPathsForSelectedItems] firstObject]; | |
| if (selectedIndexPath != nil) { | |
| id<UIViewControllerTransitionCoordinator> coordinator = self.transitionCoordinator; | |
| if (coordinator != nil) { | |
| [coordinator animateAlongsideTransition:^(id<UIViewControllerTransitionCoordinatorContext> context) { |