Hello
``` World ```[Google][google]
[This is also Google][google]
[Google][google]
[This is also Google][google]
| let editOptions = PHContentEditingInputRequestOptions() | |
| editOptions.isNetworkAccessAllowed = true | |
| asset.requestContentEditingInput(with: editOptions) { (contentEditingInput: PHContentEditingInput?, info: [AnyHashable : Any]) in | |
| if let fileURL = contentEditingInput?.fullSizeImageURL { | |
| let image = CIImage(contentsOf: fileURL) | |
| log.debug("properties=\(image?.properties)") | |
| if let gps = image?.properties["{GPS}"] as? [AnyHashable : Any] { |
| ⌥V -> ⇧^V | |
| ⇧⌥, -> ⇧^, | |
| ⇧⌥. -> ⇧^. |
| let string: NSString = place as NSString | |
| let attributes: [String: AnyObject] = [NSFontAttributeName: UIFont(name: "HiraKakuProN-W6", size: 10.0)!] | |
| let labelHeight: CGFloat = 14.0 | |
| let size: CGSize = string.boundingRect( | |
| with: CGSize(width: CGFloat.greatestFiniteMagnitude, height: labelHeight), | |
| options: .usesLineFragmentOrigin, | |
| attributes: attributes, | |
| context: nil).size |
| let view = Bundle.main.loadNibNamed("PreviewHeaderView", owner: self, options: nil)![0] |
| [ | |
| { | |
| "keys": ["ctrl+i"], | |
| "command": "reindent", | |
| "args": { | |
| "single_line": true | |
| } | |
| }, | |
| { |
| #import "ModuleName-Swift.h" |