Last active
August 29, 2015 14:11
-
-
Save akisute/e07d4bf3e942b984933d to your computer and use it in GitHub Desktop.
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
if let value: NSString = self.filterSender { // Casted to NSString | |
let sender = value.cStringUsingEncoding(NSUTF8StringEncoding) // NSString.cStringUsingEncoding() | |
asl_set_query(query, ASL_KEY_SENDER, sender, UInt32(ASL_QUERY_OP_EQUAL | ASL_QUERY_OP_SUBSTRING)) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment