blob: 3cddc95fe807aa4dee20f3af501d18c7cc5f77fc [file] [log] [blame]
{
"name": "MaterialCardView",
"version": "0.0.2",
"summary": "Create material design cards quick and easy.",
"description": " Create a `MaterialCardView`\n\n ``` swift\n let c = MaterialCardView (\n x: 10,\n y: StatusBarHeight + 10,\n w: ScreenWidth-20)\n view.addSubview (c)\n ```\n\n And start to add `MaterialCardCell`s\n\n * Header Cell\n\n ``` swift\n func addHeader (title: String)\n func addHeader (view: UIView)\n ```\n\n * Cell\n\n ``` swift\n addCell (text: String, action: (()->Void)? = nil)\n addCell (view: UIView, action: (()->Void)? = nil)\n addCell (cell: MaterialCardCell)\n ```\n\n * FooterCell\n\n ``` swift\n func addFooter (title: String)\n func addFooter (view: UIView)\n ```\n\n\n >Material Card will update its frame size when you add or\n >remove `MaterialCardCell`s.\n >This is why you don't set its `height` value when initilize it.\n\n",
"homepage": "https://github.com/cemolcay/MaterialCardView",
"license": "MIT",
"authors": {
"Cem Olcay": "ccemolcay@gmail.com"
},
"platforms": {
"ios": "8.0"
},
"source": {
"git": "https://github.com/cemolcay/MaterialCardView.git",
"tag": "v0.0.2"
},
"source_files": [
"MaterialCardView/MaterialCardView.swift",
"MaterialCardView/CEMKit.swift"
],
"requires_arc": true
}