for sim in (xcrun simctl list devices | grep "(Booted)" | grep -E -o -i "([0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12})")
xcrun simctl <command> $sim
end
This file contains 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
public struct CodableColor: Codable { | |
public var red: CGFloat = 0 | |
public var green: CGFloat = 0 | |
public var blue: CGFloat = 0 | |
public var alpha: CGFloat = 1.0 | |
public var colorSpace: String | |
init(cgColor color: CGColor) { | |
let comps = color.components! | |
red = comps[0] |
This file contains 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
extension UINavigationController { | |
open override var childViewControllerForStatusBarStyle: UIViewController? { | |
return topViewController | |
} | |
} |
I hereby claim:
- I am florianbuerger on github.
- I am florianbuerger (https://keybase.io/florianbuerger) on keybase.
- I have a public key whose fingerprint is ED37 A9C3 8BB8 9E5E 85C8 5262 B25A 831B 48E6 3F10
To claim this, I am signing this object:
This file contains 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
# Your init script | |
# | |
# Atom will evaluate this file each time a new window is opened. It is run | |
# after packages are loaded/activated and after the previous editor state | |
# has been restored. | |
# | |
# An example hack to log to the console when each text editor is saved. | |
# | |
# atom.workspace.observeTextEditors (editor) -> | |
# editor.onDidSave -> |
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<Bucket | |
type = "4" | |
version = "2.0"> | |
<Breakpoints> | |
<BreakpointProxy | |
BreakpointExtensionID = "Xcode.Breakpoint.SymbolicBreakpoint"> | |
<BreakpointContent | |
shouldBeEnabled = "Yes" | |
ignoreCount = "0" |
This file contains 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
let footer = TableFooterView(frame: CGRectZero) | |
footer.addButtonWithTitle("Red", backgroundColor: UIColor.redColor(), target: self, action: "redWasPressed:" as Selector) | |
footer.addButtonWithTitle("Green", backgroundColor: UIColor.greenColor(), target: self, action: "greenWasPressed:" as Selector) | |
footer.addButtonWithTitle("Blue", backgroundColor: UIColor.blueColor(), target: self, action: "blueWasPressed:" as Selector) | |
footer.updateConstraintsIfNeeded() | |
footer.layoutIfNeeded() | |
footer.frame = CGRectMake(0, 0, footer.intrinsicContentSize().width, footer.intrinsicContentSize().height) | |
tableView.tableFooterView = footer |
This file contains 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
curl https://developer.apple.com/videos/wwdc/2014/ | grep -iIoh 'http.*._hd_.*dl=1">HD' | sed -e 's/\?dl=1">HD//g' | xargs -n1 wget -N |
What does usability even mean? It must work effective, efficient and satisfying.
What is the use if the Application can do many things but nobody understands how results are achieved? The Application should do only one thing tailored to the specific need. Communication between Software and humans should be as simple as possible.
I hereby claim:
- I am florianbuerger on github.
- I am florianbuerger (https://keybase.io/florianbuerger) on keybase.
- I have a public key whose fingerprint is 4F01 6BF0 6AC0 F8FD 9032 1977 DC35 8BF4 0174 A21A
To claim this, I am signing this object:
NewerOlder