2 "name": "AttributedStyle",
4 "summary": "Swifty adaptation of NSAttributedStyle and NSParagraphStyle",
5 "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```",
6 "homepage": "https://github.com/dimpiax/AttributedStyle",
12 "Pilipenko Dima": "dimpiax@gmail.com"
15 "git": "https://github.com/dimpiax/AttributedStyle.git",
21 "source_files": "AttributedStyle/Classes/**/*",