Commit cc1668fc by Daniel Dahan

updated Examples to be Universal, as well as, added CaptureView example for development

parent b88f05f3
......@@ -65,9 +65,9 @@
</Group>
<Group
location = "container:"
name = "Capture">
name = "CaptureView">
<FileRef
location = "group:Programmatic/Capture/Capture.xcodeproj">
location = "group:Programmatic/CaptureView/CaptureView.xcodeproj">
</FileRef>
</Group>
<Group
......
......@@ -2,6 +2,6 @@
<Workspace
version = "1.0">
<FileRef
location = "self:Capture.xcodeproj">
location = "self:CaptureView.xcodeproj">
</FileRef>
</Workspace>
......@@ -71,6 +71,12 @@
"idiom" : "ipad",
"filename" : "Icon-76@2x.png",
"scale" : "2x"
},
{
"size" : "83.5x83.5",
"idiom" : "ipad",
"filename" : "icon-83.5@2x.png",
"scale" : "2x"
}
],
"info" : {
......
......@@ -24,10 +24,8 @@ class ViewController: UIViewController {
super.viewDidLoad()
prepareView()
// Examples of using Capture.
// Uncomment different examples and read
// the comments below.
prepareGeneralCaptureExample()
// Examples of using CaptureView.
prepareGeneralCaptureViewExample()
}
/**
......@@ -39,11 +37,11 @@ class ViewController: UIViewController {
}
/**
:name: prepareGeneralCaptureExample
:name: prepareGeneralCaptureViewExample
:description: General usage example.
*/
private func prepareGeneralCaptureExample() {
private func prepareGeneralCaptureViewExample() {
}
}
......@@ -71,6 +71,12 @@
"idiom" : "ipad",
"filename" : "Icon-76@2x.png",
"scale" : "2x"
},
{
"size" : "83.5x83.5",
"idiom" : "ipad",
"filename" : "icon-83.5@2x.png",
"scale" : "2x"
}
],
"info" : {
......
......@@ -71,6 +71,12 @@
"idiom" : "ipad",
"filename" : "Icon-76@2x.png",
"scale" : "2x"
},
{
"size" : "83.5x83.5",
"idiom" : "ipad",
"filename" : "icon-83.5@2x.png",
"scale" : "2x"
}
],
"info" : {
......
......@@ -71,6 +71,12 @@
"idiom" : "ipad",
"filename" : "Icon-76@2x.png",
"scale" : "2x"
},
{
"size" : "83.5x83.5",
"idiom" : "ipad",
"filename" : "icon-83.5@2x.png",
"scale" : "2x"
}
],
"info" : {
......
......@@ -71,6 +71,12 @@
"idiom" : "ipad",
"filename" : "Icon-76@2x.png",
"scale" : "2x"
},
{
"size" : "83.5x83.5",
"idiom" : "ipad",
"filename" : "icon-83.5@2x.png",
"scale" : "2x"
}
],
"info" : {
......
......@@ -71,6 +71,12 @@
"idiom" : "ipad",
"filename" : "Icon-76@2x.png",
"scale" : "2x"
},
{
"size" : "83.5x83.5",
"idiom" : "ipad",
"filename" : "icon-83.5@2x.png",
"scale" : "2x"
}
],
"info" : {
......
......@@ -71,6 +71,12 @@
"idiom" : "ipad",
"filename" : "Icon-76@2x.png",
"scale" : "2x"
},
{
"size" : "83.5x83.5",
"idiom" : "ipad",
"filename" : "icon-83.5@2x.png",
"scale" : "2x"
}
],
"info" : {
......
......@@ -71,6 +71,12 @@
"idiom" : "ipad",
"filename" : "Icon-76@2x.png",
"scale" : "2x"
},
{
"size" : "83.5x83.5",
"idiom" : "ipad",
"filename" : "icon-83.5@2x.png",
"scale" : "2x"
}
],
"info" : {
......
......@@ -71,6 +71,12 @@
"idiom" : "ipad",
"filename" : "Icon-76@2x.png",
"scale" : "2x"
},
{
"size" : "83.5x83.5",
"idiom" : "ipad",
"filename" : "icon-83.5@2x.png",
"scale" : "2x"
}
],
"info" : {
......
......@@ -73,8 +73,9 @@
"scale" : "2x"
},
{
"idiom" : "ipad",
"size" : "83.5x83.5",
"idiom" : "ipad",
"filename" : "icon-83.5@2x.png",
"scale" : "2x"
}
],
......
......@@ -265,6 +265,7 @@
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = io.cosmicmind.CardView;
PRODUCT_NAME = "$(TARGET_NAME)";
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
};
......@@ -276,6 +277,7 @@
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = io.cosmicmind.CardView;
PRODUCT_NAME = "$(TARGET_NAME)";
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;
};
......
......@@ -3,7 +3,7 @@
{
"size" : "29x29",
"idiom" : "iphone",
"filename" : "Icon-29@2x.png",
"filename" : "Icon-29@2x-1.png",
"scale" : "2x"
},
{
......@@ -15,7 +15,7 @@
{
"size" : "40x40",
"idiom" : "iphone",
"filename" : "Icon-40@2x.png",
"filename" : "Icon-40@2x-1.png",
"scale" : "2x"
},
{
......@@ -35,6 +35,48 @@
"idiom" : "iphone",
"filename" : "Icon-60@3x.png",
"scale" : "3x"
},
{
"size" : "29x29",
"idiom" : "ipad",
"filename" : "Icon-29.png",
"scale" : "1x"
},
{
"size" : "29x29",
"idiom" : "ipad",
"filename" : "Icon-29@2x.png",
"scale" : "2x"
},
{
"size" : "40x40",
"idiom" : "ipad",
"filename" : "Icon-40.png",
"scale" : "1x"
},
{
"size" : "40x40",
"idiom" : "ipad",
"filename" : "Icon-40@2x.png",
"scale" : "2x"
},
{
"size" : "76x76",
"idiom" : "ipad",
"filename" : "Icon-76.png",
"scale" : "1x"
},
{
"size" : "76x76",
"idiom" : "ipad",
"filename" : "Icon-76@2x.png",
"scale" : "2x"
},
{
"size" : "83.5x83.5",
"idiom" : "ipad",
"filename" : "icon-83.5@2x.png",
"scale" : "2x"
}
],
"info" : {
......
......@@ -271,6 +271,7 @@
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = io.cosmicmind.ImageCardView;
PRODUCT_NAME = "$(TARGET_NAME)";
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
};
......@@ -282,6 +283,7 @@
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = io.cosmicmind.ImageCardView;
PRODUCT_NAME = "$(TARGET_NAME)";
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;
};
......
......@@ -3,7 +3,7 @@
{
"size" : "29x29",
"idiom" : "iphone",
"filename" : "Icon-29@2x.png",
"filename" : "Icon-29@2x-1.png",
"scale" : "2x"
},
{
......@@ -15,7 +15,7 @@
{
"size" : "40x40",
"idiom" : "iphone",
"filename" : "Icon-40@2x.png",
"filename" : "Icon-40@2x-1.png",
"scale" : "2x"
},
{
......@@ -35,6 +35,48 @@
"idiom" : "iphone",
"filename" : "Icon-60@3x.png",
"scale" : "3x"
},
{
"size" : "29x29",
"idiom" : "ipad",
"filename" : "Icon-29.png",
"scale" : "1x"
},
{
"size" : "29x29",
"idiom" : "ipad",
"filename" : "Icon-29@2x.png",
"scale" : "2x"
},
{
"size" : "40x40",
"idiom" : "ipad",
"filename" : "Icon-40.png",
"scale" : "1x"
},
{
"size" : "40x40",
"idiom" : "ipad",
"filename" : "Icon-40@2x.png",
"scale" : "2x"
},
{
"size" : "76x76",
"idiom" : "ipad",
"filename" : "Icon-76.png",
"scale" : "1x"
},
{
"size" : "76x76",
"idiom" : "ipad",
"filename" : "Icon-76@2x.png",
"scale" : "2x"
},
{
"size" : "83.5x83.5",
"idiom" : "ipad",
"filename" : "icon-83.5@2x.png",
"scale" : "2x"
}
],
"info" : {
......
......@@ -271,6 +271,7 @@
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = io.cosmicmind.MaterialButton;
PRODUCT_NAME = MaterialButton;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
};
......@@ -282,6 +283,7 @@
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = io.cosmicmind.MaterialButton;
PRODUCT_NAME = MaterialButton;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;
};
......
......@@ -3,7 +3,7 @@
{
"size" : "29x29",
"idiom" : "iphone",
"filename" : "Icon-29@2x.png",
"filename" : "Icon-29@2x-1.png",
"scale" : "2x"
},
{
......@@ -15,7 +15,7 @@
{
"size" : "40x40",
"idiom" : "iphone",
"filename" : "Icon-40@2x.png",
"filename" : "Icon-40@2x-1.png",
"scale" : "2x"
},
{
......@@ -35,6 +35,48 @@
"idiom" : "iphone",
"filename" : "Icon-60@3x.png",
"scale" : "3x"
},
{
"size" : "29x29",
"idiom" : "ipad",
"filename" : "Icon-29.png",
"scale" : "1x"
},
{
"size" : "29x29",
"idiom" : "ipad",
"filename" : "Icon-29@2x.png",
"scale" : "2x"
},
{
"size" : "40x40",
"idiom" : "ipad",
"filename" : "Icon-40.png",
"scale" : "1x"
},
{
"size" : "40x40",
"idiom" : "ipad",
"filename" : "Icon-40@2x.png",
"scale" : "2x"
},
{
"size" : "76x76",
"idiom" : "ipad",
"filename" : "Icon-76.png",
"scale" : "1x"
},
{
"size" : "76x76",
"idiom" : "ipad",
"filename" : "Icon-76@2x.png",
"scale" : "2x"
},
{
"size" : "83.5x83.5",
"idiom" : "ipad",
"filename" : "icon-83.5@2x.png",
"scale" : "2x"
}
],
"info" : {
......
......@@ -273,6 +273,7 @@
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = io.cosmicmind.MaterialPulseView;
PRODUCT_NAME = MaterialPulseView;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
};
......@@ -284,6 +285,7 @@
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = io.cosmicmind.MaterialPulseView;
PRODUCT_NAME = MaterialPulseView;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;
};
......
......@@ -3,7 +3,7 @@
{
"size" : "29x29",
"idiom" : "iphone",
"filename" : "Icon-29@2x.png",
"filename" : "Icon-29@2x-1.png",
"scale" : "2x"
},
{
......@@ -15,7 +15,7 @@
{
"size" : "40x40",
"idiom" : "iphone",
"filename" : "Icon-40@2x.png",
"filename" : "Icon-40@2x-1.png",
"scale" : "2x"
},
{
......@@ -35,6 +35,48 @@
"idiom" : "iphone",
"filename" : "Icon-60@3x.png",
"scale" : "3x"
},
{
"size" : "29x29",
"idiom" : "ipad",
"filename" : "Icon-29.png",
"scale" : "1x"
},
{
"size" : "29x29",
"idiom" : "ipad",
"filename" : "Icon-29@2x.png",
"scale" : "2x"
},
{
"size" : "40x40",
"idiom" : "ipad",
"filename" : "Icon-40.png",
"scale" : "1x"
},
{
"size" : "40x40",
"idiom" : "ipad",
"filename" : "Icon-40@2x.png",
"scale" : "2x"
},
{
"size" : "76x76",
"idiom" : "ipad",
"filename" : "Icon-76.png",
"scale" : "1x"
},
{
"size" : "76x76",
"idiom" : "ipad",
"filename" : "Icon-76@2x.png",
"scale" : "2x"
},
{
"size" : "83.5x83.5",
"idiom" : "ipad",
"filename" : "icon-83.5@2x.png",
"scale" : "2x"
}
],
"info" : {
......
......@@ -265,6 +265,7 @@
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = io.cosmicmind.NavigationBarView;
PRODUCT_NAME = NavigationBarView;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
};
......@@ -276,6 +277,7 @@
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = io.cosmicmind.NavigationBarView;
PRODUCT_NAME = NavigationBarView;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;
};
......
......@@ -3,7 +3,7 @@
{
"size" : "29x29",
"idiom" : "iphone",
"filename" : "Icon-29@2x.png",
"filename" : "Icon-29@2x-1.png",
"scale" : "2x"
},
{
......@@ -15,7 +15,7 @@
{
"size" : "40x40",
"idiom" : "iphone",
"filename" : "Icon-40@2x.png",
"filename" : "Icon-40@2x-1.png",
"scale" : "2x"
},
{
......@@ -35,6 +35,48 @@
"idiom" : "iphone",
"filename" : "Icon-60@3x.png",
"scale" : "3x"
},
{
"size" : "29x29",
"idiom" : "ipad",
"filename" : "Icon-29.png",
"scale" : "1x"
},
{
"size" : "29x29",
"idiom" : "ipad",
"filename" : "Icon-29@2x.png",
"scale" : "2x"
},
{
"size" : "40x40",
"idiom" : "ipad",
"filename" : "Icon-40.png",
"scale" : "1x"
},
{
"size" : "40x40",
"idiom" : "ipad",
"filename" : "Icon-40@2x.png",
"scale" : "2x"
},
{
"size" : "76x76",
"idiom" : "ipad",
"filename" : "Icon-76.png",
"scale" : "1x"
},
{
"size" : "76x76",
"idiom" : "ipad",
"filename" : "Icon-76@2x.png",
"scale" : "2x"
},
{
"size" : "83.5x83.5",
"idiom" : "ipad",
"filename" : "icon-83.5@2x.png",
"scale" : "2x"
}
],
"info" : {
......
......@@ -275,6 +275,7 @@
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = io.cosmicmind.SideNavigationViewController;
PRODUCT_NAME = "$(TARGET_NAME)";
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
};
......@@ -286,6 +287,7 @@
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = io.cosmicmind.SideNavigationViewController;
PRODUCT_NAME = "$(TARGET_NAME)";
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;
};
......
......@@ -3,7 +3,7 @@
{
"size" : "29x29",
"idiom" : "iphone",
"filename" : "Icon-29@2x.png",
"filename" : "Icon-29@2x-1.png",
"scale" : "2x"
},
{
......@@ -15,7 +15,7 @@
{
"size" : "40x40",
"idiom" : "iphone",
"filename" : "Icon-40@2x.png",
"filename" : "Icon-40@2x-1.png",
"scale" : "2x"
},
{
......@@ -35,6 +35,48 @@
"idiom" : "iphone",
"filename" : "Icon-60@3x.png",
"scale" : "3x"
},
{
"size" : "29x29",
"idiom" : "ipad",
"filename" : "Icon-29.png",
"scale" : "1x"
},
{
"size" : "29x29",
"idiom" : "ipad",
"filename" : "Icon-29@2x.png",
"scale" : "2x"
},
{
"size" : "40x40",
"idiom" : "ipad",
"filename" : "Icon-40.png",
"scale" : "1x"
},
{
"size" : "40x40",
"idiom" : "ipad",
"filename" : "Icon-40@2x.png",
"scale" : "2x"
},
{
"size" : "76x76",
"idiom" : "ipad",
"filename" : "Icon-76.png",
"scale" : "1x"
},
{
"size" : "76x76",
"idiom" : "ipad",
"filename" : "Icon-76@2x.png",
"scale" : "2x"
},
{
"size" : "83.5x83.5",
"idiom" : "ipad",
"filename" : "icon-83.5@2x.png",
"scale" : "2x"
}
],
"info" : {
......
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