Understand your Mac and iPhone more deeply by tracing the evolution of Mac OS X from prelease to Swift. John Siracusa delivers the details.
You've got two main options:
#!/usr/bin/env bash | |
# TODO: Need to figure out the settings for the following: | |
# 1) Dock: Items with order (not capturing binary data - since that is dependent on installed apps) | |
# 2) Security & Privacy Preferences: Full Disk Access, Camera, Microphone | |
# 3) Login items for my user (i.e. apps started when I login) | |
# 4) Retina displays scaling | |
# 5) Finder sidebar with order | |
## |
@implementation UILabel (SwizzlingExamples) | |
+ (void)load | |
{ | |
SwizzleSelectorWithBlock_Begin(self, @selector(initWithFrame:)) | |
^(UILabel *self, CGRect frame) { | |
if ((self = ((id (*)(id, SEL, CGRect))_imp)(self, _cmd, frame))) { | |
// ... | |
} | |
return self; |