Commit 65287448 by Daniel Dahan

development: updated README for potential release

parent 84d242e3
......@@ -110,7 +110,6 @@
TargetAttributes = {
96784F6F1D901FB90061C06C = {
CreatedOnToolsVersion = 8.0;
DevelopmentTeam = 9Z76XCNLGL;
ProvisioningStyle = Automatic;
};
};
......@@ -267,7 +266,7 @@
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
DEVELOPMENT_TEAM = 9Z76XCNLGL;
DEVELOPMENT_TEAM = "";
INFOPLIST_FILE = CaptureController/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = io.cosmicmind.CaptureController;
......@@ -280,7 +279,7 @@
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
DEVELOPMENT_TEAM = 9Z76XCNLGL;
DEVELOPMENT_TEAM = "";
INFOPLIST_FILE = CaptureController/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = io.cosmicmind.CaptureController;
......
{
"images" : [
{
"idiom" : "universal",
"filename" : "pattern.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
\ No newline at end of file
......@@ -46,7 +46,6 @@ class ViewController: UIViewController {
/// Toolbar views.
private var toolbar: Toolbar!
private var moreButton: IconButton!
private var authorView: UIImageView!
override func viewDidLoad() {
super.viewDidLoad()
......@@ -56,7 +55,6 @@ class ViewController: UIViewController {
prepareDateLabel()
prepareFavoriteButton()
prepareMoreButton()
prepareAuthorView()
prepareToolbar()
prepareContentView()
prepareBottomBar()
......@@ -84,14 +82,8 @@ class ViewController: UIViewController {
moreButton = IconButton(image: Icon.cm.moreVertical, tintColor: Color.blueGrey.base)
}
private func prepareAuthorView() {
authorView = UIImageView()
authorView.image = UIImage(named: "pattern")?.resize(toWidth: 24)
authorView.contentMode = .scaleAspectFit
}
private func prepareToolbar() {
toolbar = Toolbar(leftViews: [authorView], rightViews: [moreButton])
toolbar = Toolbar(rightViews: [moreButton])
toolbar.title = "Material"
toolbar.titleLabel.textAlignment = .left
......@@ -119,7 +111,9 @@ class ViewController: UIViewController {
card = Card()
card.toolbar = toolbar
card.toolbarEdgeInsetsPreset = .wideRectangle2
card.toolbarEdgeInsetsPreset = .square3
card.toolbarEdgeInsets.bottom = 0
card.toolbarEdgeInsets.right = 8
card.contentView = contentView
card.contentViewEdgeInsetsPreset = .wideRectangle3
......
![Material](http://www.cosmicmind.io/MK/Material.png)
![Material](http://www.cosmicmind.io/material/github/material-logo.png)
## Welcome to Material
......@@ -122,7 +122,7 @@ A switch is a control component that toggles between on and off states.
A Card is a flexible component that may be configured in any way you like. It has a Toolbar, Bar, and content area that may utilize any UIView type.
![Material Image](http://www.cosmicmind.io/material/white/card.gif)
![Material Image](http://www.cosmicmind.io/gifs/grey/card.gif)
* Download the complete [Card example](https://github.com/CosmicMind/Material/tree/master/Examples/Programmatic/Card).
* Learn more about [Card](http://cosmicmind.io/material/card).
......@@ -143,7 +143,7 @@ An ImageCard is an expansion of the base Card. The Toolbar overlays an image are
The PresenterCard is a completely new card style. It allows for a primary presentation area that may be any UIView type in addition to the content area, Toolbar, and Bar components. The options for this card are endless.
![Material Image](http://www.cosmicmind.io/material/white/presenter-card.gif)
![Material Image](http://www.cosmicmind.io/gifs/white/presenter-card.gif)
* Download the complete [PresenterCard example](https://github.com/CosmicMind/Material/tree/master/Examples/Programmatic/PresenterCard).
* Learn more about [PresenterCard](http://cosmicmind.io/material/presentercard).
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment