| { |
| "name": "AttributedStyle", |
| "version": "0.1.0", |
| "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```\nlet attributedStyle = AttributedStyle().font(UIFont.systemFontOfSize(21, weight: UIFontWeightLight))\nlet parapraphStyle = ParagraphStyle().lineBreakMode(.ByTruncatingMiddle)\nlet attributes = attributedStyle.paragraphStyle(parapraphStyle.style).foregroundColor(.grayColor()).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.systemFontOfSize(21, weight: UIFontWeightLight)).foregroundColor(UIColor.darkGrayColor()).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": "0.1.0" |
| }, |
| "platforms": { |
| "ios": "8.0" |
| }, |
| "source_files": "AttributedStyle/Classes/**/*", |
| "deprecated": true |
| } |