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
protocol UIViewLoading {} | |
extension UIView : UIViewLoading {} | |
extension UIViewLoading where Self : UIView { | |
// note that this method returns an instance of type `Self`, rather than UIView | |
static func loadFromNib() -> Self { | |
let nibName = "\(self)".characters.split{$0 == "."}.map(String.init).last! | |
let nib = UINib(nibName: nibName, bundle: nil) | |
return nib.instantiate(withOwner: self, options: nil).first as! Self |
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
protocol UIViewLoading {} | |
extension UIView : UIViewLoading {} | |
extension UIViewLoading where Self : UIView { | |
// note that this method returns an instance of type `Self`, rather than UIView | |
static func loadFromNib() -> Self { | |
let nibName = "\(self)".characters.split{$0 == "."}.map(String.init).last! | |
let nib = UINib(nibName: nibName, bundle: nil) | |
return nib.instantiate(withOwner: self, options: nil).first as! Self |
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
protocol UIViewLoading {} | |
extension UIView : UIViewLoading {} | |
extension UIViewLoading where Self : UIView { | |
// note that this method returns an instance of type `Self`, rather than UIView | |
static func loadFromNib() -> Self { | |
let nibName = "\(self)".characters.split{$0 == "."}.map(String.init).last! | |
let nib = UINib(nibName: nibName, bundle: nil) | |
return nib.instantiate(withOwner: self, options: nil).first as! Self |
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
if let reshape = self.delegate?.canReshape?() where reshape { | |
// test for delegate then for method | |
self.delegate?.reshape?() | |
} |
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
let source1 = ["priority": 8] | |
let source2 = ["priority": 2200] | |
let source3 = ["priority": 1400] | |
let source4 = ["priority": 1040] | |
let source5 = ["priority": 1040] | |
let source6 = ["priority": 1100] | |
let source7 = ["priority": 1100] | |
let source8 = ["priority": 1040] | |
let source9 = ["priority": 1080] |
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
2015-03-14 17:26:37.906 xcodebuild[7405:598514] [MT] PluginLoading: Required plug-in compatibility | |
UUID A16FF353-8441-459E-A50C-B071F53F51B7 for plug-in at path | |
'~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XVim.xcplugin' | |
not present in DVTPlugInCompatibilityUUIDs |
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
2015-03-14 17:26:37.906 xcodebuild[7405:598514] [MT] PluginLoading: Required plug-in compatibility UUID A16FF353-8441-459E-A50C-B071F53F51B7 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XVim.xcplugin' not present in DVTPlugInCompatibilityUUIDs |
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
1 | |
00:00:05,097 --> 00:00:11,346 | |
Dowództwo: „Pearl Harbour jest teraz atakowane! To jest komunikacja kryzysowa!” | |
2 | |
00:00:12,219 --> 00:00:19,219 | |
Z dowództwa: Dźwięki samolotów! To nie są ćwiczenia! | |
3 | |
00:00:20,081 --> 00:00:22,020 |
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
Depression is the most rational state of the one. And yes, that’s disturbing. | |
If you think about it, it’s true. There is no guarantee that we *don’t* live just for the fact of living. Still, there is tremendous amount of people who are „crazy” enough to think otherwise, they believe, they believe, they believe. | |
They believe that they came here for a reason - I’d say: You just enjoy some hormones | |
They believe that they are here to help people - I’d say: You just enjoy some hormones | |
They believe that they are here to create to do - I’d say: You just enjoy some hormones |
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
git lg # custom log output | |
* 4fda718 (HEAD, master, develop) Commit B | |
* 1fd3a0d Initial commit | |
git branch # we are on master | |
develop | |
* master | |
git reset --hard 1fd3a0d | |
HEAD is now at 1fd3a0d Initial commit | |
#Should't it be "HEAD is STILL pointing to the master, but MASTER is now pointing to the 1fd3a0d Initial commit ? |