{"action":"created","issue":{"url":"https://api.github.com/repos/ibireme/YYKit/issues/474","repository_url":"https://api.github.com/repos/ibireme/YYKit","labels_url":"https://api.github.com/repos/ibireme/YYKit/issues/474/labels{/name}","comments_url":"https://api.github.com/repos/ibireme/YYKit/issues/474/comments","events_url":"https://api.github.com/repos/ibireme/YYKit/issues/474/events","html_url":"https://github.com/ibireme/YYKit/issues/474","id":325960163,"node_id":"MDU6SXNzdWUzMjU5NjAxNjM=","number":474,"title":"YYLabel 删除线不显示","user":{"login":"yandjc","id":15624759,"node_id":"MDQ6VXNlcjE1NjI0NzU5","avatar_url":"https://avatars2.githubusercontent.com/u/15624759?v=4","gravatar_id":"","url":"https://api.github.com/users/yandjc","html_url":"https://github.com/yandjc","followers_url":"https://api.github.com/users/yandjc/followers","following_url":"https://api.github.com/users/yandjc/following{/other_user}","gists_url":"https://api.github.com/users/yandjc/gists{/gist_id}","starred_url":"https://api.github.com/users/yandjc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yandjc/subscriptions","organizations_url":"https://api.github.com/users/yandjc/orgs","repos_url":"https://api.github.com/users/yandjc/repos","events_url":"https://api.github.com/users/yandjc/events{/privacy}","received_events_url":"https://api.github.com/users/yandjc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-05-24T04:29:57Z","updated_at":"2018-06-27T09:33:56Z","closed_at":null,"author_association":"NONE","body":"   \r\n    这样设置删除线的方法，始终不显示。UILabel尝试这个可以。 YYLabel 正确添加删除线的姿势是什么 ？ \r\n    NSMutableAttributedString *text = [[NSMutableAttributedString alloc] initWithString:title];\r\n    text.strikethroughStyle = NSUnderlineStyleSingle;\r\n    text.strikethroughColor = [UIColor redColor];\r\n    text.baselineOffset = [NSNumber numberWithInt:1];\r\n"},"comment":{"url":"https://api.github.com/repos/ibireme/YYKit/issues/comments/400607940","html_url":"https://github.com/ibireme/YYKit/issues/474#issuecomment-400607940","issue_url":"https://api.github.com/repos/ibireme/YYKit/issues/474","id":400607940,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMDYwNzk0MA==","user":{"login":"yandjc","id":15624759,"node_id":"MDQ6VXNlcjE1NjI0NzU5","avatar_url":"https://avatars2.githubusercontent.com/u/15624759?v=4","gravatar_id":"","url":"https://api.github.com/users/yandjc","html_url":"https://github.com/yandjc","followers_url":"https://api.github.com/users/yandjc/followers","following_url":"https://api.github.com/users/yandjc/following{/other_user}","gists_url":"https://api.github.com/users/yandjc/gists{/gist_id}","starred_url":"https://api.github.com/users/yandjc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yandjc/subscriptions","organizations_url":"https://api.github.com/users/yandjc/orgs","repos_url":"https://api.github.com/users/yandjc/repos","events_url":"https://api.github.com/users/yandjc/events{/privacy}","received_events_url":"https://api.github.com/users/yandjc/received_events","type":"User","site_admin":false},"created_at":"2018-06-27T09:33:56Z","updated_at":"2018-06-27T09:33:56Z","author_association":"NONE","body":"多谢大神指点！发自我的iPhone------------------ 原始邮件 ------------------发件人: Qiun Cheng  <notifications@github.com>发送时间: 2018年6月20日 18:28收件人: ibireme/YYKit <YYKit@noreply.github.com>抄送: yandjc <yandjc@163.com>, Mention <mention@noreply.github.com>主题: 回复：[ibireme/YYKit] YYLabel 删除线不显示 (#474)@yandjc 作者在  YYText 中说了。不支持这种方式。\n\n可以如下代码实现\ntext.textStrikethrough = [YYTextDecoration decorationWithStyle:YYTextLineStyleSingle];\n\n—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or mute the thread.\n{\"@context\":\"http://schema.org\",\"@type\":\"EmailMessage\",\"potentialAction\":{\"@type\":\"ViewAction\",\"target\":\"https://github.com/ibireme/YYKit/issues/474#issuecomment-398702214\",\"url\":\"https://github.com/ibireme/YYKit/issues/474#issuecomment-398702214\",\"name\":\"View Issue\"},\"description\":\"View this Issue on GitHub\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"GitHub\",\"url\":\"https://github.com\"}}\n{\"api_version\":\"1.0\",\"publisher\":{\"api_key\":\"05dde50f1d1a384dd78767c55493e4bb\",\"name\":\"GitHub\"},\"entity\":{\"external_key\":\"github/ibireme/YYKit\",\"title\":\"ibireme/YYKit\",\"subtitle\":\"GitHub repository\",\"main_image_url\":\"https://assets-cdn.github.com/images/email/message_cards/header.png\",\"avatar_image_url\":\"https://assets-cdn.github.com/images/email/message_cards/avatar.png\",\"action\":{\"name\":\"Open in GitHub\",\"url\":\"https://github.com/ibireme/YYKit\"}},\"updates\":{\"snippets\":[{\"icon\":\"PERSON\",\"message\":\"@qiuncheng in #474: @yandjc 作者在  [YYText](https://github.com/ibireme/YYText#%E5%B7%B2%E7%9F%A5%E9%97%AE%E9%A2%98) 中说了。不支持这种方式。\\r\\n![image](https://user-images.githubusercontent.com/9990834/41653000-5df38a86-74b7-11e8-916a-7fd7c69575ef.png)\\r\\n\\r\\n可以如下代码实现\\r\\n```objective-c\\r\\ntext.textStrikethrough = [YYTextDecoration decorationWithStyle:YYTextLineStyleSingle];\\r\\n```\\r\\n\"}],\"action\":{\"name\":\"View Issue\",\"url\":\"https://github.com/ibireme/YYKit/issues/474#issuecomment-398702214\"}}}\n{\n\"@type\": \"MessageCard\",\n\"@context\": \"http://schema.org/extensions\",\n\"hideOriginalBody\": \"false\",\n\"originator\": \"AF6C5A86-E920-430C-9C59-A73278B5EFEB\",\n\"title\": \"Re: [ibireme/YYKit] YYLabel 删除线不显示 (#474)\",\n\"sections\": [\n{\n\"text\": \"\",\n\"activityTitle\": \"**Qiun Cheng**\",\n\"activityImage\": \"https://assets-cdn.github.com/images/email/message_cards/avatar.png\",\n\"activitySubtitle\": \"@qiuncheng\",\n\"facts\": [\n\n]\n}\n],\n\"potentialAction\": [\n{\n\"name\": \"Add a comment\",\n\"@type\": \"ActionCard\",\n\"inputs\": [\n{\n\"isMultiLine\": true,\n\"@type\": \"TextInput\",\n\"id\": \"IssueComment\",\n\"isRequired\": false\n}\n],\n\"actions\": [\n{\n\"name\": \"Comment\",\n\"@type\": \"HttpPOST\",\n\"target\": \"https://api.github.com\",\n\"body\": \"{\\n\\\"commandName\\\": \\\"IssueComment\\\",\\n\\\"repositoryFullName\\\": \\\"ibireme/YYKit\\\",\\n\\\"issueId\\\": 474,\\n\\\"IssueComment\\\": \\\"{{IssueComment.value}}\\\"\\n}\"\n}\n]\n},\n{\n\"name\": \"Close issue\",\n\"@type\": \"HttpPOST\",\n\"target\": \"https://api.github.com\",\n\"body\": \"{\\n\\\"commandName\\\": \\\"IssueClose\\\",\\n\\\"repositoryFullName\\\": \\\"ibireme/YYKit\\\",\\n\\\"issueId\\\": 474\\n}\"\n},\n{\n\"targets\": [\n{\n\"os\": \"default\",\n\"uri\": \"https://github.com/ibireme/YYKit/issues/474#issuecomment-398702214\"\n}\n],\n\"@type\": \"OpenUri\",\n\"name\": \"View on GitHub\"\n},\n{\n\"name\": \"Unsubscribe\",\n\"@type\": \"HttpPOST\",\n\"target\": \"https://api.github.com\",\n\"body\": \"{\\n\\\"commandName\\\": \\\"MuteNotification\\\",\\n\\\"threadId\\\": 338571482\\n}\"\n}\n],\n\"themeColor\": \"26292E\"\n}"}}
{"actor":{"display_login":"yandjc"}}