Note
to active Office without crack, just follow https://github.com/WindowsAddict/IDM-Activation-Script,
you wiil only need to run
irm https://massgrave.dev/ias | iex
// | |
// main.m | |
// EndpointSecurityDemo | |
// | |
// Created by Omar Ikram on 17/06/2019 - macOS Catalina 10.15 Beta 1 (19A471t) | |
// Updated by Omar Ikram on 15/08/2019 - macOS Catalina 10.15 Beta 5 (19A526h) | |
// Updated by Omar Ikram on 01/12/2019 - macOS Catalina 10.15 (19A583) | |
// Updated by Omar Ikram on 31/01/2021 - macOS Big Sur 11.1 (20C69) | |
// Updated by Omar Ikram on 07/05/2021 - macOS Big Sur 11.3.1 (20E241) | |
// Updated by Omar Ikram on 04/07/2021 - macOS Monterey 12 Beta 2 (21A5268h) |
Note
to active Office without crack, just follow https://github.com/WindowsAddict/IDM-Activation-Script,
you wiil only need to run
irm https://massgrave.dev/ias | iex
//: Playground - noun: a place where people can play | |
/// A protocol to provide an abstraction of types that hold a weak reference to a target object. | |
/// | |
/// It is defined because a single generic implementation cannot support existentials, as they | |
/// do not conform to themselves or `AnyObject`. Most of its API is defined by protocol extensions | |
/// to makes it easier to create existential wrapper `struct`s or `final class`es. | |
/// | |
/// Here is an example protocol and the corresponding weak reference |
class ImagePicker: UIViewController, UINavigationControllerDelegate { | |
@IBOutlet var pictureView: UIImageView! | |
func tapAddPicture(_ sender: Any) { | |
let imagePickerController = UIImagePickerController() | |
imagePickerController.delegate = self | |
imagePickerController.mediaTypes = ["public.image", "public.movie"] | |
let actionSheet = UIAlertController(title: nil, message: nil, preferredStyle: .actionSheet) | |
actionSheet.addAction(UIAlertAction(title: "Take Photo", style: .default, handler: { (action:UIAlertAction) in |
// | |
// BlockBasedSelector.h | |
// | |
// Created by Charlton Provatas on 11/2/17. | |
// Copyright © 2017 CharltonProvatas. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> | |
@interface BlockBasedSelector : NSObject |
import RealmSwift | |
import Realm | |
protocol CascadeDeleting: class { | |
func delete<Entity>(_ list: List<Entity>, cascading: Bool) | |
func delete<Entity>(_ results: Results<Entity>, cascading: Bool) | |
func delete<Entity: Object>(_ entity: Entity, cascading: Bool) | |
} |
enum JSON: Decodable { | |
case bool(Bool) | |
case double(Double) | |
case string(String) | |
indirect case array([JSON]) | |
indirect case dictionary([String: JSON]) | |
init(from decoder: Decoder) throws { | |
if let container = try? decoder.container(keyedBy: JSONCodingKeys.self) { | |
self = JSON(from: container) |
import Foundation | |
public typealias ServiceFactoryClosure<Service> = () -> Service | |
public protocol ServiceLocatorModule { | |
func registerServices(_ serviceLocator: ServiceLocator) | |
} | |
public class ServiceLocator { |
How to make an application icon for macOS using
iconset
&iconutil