Commit df9cee72 authored by Alex Moore's avatar Alex Moore

working on uiwebview

parent d0c4657d
No preview for this file type
......@@ -27,6 +27,7 @@
EF22332C1A9FA2FC005F0FFC /* CaptuvoOptionsController.m in Sources */ = {isa = PBXBuildFile; fileRef = EF22332B1A9FA2FC005F0FFC /* CaptuvoOptionsController.m */; };
EF22332F1A9FA320005F0FFC /* libCaptuvoSDK.a in Frameworks */ = {isa = PBXBuildFile; fileRef = EF22332E1A9FA320005F0FFC /* libCaptuvoSDK.a */; };
EF5D7C151A93E7F7005FD90F /* SettingsViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = EF5D7C141A93E7F7005FD90F /* SettingsViewController.m */; };
EFF4A0F31AB9110800FA82F3 /* WebViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = EFF4A0F21AB9110800FA82F3 /* WebViewController.m */; };
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
......@@ -74,6 +75,8 @@
EF22332E1A9FA320005F0FFC /* libCaptuvoSDK.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libCaptuvoSDK.a; sourceTree = "<group>"; };
EF5D7C131A93E7F7005FD90F /* SettingsViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SettingsViewController.h; sourceTree = "<group>"; };
EF5D7C141A93E7F7005FD90F /* SettingsViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SettingsViewController.m; sourceTree = "<group>"; };
EFF4A0F11AB9110800FA82F3 /* WebViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebViewController.h; sourceTree = "<group>"; };
EFF4A0F21AB9110800FA82F3 /* WebViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WebViewController.m; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
......@@ -157,6 +160,7 @@
EF2233301A9FA327005F0FFC /* Include */ = {
isa = PBXGroup;
children = (
EFF4A0F11AB9110800FA82F3 /* WebViewController.h */,
EF22332D1A9FA320005F0FFC /* Captuvo.h */,
78FD6B0F1A81713A00D48A92 /* AppDelegate.h */,
EF22332A1A9FA2FC005F0FFC /* CaptuvoOptionsController.h */,
......@@ -182,6 +186,7 @@
EF2233321A9FA349005F0FFC /* Source */ = {
isa = PBXGroup;
children = (
EFF4A0F21AB9110800FA82F3 /* WebViewController.m */,
78FD6B101A81713A00D48A92 /* AppDelegate.m */,
EF22332B1A9FA2FC005F0FFC /* CaptuvoOptionsController.m */,
EF2233251A9FA2DD005F0FFC /* CaptuvoScannerController.m */,
......@@ -314,6 +319,7 @@
files = (
78FD6B461A81929200D48A92 /* LogInViewController.m in Sources */,
EF5D7C151A93E7F7005FD90F /* SettingsViewController.m in Sources */,
EFF4A0F31AB9110800FA82F3 /* WebViewController.m in Sources */,
78FD6B3D1A8185AF00D48A92 /* ScanBookViewController.m in Sources */,
78FD6B111A81713A00D48A92 /* AppDelegate.m in Sources */,
78FD6B0E1A81713A00D48A92 /* main.m in Sources */,
......
......@@ -10,6 +10,6 @@
@interface CaptuvoScannerController : CaptuvoViewController
@property (weak, nonatomic) IBOutlet UITextField *txtBookID;
//@property (weak, nonatomic) IBOutlet UITextField *txtBookID;
@end
......@@ -7,8 +7,9 @@
//
#import <UIKit/UIKit.h>
#import "WebViewController.h"
#import "Captuvo.h"
@interface CaptuvoViewController : UIViewController<CaptuvoEventsProtocol>
@interface CaptuvoViewController : WebViewController<CaptuvoEventsProtocol>
@end
......@@ -39,8 +39,7 @@
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
</array>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
......
......@@ -7,9 +7,9 @@
//
#import <UIKit/UIKit.h>
#import "WebViewController.h"
@interface LogInViewController : UIViewController
@interface LogInViewController : WebViewController
@property (weak, nonatomic, readonly) UIButton *btnLogIn;
@property (weak, nonatomic, readonly) UITextField *txtUsername;
@property (weak, nonatomic, readonly) UITextField *txtPassword;
......
......@@ -20,8 +20,8 @@
@synthesize txtUsername;
@synthesize txtPassword;
static NSString *USERNAME = @"alex";
static NSString *PASSWORD = @"what";
static NSString *USERNAME = @"";//@"alex";
static NSString *PASSWORD = @"";//@"what";
- (void)viewDidLoad {
[super viewDidLoad];
......
......@@ -231,10 +231,6 @@
<rect key="frame" x="10" y="145" width="568" height="30"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<textInputTraits key="textInputTraits"/>
<connections>
<action selector="txtChange:" destination="chc-VY-Gqa" eventType="editingChanged" id="hYF-c0-3C8"/>
<action selector="txtValueChange:" destination="chc-VY-Gqa" eventType="valueChanged" id="37Z-P5-S5j"/>
</connections>
</textField>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
......@@ -262,7 +258,6 @@
<outlet property="imgCheck" destination="ROA-6e-Pjx" id="aHt-g1-AhY"/>
<outlet property="imgX" destination="ybW-ia-BeV" id="13c-F3-Ox4"/>
<outlet property="lblSection" destination="28C-Wr-Ey7" id="xrK-eJ-KDa"/>
<outlet property="txtBookID" destination="H7S-u0-5kF" id="Xdo-h1-mcm"/>
</connections>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="cQa-49-Hhu" userLabel="First Responder" sceneMemberID="firstResponder"/>
......
......@@ -18,7 +18,7 @@ static int BOOK_ID_LENGTH = 14;
@property (weak, nonatomic) IBOutlet UIImageView *imgCheck;
@property (weak, nonatomic) IBOutlet UIImageView *imgX;
@property (weak, nonatomic) IBOutlet UILabel *lblSection;
- (IBAction)txtChange:(id)sender;
- (void)txtChange;
......@@ -107,11 +107,12 @@ static int BOOK_ID_LENGTH = 14;
- (IBAction)txtChange:(id)sender {
//- (IBAction)txtChange:(id)sender {
- (void)txtChange {
NSCharacterSet* notDigits = [[NSCharacterSet decimalDigitCharacterSet] invertedSet];
if(txtBookID.text.length == BOOK_ID_LENGTH) { //string is proper length
if([txtBookID.text rangeOfCharacterFromSet:notDigits].location == NSNotFound) { //string is numeric
if(self.txtBookID.text.length == BOOK_ID_LENGTH) { //string is proper length
if([self.txtBookID.text rangeOfCharacterFromSet:notDigits].location == NSNotFound) { //string is numeric
// SEND BOOK ID TO RTI
//randomly generate errors
......@@ -135,6 +136,11 @@ static int BOOK_ID_LENGTH = 14;
}
}
- (void)decoderDataReceived:(NSString *)data {
[super decoderDataReceived:data];
[self txtChange];
}
@end
//
// WebViewController.h
// PLUCdraft
//
// Created by PLUC SeniorDesign on 3/17/15.
// Copyright (c) 2015 Alexander W. Moore. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface WebViewController : UIViewController
@property (weak, nonatomic) IBOutlet UITextField *txtBookID;
@end
//
// WebViewController.m
// PLUCdraft
//
// Created by PLUC SeniorDesign on 3/17/15.
// Copyright (c) 2015 Alexander W. Moore. All rights reserved.
//
#import "WebViewController.h"
@interface WebViewController ()
@end
@implementation WebViewController
- (void)viewDidLoad {
[super viewDidLoad];
// Do any additional setup after loading the view.
}
- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
}
/*
#pragma mark - Navigation
// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
// Get the new view controller using [segue destinationViewController].
// Pass the selected object to the new view controller.
}
*/
@end
//
// FirstViewController.h
// WebviewDemo
//
// Created by PLUC SeniorDesign on 3/16/15.
// Copyright (c) 2015 PLUC SeniorDesign. All rights reserved.
//
#import "ViewController.h"
@interface FirstViewController : ViewController
@end
//
// FirstViewController.m
// WebviewDemo
//
// Created by PLUC SeniorDesign on 3/16/15.
// Copyright (c) 2015 PLUC SeniorDesign. All rights reserved.
//
#import "FirstViewController.h"
@interface FirstViewController ()
@end
@implementation FirstViewController
- (void)viewDidLoad {
[super viewDidLoad];
// Do any additional setup after loading the view.
}
- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
}
/*
#pragma mark - Navigation
// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
// Get the new view controller using [segue destinationViewController].
// Pass the selected object to the new view controller.
}
*/
@end
//
// ViewController.h
// SecondViewController.h
// WebviewDemo
//
// Created by PLUC SeniorDesign on 2/16/15.
// Created by PLUC SeniorDesign on 3/16/15.
// Copyright (c) 2015 PLUC SeniorDesign. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController
@property (strong, nonatomic) IBOutlet UIWebView *webview;
@interface SecondViewController : ViewController
@end
//
// SecondViewController.m
// WebviewDemo
//
// Created by PLUC SeniorDesign on 3/16/15.
// Copyright (c) 2015 PLUC SeniorDesign. All rights reserved.
//
#import "SecondViewController.h"
@implementation SecondViewController
@end
//
// ViewController.m
// WebviewDemo
//
// Created by PLUC SeniorDesign on 2/16/15.
// Copyright (c) 2015 PLUC SeniorDesign. All rights reserved.
//
#import "ViewController.h"
@interface ViewController ()
@property (weak, nonatomic) IBOutlet UIBarButtonItem *btnBack;
@property (weak, nonatomic) IBOutlet UIBarButtonItem *btnStop;
@property (weak, nonatomic) IBOutlet UIBarButtonItem *btnRefresh;
@property (weak, nonatomic) IBOutlet UIBarButtonItem *btnForward;
@end
@implementation ViewController
- (void)viewDidLoad {
[super viewDidLoad];
// Do any additional setup after loading the view, typically from a nib.
NSString *strURL = @"http://www.google.com";
NSURL *url = [NSURL URLWithString:strURL];
NSURLRequest *urlRequest = [NSURLRequest requestWithURL:url];
[self.webview loadRequest:urlRequest];
}
- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
}
@end
This diff is collapsed.
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "self:WebviewStuff.xcodeproj">
</FileRef>
</Workspace>
//
// AppDelegate.h
// WebviewStuff
//
// Created by PLUC SeniorDesign on 3/16/15.
// Copyright (c) 2015 PLUC SeniorDesign. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
//
// AppDelegate.m
// WebviewStuff
//
// Created by PLUC SeniorDesign on 3/16/15.
// Copyright (c) 2015 PLUC SeniorDesign. All rights reserved.
//
#import "AppDelegate.h"
@interface AppDelegate ()
@end
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// Override point for customization after application launch.
return YES;
}
- (void)applicationWillResignActive:(UIApplication *)application {
// Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
// Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
}
- (void)applicationDidEnterBackground:(UIApplication *)application {
// Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
// If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
}
- (void)applicationWillEnterForeground:(UIApplication *)application {
// Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
}
- (void)applicationDidBecomeActive:(UIApplication *)application {
// Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
}
- (void)applicationWillTerminate:(UIApplication *)application {
// Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
}
@end
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="6214" systemVersion="14A314h" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6207"/>
<capability name="Constraints with non-1.0 multipliers" minToolsVersion="5.1"/>
</dependencies>
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<view contentMode="scaleToFill" id="iN0-l3-epB">
<rect key="frame" x="0.0" y="0.0" width="480" height="480"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=" Copyright (c) 2015 PLUC SeniorDesign. All rights reserved." textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="9" translatesAutoresizingMaskIntoConstraints="NO" id="8ie-xW-0ye">
<rect key="frame" x="20" y="439" width="441" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="WebviewStuff" textAlignment="center" lineBreakMode="middleTruncation" baselineAdjustment="alignBaselines" minimumFontSize="18" translatesAutoresizingMaskIntoConstraints="NO" id="kId-c2-rCX">
<rect key="frame" x="20" y="140" width="441" height="43"/>
<fontDescription key="fontDescription" type="boldSystem" pointSize="36"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
<constraints>
<constraint firstItem="kId-c2-rCX" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="bottom" multiplier="1/3" constant="1" id="5cJ-9S-tgC"/>
<constraint firstAttribute="centerX" secondItem="kId-c2-rCX" secondAttribute="centerX" id="Koa-jz-hwk"/>
<constraint firstAttribute="bottom" secondItem="8ie-xW-0ye" secondAttribute="bottom" constant="20" id="Kzo-t9-V3l"/>
<constraint firstItem="8ie-xW-0ye" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="20" symbolic="YES" id="MfP-vx-nX0"/>
<constraint firstAttribute="centerX" secondItem="8ie-xW-0ye" secondAttribute="centerX" id="ZEH-qu-HZ9"/>
<constraint firstItem="kId-c2-rCX" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="20" symbolic="YES" id="fvb-Df-36g"/>
</constraints>
<nil key="simulatedStatusBarMetrics"/>
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
<point key="canvasLocation" x="548" y="455"/>
</view>
</objects>
</document>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="6211" systemVersion="14A298i" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="BYZ-38-t0r">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6204"/>
</dependencies>
<scenes>
<!--View Controller-->
<scene sceneID="tne-QT-ifu">
<objects>
<viewController id="BYZ-38-t0r" customClass="ViewController" customModuleProvider="" sceneMemberID="viewController">
<layoutGuides>
<viewControllerLayoutGuide type="top" id="y3c-jy-aDJ"/>
<viewControllerLayoutGuide type="bottom" id="wfy-db-euE"/>
</layoutGuides>
<view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
</objects>
</scene>
</scenes>
</document>
//
// FirstViewController.h
// WebviewStuff
//
// Created by PLUC SeniorDesign on 3/16/15.
// Copyright (c) 2015 PLUC SeniorDesign. All rights reserved.
//
#import "ViewController.h"
@interface FirstViewController : ViewController
@end
//
// FirstViewController.m
// WebviewStuff
//
// Created by PLUC SeniorDesign on 3/16/15.
// Copyright (c) 2015 PLUC SeniorDesign. All rights reserved.
//
#import "FirstViewController.h"
@interface FirstViewController ()
@end
@implementation FirstViewController
- (void)viewDidLoad {
[super viewDidLoad];
// Do any additional setup after loading the view.
}
- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
}
/*
#pragma mark - Navigation
// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
// Get the new view controller using [segue destinationViewController].
// Pass the selected object to the new view controller.
}
*/
@end
//
// GlobalWebController.h
// WebviewStuff
//
// Created by PLUC SeniorDesign on 3/17/15.
// Copyright (c) 2015 PLUC SeniorDesign. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface GlobalWebController : ViewController
@end
//
// GlobalWebController.m
// WebviewStuff
//
// Created by PLUC SeniorDesign on 3/17/15.
// Copyright (c) 2015 PLUC SeniorDesign. All rights reserved.
//
#import "GlobalWebController.h"
@implementation GlobalWebController
@end
{
"images" : [
{
"idiom" : "iphone",
"size" : "29x29",
"scale" : "2x"
},
{
"idiom" : "iphone",
"size" : "29x29",
"scale" : "3x"
},
{
"idiom" : "iphone",
"size" : "40x40",
"scale" : "2x"
},
{
"idiom" : "iphone",
"size" : "40x40",
"scale" : "3x"
},
{
"idiom" : "iphone",
"size" : "60x60",
"scale" : "2x"
},
{
"idiom" : "iphone",
"size" : "60x60",
"scale" : "3x"
},
{
"idiom" : "ipad",
"size" : "29x29",
"scale" : "1x"
},
{
"idiom" : "ipad",
"size" : "29x29",
"scale" : "2x"
},
{
"idiom" : "ipad",
"size" : "40x40",
"scale" : "1x"
},
{
"idiom" : "ipad",
"size" : "40x40",
"scale" : "2x"
},
{
"idiom" : "ipad",
"size" : "76x76",
"scale" : "1x"
},
{
"idiom" : "ipad",
"size" : "76x76",
"scale" : "2x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>PLUC.$(PRODUCT_NAME:rfc1034identifier)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIMainStoryboardFile</key>
<string>Main</string>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>armv7</string>
</array>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
</dict>
</plist>
//
// SecondViewController.h
// WebviewStuff
//
// Created by PLUC SeniorDesign on 3/16/15.
// Copyright (c) 2015 PLUC SeniorDesign. All rights reserved.
//
#import "ViewController.h"
@interface SecondViewController : ViewController
@end
//
// SecondViewController.m
// WebviewStuff
//
// Created by PLUC SeniorDesign on 3/16/15.
// Copyright (c) 2015 PLUC SeniorDesign. All rights reserved.
//