| { |
| "name": "AttributedStyle", |
| "version": "1.0.2", |
| "summary": "Swifty adaptation of NSAttributedStyle and NSParagraphStyle", |
| "description": "# AttributedStyle\nSwifty adaptation of NSAttributedStyle and NSParagraphStyle\n\n- easy setup and reusing\n- almost each attribute as function\n- compact view\n\n```swift\nlet attributedStyle = AttributedStyle().font(UIFont.systemFont(ofSize: 21, weight: UIFontWeightLight))\nlet parapraphStyle = ParagraphStyle().lineBreakMode(.byTruncatingMiddle)\nlet attributes = attributedStyle.paragraphStyle(parapraphStyle.style).foregroundColor(.gray).attributes\n\nlet label = UILabel()\nlabel.attributedText = NSAttributedString(string: \"Attribute it!\", attributes: attributes)\n// or\nlabel.attributedText = NSAttributedString(string: \"Attribute it!\", attributes: AttributedStyle().font(UIFont.systemFont(ofSize: 21, weight: UIFontWeightLight)).foregroundColor(UIColor.darkGray).paragraphStyle(ParagraphStyle().alignment(.center).style).attributes)\n```", |
| "homepage": "https://github.com/dimpiax/AttributedStyle", |
| "license": { |
| "type": "MIT", |
| "file": "LICENSE" |
| }, |
| "authors": { |
| "Pilipenko Dima": "dimpiax@gmail.com" |
| }, |
| "source": { |
| "git": "https://github.com/dimpiax/AttributedStyle.git", |
| "tag": "1.0.2" |
| }, |
| "platforms": { |
| "ios": "8.0" |
| }, |
| "source_files": "AttributedStyle/Classes/**/*", |
| "pushed_with_swift_version": "3.0", |
| "deprecated": true |
| } |