mirror of
https://bitbucket.org/vendoo/vendoo_v1.0.git
synced 2025-12-25 11:47:40 +00:00
Finished skeleton/boilerplate code for item selction process, just need to integrate each network api
This commit is contained in:
parent
3872e2db13
commit
c59e079b21
Binary file not shown.
@ -19,22 +19,6 @@
|
|||||||
landmarkType = "5">
|
landmarkType = "5">
|
||||||
</BreakpointContent>
|
</BreakpointContent>
|
||||||
</BreakpointProxy>
|
</BreakpointProxy>
|
||||||
<BreakpointProxy
|
|
||||||
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
|
|
||||||
<BreakpointContent
|
|
||||||
shouldBeEnabled = "Yes"
|
|
||||||
ignoreCount = "0"
|
|
||||||
continueAfterRunningActions = "No"
|
|
||||||
filePath = "Vendoo/NetworksTableViewController.swift"
|
|
||||||
timestampString = "486046132.350173"
|
|
||||||
startingColumnNumber = "9223372036854775807"
|
|
||||||
endingColumnNumber = "9223372036854775807"
|
|
||||||
startingLineNumber = "204"
|
|
||||||
endingLineNumber = "204"
|
|
||||||
landmarkName = "tableView(_:didSelectRowAtIndexPath:)"
|
|
||||||
landmarkType = "5">
|
|
||||||
</BreakpointContent>
|
|
||||||
</BreakpointProxy>
|
|
||||||
<BreakpointProxy
|
<BreakpointProxy
|
||||||
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
|
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
|
||||||
<BreakpointContent
|
<BreakpointContent
|
||||||
@ -67,5 +51,37 @@
|
|||||||
landmarkType = "5">
|
landmarkType = "5">
|
||||||
</BreakpointContent>
|
</BreakpointContent>
|
||||||
</BreakpointProxy>
|
</BreakpointProxy>
|
||||||
|
<BreakpointProxy
|
||||||
|
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
|
||||||
|
<BreakpointContent
|
||||||
|
shouldBeEnabled = "Yes"
|
||||||
|
ignoreCount = "0"
|
||||||
|
continueAfterRunningActions = "No"
|
||||||
|
filePath = "Vendoo/NetworksTableViewController.swift"
|
||||||
|
timestampString = "486108018.734981"
|
||||||
|
startingColumnNumber = "9223372036854775807"
|
||||||
|
endingColumnNumber = "9223372036854775807"
|
||||||
|
startingLineNumber = "54"
|
||||||
|
endingLineNumber = "54"
|
||||||
|
landmarkName = "setNetworkSelectFunctionality(_:)"
|
||||||
|
landmarkType = "5">
|
||||||
|
</BreakpointContent>
|
||||||
|
</BreakpointProxy>
|
||||||
|
<BreakpointProxy
|
||||||
|
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
|
||||||
|
<BreakpointContent
|
||||||
|
shouldBeEnabled = "Yes"
|
||||||
|
ignoreCount = "0"
|
||||||
|
continueAfterRunningActions = "No"
|
||||||
|
filePath = "Vendoo/NetworksTableViewController.swift"
|
||||||
|
timestampString = "486108469.75046"
|
||||||
|
startingColumnNumber = "9223372036854775807"
|
||||||
|
endingColumnNumber = "9223372036854775807"
|
||||||
|
startingLineNumber = "90"
|
||||||
|
endingLineNumber = "90"
|
||||||
|
landmarkName = "tableView(_:cellForRowAtIndexPath:)"
|
||||||
|
landmarkType = "5">
|
||||||
|
</BreakpointContent>
|
||||||
|
</BreakpointProxy>
|
||||||
</Breakpoints>
|
</Breakpoints>
|
||||||
</Bucket>
|
</Bucket>
|
||||||
|
|||||||
@ -212,35 +212,37 @@
|
|||||||
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
|
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
|
||||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||||
<subviews>
|
<subviews>
|
||||||
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="Item Name" textAlignment="center" minimumFontSize="17" id="QIK-Tn-AHX">
|
|
||||||
<rect key="frame" x="0.0" y="319" width="375" height="30"/>
|
|
||||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
|
||||||
<fontDescription key="fontDescription" type="system" pointSize="14"/>
|
|
||||||
<textInputTraits key="textInputTraits"/>
|
|
||||||
</textField>
|
|
||||||
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" id="ktF-gc-qhF">
|
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" id="ktF-gc-qhF">
|
||||||
<rect key="frame" x="0.0" y="31" width="375" height="240"/>
|
<rect key="frame" x="0.0" y="31" width="375" height="240"/>
|
||||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||||
<color key="backgroundColor" red="1" green="0.94432476799999998" blue="0.29461320000000002" alpha="1" colorSpace="calibratedRGB"/>
|
<color key="backgroundColor" red="1" green="0.94432476799999998" blue="0.29461320000000002" alpha="1" colorSpace="calibratedRGB"/>
|
||||||
</imageView>
|
</imageView>
|
||||||
</subviews>
|
<pickerView contentMode="scaleToFill" id="3Ch-bX-pSF" userLabel="CategoryPicker">
|
||||||
</scrollView>
|
<rect key="frame" x="0.0" y="489" width="375" height="116"/>
|
||||||
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="Description" textAlignment="center" minimumFontSize="17" id="LS5-23-ZeW">
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
|
||||||
<rect key="frame" x="0.0" y="347" width="375" height="30"/>
|
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
|
||||||
|
<color key="tintColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/>
|
||||||
|
</pickerView>
|
||||||
|
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="Item Name" textAlignment="center" minimumFontSize="17" id="PQC-e5-VHo" userLabel="price">
|
||||||
|
<rect key="frame" x="0.0" y="437" width="375" height="30"/>
|
||||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||||
<fontDescription key="fontDescription" type="system" pointSize="14"/>
|
<fontDescription key="fontDescription" type="system" pointSize="14"/>
|
||||||
<textInputTraits key="textInputTraits"/>
|
<textInputTraits key="textInputTraits"/>
|
||||||
</textField>
|
</textField>
|
||||||
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="Item Name" textAlignment="center" minimumFontSize="17" id="PQC-e5-VHo" userLabel="price">
|
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="Description" textAlignment="center" minimumFontSize="17" id="LS5-23-ZeW">
|
||||||
<rect key="frame" x="0.0" y="385" width="375" height="30"/>
|
<rect key="frame" x="0.0" y="385" width="375" height="30"/>
|
||||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||||
<fontDescription key="fontDescription" type="system" pointSize="14"/>
|
<fontDescription key="fontDescription" type="system" pointSize="14"/>
|
||||||
<textInputTraits key="textInputTraits"/>
|
<textInputTraits key="textInputTraits"/>
|
||||||
</textField>
|
</textField>
|
||||||
<pickerView contentMode="scaleToFill" id="3Ch-bX-pSF" userLabel="CategoryPicker">
|
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="Item Name" textAlignment="center" minimumFontSize="17" id="QIK-Tn-AHX">
|
||||||
<rect key="frame" x="0.0" y="423" width="375" height="28"/>
|
<rect key="frame" x="0.0" y="333" width="375" height="30"/>
|
||||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
|
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||||
</pickerView>
|
<fontDescription key="fontDescription" type="system" pointSize="14"/>
|
||||||
|
<textInputTraits key="textInputTraits"/>
|
||||||
|
</textField>
|
||||||
|
</subviews>
|
||||||
|
</scrollView>
|
||||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="w7U-gh-R0T">
|
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="w7U-gh-R0T">
|
||||||
<rect key="frame" x="164" y="608" width="46" height="30"/>
|
<rect key="frame" x="164" y="608" width="46" height="30"/>
|
||||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||||
@ -263,12 +265,190 @@
|
|||||||
<outlet property="itemName" destination="QIK-Tn-AHX" id="YsY-i0-9oR"/>
|
<outlet property="itemName" destination="QIK-Tn-AHX" id="YsY-i0-9oR"/>
|
||||||
<outlet property="itemPrice" destination="PQC-e5-VHo" id="2Xi-s1-i8r"/>
|
<outlet property="itemPrice" destination="PQC-e5-VHo" id="2Xi-s1-i8r"/>
|
||||||
<outlet property="possibleItemImage" destination="ktF-gc-qhF" id="Jcq-yA-9LA"/>
|
<outlet property="possibleItemImage" destination="ktF-gc-qhF" id="Jcq-yA-9LA"/>
|
||||||
|
<segue destination="7B0-PA-tjd" kind="modal" identifier="SelectNetworkSegue" id="KKl-Gj-ZVc"/>
|
||||||
</connections>
|
</connections>
|
||||||
</viewController>
|
</viewController>
|
||||||
<placeholder placeholderIdentifier="IBFirstResponder" id="q1f-dh-MHj" userLabel="First Responder" sceneMemberID="firstResponder"/>
|
<placeholder placeholderIdentifier="IBFirstResponder" id="q1f-dh-MHj" userLabel="First Responder" sceneMemberID="firstResponder"/>
|
||||||
</objects>
|
</objects>
|
||||||
<point key="canvasLocation" x="1643.5" y="1115.5"/>
|
<point key="canvasLocation" x="1643.5" y="1115.5"/>
|
||||||
</scene>
|
</scene>
|
||||||
|
<!--Networks Table View Controller-->
|
||||||
|
<scene sceneID="Psr-WG-l4G">
|
||||||
|
<objects>
|
||||||
|
<viewController id="7B0-PA-tjd" customClass="NetworksTableViewController" customModule="Vendoo" customModuleProvider="target" sceneMemberID="viewController">
|
||||||
|
<view key="view" contentMode="scaleToFill" id="d7h-ON-Th9">
|
||||||
|
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
|
||||||
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||||
|
<subviews>
|
||||||
|
<tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="100" sectionHeaderHeight="1" sectionFooterHeight="28" id="AGX-2L-ee0">
|
||||||
|
<rect key="frame" x="0.0" y="44" width="375" height="579"/>
|
||||||
|
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||||
|
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
|
||||||
|
<prototypes>
|
||||||
|
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="blue" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="ebay" id="acC-eR-nNa" customClass="EbayTableViewCell" customModule="Vendoo" customModuleProvider="target">
|
||||||
|
<rect key="frame" x="0.0" y="1" width="375" height="100"/>
|
||||||
|
<autoresizingMask key="autoresizingMask"/>
|
||||||
|
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="acC-eR-nNa" id="yUA-0e-cbV">
|
||||||
|
<rect key="frame" x="0.0" y="0.0" width="375" height="99.5"/>
|
||||||
|
<autoresizingMask key="autoresizingMask"/>
|
||||||
|
<subviews>
|
||||||
|
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="ebay_icon" id="7It-fU-0EG">
|
||||||
|
<rect key="frame" x="26" y="15" width="70" height="70"/>
|
||||||
|
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||||
|
</imageView>
|
||||||
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Ebay" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="Wqi-d4-Qbn">
|
||||||
|
<rect key="frame" x="133" y="15" width="82" height="21"/>
|
||||||
|
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||||
|
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
||||||
|
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
|
||||||
|
<nil key="highlightedColor"/>
|
||||||
|
</label>
|
||||||
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Short Description" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="maL-sd-G4d">
|
||||||
|
<rect key="frame" x="133" y="39" width="130" height="21"/>
|
||||||
|
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||||
|
<fontDescription key="fontDescription" type="system" pointSize="14"/>
|
||||||
|
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
|
||||||
|
<nil key="highlightedColor"/>
|
||||||
|
</label>
|
||||||
|
<switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="center" contentVerticalAlignment="center" id="7Q7-qK-aGr">
|
||||||
|
<rect key="frame" x="307" y="34" width="51" height="31"/>
|
||||||
|
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||||
|
</switch>
|
||||||
|
</subviews>
|
||||||
|
</tableViewCellContentView>
|
||||||
|
<connections>
|
||||||
|
<outlet property="networkToggle" destination="7Q7-qK-aGr" id="Q2V-Ph-s88"/>
|
||||||
|
</connections>
|
||||||
|
</tableViewCell>
|
||||||
|
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="blue" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="amazon" id="2Cb-tk-QlG" customClass="AmazonTableViewCell" customModule="Vendoo" customModuleProvider="target">
|
||||||
|
<rect key="frame" x="0.0" y="101" width="375" height="100"/>
|
||||||
|
<autoresizingMask key="autoresizingMask"/>
|
||||||
|
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="2Cb-tk-QlG" id="Adl-PW-EHy">
|
||||||
|
<rect key="frame" x="0.0" y="0.0" width="375" height="99.5"/>
|
||||||
|
<autoresizingMask key="autoresizingMask"/>
|
||||||
|
<subviews>
|
||||||
|
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="amazon_icon" id="fPK-fm-tET">
|
||||||
|
<rect key="frame" x="26" y="15" width="70" height="70"/>
|
||||||
|
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||||
|
</imageView>
|
||||||
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Amazon" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="58B-4c-jZm">
|
||||||
|
<rect key="frame" x="133" y="15" width="82" height="21"/>
|
||||||
|
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||||
|
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
||||||
|
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
|
||||||
|
<nil key="highlightedColor"/>
|
||||||
|
</label>
|
||||||
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Short Description" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="1cq-FC-tAS">
|
||||||
|
<rect key="frame" x="133" y="39" width="126" height="21"/>
|
||||||
|
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||||
|
<fontDescription key="fontDescription" type="system" pointSize="14"/>
|
||||||
|
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
|
||||||
|
<nil key="highlightedColor"/>
|
||||||
|
</label>
|
||||||
|
<switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="center" contentVerticalAlignment="center" id="TCc-Ei-qHU">
|
||||||
|
<rect key="frame" x="309" y="34" width="51" height="31"/>
|
||||||
|
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||||
|
</switch>
|
||||||
|
</subviews>
|
||||||
|
</tableViewCellContentView>
|
||||||
|
<connections>
|
||||||
|
<outlet property="networkToggle" destination="TCc-Ei-qHU" id="q7p-FN-iU3"/>
|
||||||
|
</connections>
|
||||||
|
</tableViewCell>
|
||||||
|
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="blue" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="etsy" id="R8s-EW-CYG" userLabel="Etsy" customClass="EtsyTableViewCell" customModule="Vendoo" customModuleProvider="target">
|
||||||
|
<rect key="frame" x="0.0" y="201" width="375" height="100"/>
|
||||||
|
<autoresizingMask key="autoresizingMask"/>
|
||||||
|
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="R8s-EW-CYG" id="LkI-ex-htQ">
|
||||||
|
<rect key="frame" x="0.0" y="0.0" width="375" height="99.5"/>
|
||||||
|
<autoresizingMask key="autoresizingMask"/>
|
||||||
|
<subviews>
|
||||||
|
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="etsy_icon" id="PDs-eE-upV">
|
||||||
|
<rect key="frame" x="26" y="15" width="70" height="70"/>
|
||||||
|
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||||
|
</imageView>
|
||||||
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Etsy" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="TfE-7H-YQ9">
|
||||||
|
<rect key="frame" x="133" y="15" width="82" height="21"/>
|
||||||
|
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||||
|
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
||||||
|
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
|
||||||
|
<nil key="highlightedColor"/>
|
||||||
|
</label>
|
||||||
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Short Description" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="sWv-7u-BLQ">
|
||||||
|
<rect key="frame" x="133" y="39" width="125" height="21"/>
|
||||||
|
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||||
|
<fontDescription key="fontDescription" type="system" pointSize="14"/>
|
||||||
|
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
|
||||||
|
<nil key="highlightedColor"/>
|
||||||
|
</label>
|
||||||
|
<switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="center" contentVerticalAlignment="center" id="unb-A5-8G6">
|
||||||
|
<rect key="frame" x="312" y="34" width="51" height="31"/>
|
||||||
|
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||||
|
</switch>
|
||||||
|
</subviews>
|
||||||
|
</tableViewCellContentView>
|
||||||
|
<connections>
|
||||||
|
<outlet property="networkToggle" destination="unb-A5-8G6" id="qr7-bC-XYp"/>
|
||||||
|
</connections>
|
||||||
|
</tableViewCell>
|
||||||
|
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="blue" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="facebook" id="xYX-kc-DDZ" userLabel="facebook" customClass="FBTableViewCell" customModule="Vendoo" customModuleProvider="target">
|
||||||
|
<rect key="frame" x="0.0" y="301" width="375" height="100"/>
|
||||||
|
<autoresizingMask key="autoresizingMask"/>
|
||||||
|
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="xYX-kc-DDZ" id="npb-CY-Fjx">
|
||||||
|
<rect key="frame" x="0.0" y="0.0" width="375" height="99.5"/>
|
||||||
|
<autoresizingMask key="autoresizingMask"/>
|
||||||
|
<subviews>
|
||||||
|
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="facebook_icon" id="KPG-M6-vs4">
|
||||||
|
<rect key="frame" x="26" y="15" width="70" height="70"/>
|
||||||
|
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||||
|
</imageView>
|
||||||
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Facebook" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="rvM-Jp-78S">
|
||||||
|
<rect key="frame" x="133" y="15" width="82" height="21"/>
|
||||||
|
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||||
|
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
||||||
|
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
|
||||||
|
<nil key="highlightedColor"/>
|
||||||
|
</label>
|
||||||
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Short Description" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="DnR-Eh-jlx">
|
||||||
|
<rect key="frame" x="133" y="39" width="126" height="21"/>
|
||||||
|
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||||
|
<fontDescription key="fontDescription" type="system" pointSize="14"/>
|
||||||
|
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
|
||||||
|
<nil key="highlightedColor"/>
|
||||||
|
</label>
|
||||||
|
<switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="center" contentVerticalAlignment="center" id="Uk5-WJ-w8g">
|
||||||
|
<rect key="frame" x="312" y="34" width="51" height="31"/>
|
||||||
|
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||||
|
</switch>
|
||||||
|
</subviews>
|
||||||
|
</tableViewCellContentView>
|
||||||
|
<connections>
|
||||||
|
<outlet property="networkToggle" destination="Uk5-WJ-w8g" id="6Iy-xk-dMB"/>
|
||||||
|
</connections>
|
||||||
|
</tableViewCell>
|
||||||
|
</prototypes>
|
||||||
|
</tableView>
|
||||||
|
<navigationBar contentMode="scaleToFill" id="Hiw-JM-quj">
|
||||||
|
<rect key="frame" x="0.0" y="0.0" width="375" height="44"/>
|
||||||
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
|
||||||
|
<items>
|
||||||
|
<navigationItem title="Select Networks" id="tFj-a9-Z7P">
|
||||||
|
<barButtonItem key="backBarButtonItem" title="Back" id="SHx-rc-NA9"/>
|
||||||
|
</navigationItem>
|
||||||
|
</items>
|
||||||
|
</navigationBar>
|
||||||
|
</subviews>
|
||||||
|
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
|
||||||
|
</view>
|
||||||
|
<navigationItem key="navigationItem" id="uI0-FK-uwb"/>
|
||||||
|
<simulatedScreenMetrics key="simulatedDestinationMetrics" type="retina47"/>
|
||||||
|
<connections>
|
||||||
|
<outlet property="tableView" destination="AGX-2L-ee0" id="x1J-Yr-ZYS"/>
|
||||||
|
</connections>
|
||||||
|
</viewController>
|
||||||
|
<placeholder placeholderIdentifier="IBFirstResponder" id="6Ls-Ti-JQK" userLabel="First Responder" sceneMemberID="firstResponder"/>
|
||||||
|
</objects>
|
||||||
|
<point key="canvasLocation" x="2179" y="1123"/>
|
||||||
|
</scene>
|
||||||
<!--items-->
|
<!--items-->
|
||||||
<scene sceneID="mgQ-vQ-YQl">
|
<scene sceneID="mgQ-vQ-YQl">
|
||||||
<objects>
|
<objects>
|
||||||
@ -762,7 +942,7 @@
|
|||||||
</viewController>
|
</viewController>
|
||||||
<placeholder placeholderIdentifier="IBFirstResponder" id="wgJ-Et-iET" userLabel="First Responder" sceneMemberID="firstResponder"/>
|
<placeholder placeholderIdentifier="IBFirstResponder" id="wgJ-Et-iET" userLabel="First Responder" sceneMemberID="firstResponder"/>
|
||||||
</objects>
|
</objects>
|
||||||
<point key="canvasLocation" x="2103.5" y="1073.5"/>
|
<point key="canvasLocation" x="1193.5" y="-430.5"/>
|
||||||
</scene>
|
</scene>
|
||||||
</scenes>
|
</scenes>
|
||||||
<resources>
|
<resources>
|
||||||
@ -777,6 +957,6 @@
|
|||||||
<inferredMetricsTieBreakers>
|
<inferredMetricsTieBreakers>
|
||||||
<segue reference="nWA-7e-2Ec"/>
|
<segue reference="nWA-7e-2Ec"/>
|
||||||
<segue reference="0Jz-Zn-QDr"/>
|
<segue reference="0Jz-Zn-QDr"/>
|
||||||
<segue reference="vCG-jU-HYF"/>
|
<segue reference="NOz-ya-avj"/>
|
||||||
</inferredMetricsTieBreakers>
|
</inferredMetricsTieBreakers>
|
||||||
</document>
|
</document>
|
||||||
|
|||||||
@ -18,13 +18,20 @@ class ItemImagePickerViewController: UIViewController {
|
|||||||
@IBOutlet weak var categoryPicker: UIPickerView!
|
@IBOutlet weak var categoryPicker: UIPickerView!
|
||||||
@IBOutlet weak var containerScrollView: UIScrollView!
|
@IBOutlet weak var containerScrollView: UIScrollView!
|
||||||
|
|
||||||
|
//class variables
|
||||||
|
var pickerData: [String] = [String]()
|
||||||
|
|
||||||
override func viewDidLoad() {
|
override func viewDidLoad() {
|
||||||
super.viewDidLoad()
|
super.viewDidLoad()
|
||||||
|
|
||||||
// Do any additional setup after loading the view.
|
// Do any additional setup after loading the view.
|
||||||
|
|
||||||
|
// Connect data:
|
||||||
|
self.categoryPicker.delegate = self
|
||||||
|
self.categoryPicker.dataSource = self
|
||||||
|
|
||||||
|
// Input data into the Array:
|
||||||
|
pickerData = ["Category 1", "Category 2", "Category 3", "Category 4", "Category 5", "Category 6"]
|
||||||
}
|
}
|
||||||
|
|
||||||
override func didReceiveMemoryWarning() {
|
override func didReceiveMemoryWarning() {
|
||||||
@ -33,27 +40,69 @@ class ItemImagePickerViewController: UIViewController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
// MARK: - Navigation
|
// MARK: - Navigation
|
||||||
|
|
||||||
// In a storyboard-based application, you will often want to do a little preparation before navigation
|
// In a storyboard-based application, you will often want to do a little preparation before navigation
|
||||||
override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
|
override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
|
||||||
// Get the new view controller using segue.destinationViewController.
|
// Get the new view controller using segue.destinationViewController.
|
||||||
// Pass the selected object to the new view controller.
|
// Pass the selected object to the new view controller.
|
||||||
|
|
||||||
|
if(segue.identifier == "SelectNetworkSegue"){
|
||||||
|
(segue.destinationViewController as! NetworksTableViewController).setNetworkSelectFunctionality(true)
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//MARK: - Camera session methods
|
//MARK: - Camera session methods
|
||||||
extension ItemImagePickerViewController: UIImagePickerControllerDelegate {
|
extension ItemImagePickerViewController: UIImagePickerControllerDelegate {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
//MARK: - UIPickerViewDelegate
|
||||||
|
extension ItemImagePickerViewController: UIPickerViewDelegate {
|
||||||
|
|
||||||
|
// Catpure the picker view selection
|
||||||
|
func pickerView(pickerView: UIPickerView, didSelectRow row: Int, inComponent component: Int) {
|
||||||
|
// This method is triggered whenever the user makes a change to the picker selection.
|
||||||
|
// The parameter named row and component represents what was selected.
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
//MARK: - UIPickerViewDatasource
|
||||||
|
extension ItemImagePickerViewController: UIPickerViewDataSource {
|
||||||
|
|
||||||
|
// The number of columns of data
|
||||||
|
func numberOfComponentsInPickerView(pickerView: UIPickerView) -> Int {
|
||||||
|
return 1
|
||||||
|
}
|
||||||
|
|
||||||
|
// The number of rows of data
|
||||||
|
func pickerView(pickerView: UIPickerView, numberOfRowsInComponent component: Int) -> Int {
|
||||||
|
return pickerData.count
|
||||||
|
}
|
||||||
|
|
||||||
|
// The data to return for the row and component (column) that's being passed in
|
||||||
|
func pickerView(pickerView: UIPickerView, titleForRow row: Int, forComponent component: Int) -> String? {
|
||||||
|
return pickerData[row]
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//Mark: - IBActions
|
//Mark: - IBActions
|
||||||
extension ItemImagePickerViewController {
|
extension ItemImagePickerViewController {
|
||||||
|
|
||||||
@IBAction func chooseSellerNetworks(sender: AnyObject) {
|
@IBAction func chooseSellerNetworks(sender: AnyObject) {
|
||||||
|
|
||||||
|
//segue to networks selection
|
||||||
|
self.performSegueWithIdentifier("SelectNetworkSegue", sender: self)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -11,6 +11,7 @@ import UIKit
|
|||||||
class EbayTableViewCell: UITableViewCell {
|
class EbayTableViewCell: UITableViewCell {
|
||||||
@IBOutlet weak var networkToggle: UISwitch!
|
@IBOutlet weak var networkToggle: UISwitch!
|
||||||
|
|
||||||
|
|
||||||
override func awakeFromNib() {
|
override func awakeFromNib() {
|
||||||
super.awakeFromNib()
|
super.awakeFromNib()
|
||||||
// Initialization code
|
// Initialization code
|
||||||
|
|||||||
@ -23,6 +23,10 @@ class NetworksTableViewController: UIViewController {
|
|||||||
//IBOutlets
|
//IBOutlets
|
||||||
@IBOutlet weak var tableView: UITableView!
|
@IBOutlet weak var tableView: UITableView!
|
||||||
|
|
||||||
|
//class variables
|
||||||
|
private var networkToggleOrSelect: Bool = false
|
||||||
|
private var networksDictionary: Dictionary<String, Bool> = ["ebay":false, "amazon":false,"etsy":false,"facebook":false]
|
||||||
|
|
||||||
|
|
||||||
//temporary class variables /*TESTING*/
|
//temporary class variables /*TESTING*/
|
||||||
let etsyManager = EtsyRESTAPIManager()
|
let etsyManager = EtsyRESTAPIManager()
|
||||||
@ -47,13 +51,10 @@ class NetworksTableViewController: UIViewController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//set the class boolean in order to choose what toggling each network does
|
||||||
|
func setNetworkSelectFunctionality(bool: Bool){
|
||||||
|
self.networkToggleOrSelect = bool
|
||||||
|
}
|
||||||
/*
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -85,6 +86,10 @@ extension NetworksTableViewController: UITableViewDataSource {
|
|||||||
|
|
||||||
let cell: UITableViewCell!
|
let cell: UITableViewCell!
|
||||||
|
|
||||||
|
//case where class is being used in new item posting workflow to select which network to sell on
|
||||||
|
//may hide future networks that don't apply to a listing
|
||||||
|
if(self.networkToggleOrSelect){
|
||||||
|
|
||||||
switch (indexPath.row){
|
switch (indexPath.row){
|
||||||
|
|
||||||
case 0:
|
case 0:
|
||||||
@ -105,6 +110,33 @@ extension NetworksTableViewController: UITableViewDataSource {
|
|||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
|
||||||
|
//case where class is being used to authorize a network for the app to post on
|
||||||
|
switch (indexPath.row){
|
||||||
|
|
||||||
|
case 0:
|
||||||
|
//loads network cell for ebay
|
||||||
|
cell = (self.tableView.dequeueReusableCellWithIdentifier("ebay", forIndexPath: indexPath) as! EbayTableViewCell)
|
||||||
|
break
|
||||||
|
case 1:
|
||||||
|
//loads network cell for amazon
|
||||||
|
cell = (self.tableView.dequeueReusableCellWithIdentifier("amazon", forIndexPath: indexPath) as! AmazonTableViewCell)
|
||||||
|
break
|
||||||
|
case 2:
|
||||||
|
//loads network cell for etsy
|
||||||
|
cell = (self.tableView.dequeueReusableCellWithIdentifier("etsy", forIndexPath: indexPath) as! EtsyTableViewCell)
|
||||||
|
break
|
||||||
|
default:
|
||||||
|
//loads network cell for ebay
|
||||||
|
cell = (self.tableView.dequeueReusableCellWithIdentifier("facebook", forIndexPath: indexPath) as! FBTableViewCell)
|
||||||
|
break
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Configure the cell (in this case show or hide the cell depending on which network the item is being listed on)
|
// Configure the cell (in this case show or hide the cell depending on which network the item is being listed on)
|
||||||
|
|
||||||
@ -121,6 +153,150 @@ extension NetworksTableViewController: UITableViewDelegate {
|
|||||||
|
|
||||||
func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) {
|
func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) {
|
||||||
|
|
||||||
|
//case where class is being used in new item posting workflow to select which network to sell on
|
||||||
|
if(self.networkToggleOrSelect){
|
||||||
|
|
||||||
|
switch (indexPath.row){
|
||||||
|
case 0:
|
||||||
|
let cell: EbayTableViewCell!
|
||||||
|
cell = (self.tableView.dequeueReusableCellWithIdentifier("ebay", forIndexPath: indexPath) as! EbayTableViewCell)
|
||||||
|
cell.setSelected(false, animated: false)
|
||||||
|
|
||||||
|
//selection code for ebay
|
||||||
|
//print(cell.networkToggle.on)
|
||||||
|
if(cell.networkToggle.on){
|
||||||
|
|
||||||
|
|
||||||
|
cell.networkToggle.setOn(false, animated: true)
|
||||||
|
cell.networkToggle.on = false
|
||||||
|
|
||||||
|
|
||||||
|
//code to deselect network
|
||||||
|
self.networksDictionary["ebay"] = false
|
||||||
|
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
|
||||||
|
cell.networkToggle.setOn(true, animated: true)
|
||||||
|
cell.networkToggle.on = true
|
||||||
|
|
||||||
|
//code to select network
|
||||||
|
self.networksDictionary["ebay"] = true
|
||||||
|
}
|
||||||
|
|
||||||
|
break
|
||||||
|
case 1:
|
||||||
|
let cell: AmazonTableViewCell!
|
||||||
|
cell = (self.tableView.dequeueReusableCellWithIdentifier("amazon", forIndexPath: indexPath) as! AmazonTableViewCell)
|
||||||
|
cell.setSelected(false, animated: false)
|
||||||
|
|
||||||
|
|
||||||
|
//selection code for amazon
|
||||||
|
if(cell.networkToggle.on == true){
|
||||||
|
|
||||||
|
dispatch_async(dispatch_get_main_queue(), { () -> Void in
|
||||||
|
cell.networkToggle.setOn(false, animated: true)
|
||||||
|
})
|
||||||
|
//code to deselect network
|
||||||
|
self.networksDictionary["amazon"] = false
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
|
||||||
|
dispatch_async(dispatch_get_main_queue(), { () -> Void in
|
||||||
|
cell.networkToggle.setOn(true, animated: true)
|
||||||
|
})
|
||||||
|
//code to select network
|
||||||
|
self.networksDictionary["amazon"] = true
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
break
|
||||||
|
|
||||||
|
|
||||||
|
case 2:
|
||||||
|
let cell: EtsyTableViewCell!
|
||||||
|
|
||||||
|
cell = (self.tableView.dequeueReusableCellWithIdentifier("etsy", forIndexPath: indexPath) as! EtsyTableViewCell)
|
||||||
|
cell.setSelected(false, animated: false)
|
||||||
|
|
||||||
|
|
||||||
|
//selection code for etsy
|
||||||
|
if(cell.networkToggle.on == true){
|
||||||
|
|
||||||
|
dispatch_async(dispatch_get_main_queue(), { () -> Void in
|
||||||
|
cell.networkToggle.setOn(false, animated: true)
|
||||||
|
})
|
||||||
|
|
||||||
|
//code to deselect network
|
||||||
|
self.networksDictionary["etsy"] = false
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
|
||||||
|
dispatch_async(dispatch_get_main_queue(), { () -> Void in
|
||||||
|
cell.networkToggle.setOn(true, animated: true)
|
||||||
|
})
|
||||||
|
//code to select network
|
||||||
|
self.networksDictionary["etsy"] = true
|
||||||
|
|
||||||
|
|
||||||
|
//this is the type of code desired to access the rest management classes
|
||||||
|
/*
|
||||||
|
let tabBar = self.tabBarController
|
||||||
|
(tabBar as? HomeViewController)?.etsyManager.authorizeApp(self)
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
break
|
||||||
|
|
||||||
|
default:
|
||||||
|
|
||||||
|
let cell: FBTableViewCell!
|
||||||
|
|
||||||
|
cell = (self.tableView.dequeueReusableCellWithIdentifier("facebook", forIndexPath: indexPath) as! FBTableViewCell)
|
||||||
|
cell.setSelected(false, animated: false)
|
||||||
|
|
||||||
|
|
||||||
|
//selection code for facebook
|
||||||
|
if(cell.networkToggle.on == true){
|
||||||
|
|
||||||
|
dispatch_async(dispatch_get_main_queue(), { () -> Void in
|
||||||
|
cell.networkToggle.setOn(false, animated: true)
|
||||||
|
})
|
||||||
|
|
||||||
|
//code to deselect network
|
||||||
|
self.networksDictionary["facebook"] = false
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
|
||||||
|
dispatch_async(dispatch_get_main_queue(), { () -> Void in
|
||||||
|
cell.networkToggle.setOn(true, animated: true)
|
||||||
|
})
|
||||||
|
//code to select network
|
||||||
|
self.networksDictionary["facebook"] = true
|
||||||
|
|
||||||
|
//this is the type of code desired to access the REST management classes
|
||||||
|
/*
|
||||||
|
let tabBar = self.tabBarController
|
||||||
|
(tabBar as? HomeViewController)?.fbGraphManager.authorizeApp(self)
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
break
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
|
||||||
|
//case where class is being used to authorize a network for the app to post on
|
||||||
switch (indexPath.row){
|
switch (indexPath.row){
|
||||||
case 0:
|
case 0:
|
||||||
let cell: EbayTableViewCell!
|
let cell: EbayTableViewCell!
|
||||||
@ -249,6 +425,9 @@ extension NetworksTableViewController: UITableViewDelegate {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
// Override to support conditional editing of the table view.
|
// Override to support conditional editing of the table view.
|
||||||
override func tableView(tableView: UITableView, canEditRowAtIndexPath indexPath: NSIndexPath) -> Bool {
|
override func tableView(tableView: UITableView, canEditRowAtIndexPath indexPath: NSIndexPath) -> Bool {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user