Skip to content

Commit

Permalink
Add projects data and show it on AboutMeTableViewController
Browse files Browse the repository at this point in the history
  • Loading branch information
filipealva committed Apr 25, 2015
1 parent f78f465 commit 0edae40
Show file tree
Hide file tree
Showing 22 changed files with 273 additions and 57 deletions.
8 changes: 8 additions & 0 deletions Filipe Alvarenga.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
034279861AEB643B00F7EF21 /* CustomAppearance.swift in Sources */ = {isa = PBXBuildFile; fileRef = 034279851AEB643B00F7EF21 /* CustomAppearance.swift */; };
034279881AEB64FA00F7EF21 /* AboutMeTableViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 034279871AEB64FA00F7EF21 /* AboutMeTableViewController.swift */; };
0342798C1AEB732F00F7EF21 /* ProjectCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = 0342798A1AEB732F00F7EF21 /* ProjectCell.xib */; };
0342798E1AEC0A6100F7EF21 /* Project.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0342798D1AEC0A6100F7EF21 /* Project.swift */; };
034279901AEC0B5C00F7EF21 /* ProjectTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0342798F1AEC0B5C00F7EF21 /* ProjectTableViewCell.swift */; };
035E87261AE1D1ED00654B32 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 035E87251AE1D1ED00654B32 /* AppDelegate.swift */; };
035E872B1AE1D1ED00654B32 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 035E87291AE1D1ED00654B32 /* Main.storyboard */; };
035E872D1AE1D1ED00654B32 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 035E872C1AE1D1ED00654B32 /* Images.xcassets */; };
Expand Down Expand Up @@ -57,6 +59,8 @@
034279851AEB643B00F7EF21 /* CustomAppearance.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = CustomAppearance.swift; path = Model/CustomAppearance.swift; sourceTree = "<group>"; };
034279871AEB64FA00F7EF21 /* AboutMeTableViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = AboutMeTableViewController.swift; path = Controller/AboutMeTableViewController.swift; sourceTree = "<group>"; };
0342798B1AEB732F00F7EF21 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/ProjectCell.xib; sourceTree = "<group>"; };
0342798D1AEC0A6100F7EF21 /* Project.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = Project.swift; path = Model/Project.swift; sourceTree = "<group>"; };
0342798F1AEC0B5C00F7EF21 /* ProjectTableViewCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = ProjectTableViewCell.swift; path = View/ProjectTableViewCell.swift; sourceTree = "<group>"; };
035E87201AE1D1ED00654B32 /* Filipe Alvarenga.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Filipe Alvarenga.app"; sourceTree = BUILT_PRODUCTS_DIR; };
035E87241AE1D1ED00654B32 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
035E87251AE1D1ED00654B32 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -186,6 +190,7 @@
isa = PBXGroup;
children = (
03C21F821AE49B570033F89A /* Story.swift */,
0342798D1AEC0A6100F7EF21 /* Project.swift */,
034279851AEB643B00F7EF21 /* CustomAppearance.swift */,
);
name = Model;
Expand All @@ -198,6 +203,7 @@
03D99B5F1AE93F7600E4CC77 /* LaunchScreen.xib */,
034279891AEB721A00F7EF21 /* Dots & Greetings */,
0342798A1AEB732F00F7EF21 /* ProjectCell.xib */,
0342798F1AEC0B5C00F7EF21 /* ProjectTableViewCell.swift */,
);
name = View;
sourceTree = "<group>";
Expand Down Expand Up @@ -369,6 +375,8 @@
03D99B6D1AE9712C00E4CC77 /* FBShimmeringView.m in Sources */,
035E87521AE1D7E200654B32 /* DotsViewController.swift in Sources */,
034279861AEB643B00F7EF21 /* CustomAppearance.swift in Sources */,
034279901AEC0B5C00F7EF21 /* ProjectTableViewCell.swift in Sources */,
0342798E1AEC0A6100F7EF21 /* Project.swift in Sources */,
0376061C1AE29DEE00855F6A /* DotView.swift in Sources */,
034279881AEB64FA00F7EF21 /* AboutMeTableViewController.swift in Sources */,
03C21F831AE49B570033F89A /* Story.swift in Sources */,
Expand Down
40 changes: 39 additions & 1 deletion Filipe Alvarenga/AboutMe.plist
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,45 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Stories</key>
<key>education</key>
<array/>
<key>projects</key>
<array>
<dict>
<key>name</key>
<string>LimPOA - Smart Waste Disposal</string>
<key>description</key>
<string>LimPOA is the easiest way to find places where you can dispose your waste in an environmentally-friendly manner in the city of Porto Alegre, delivery points of frying oil, bins and containers. You have a list of the closest places to you, separated by categories. Also you can see informations as telephone, opening hours and address. Do not know the address? Trace a route on map through LimPOA, is very simple! The data of selective waste collection points, bins and containers are powered by the city of Porto Alegre through the project #datapoa.</string>
<key>imageName</key>
<string>limpoa-icon</string>
<key>appstore</key>
<string>https://itunes.apple.com/us/app/limpoa/id895973608?mt=8</string>
</dict>
<dict>
<key>name</key>
<string>Cepp - Easily Find Addresses.</string>
<key>description</key>
<string>A simple application that can find details about an address based on a given zipcode (a.k.a CEP in Brazil). The user also can trace a route in the map using througt Cepp. This app works just with brazilians zipcodes and are available only in the brazilian AppStore.</string>
<key>imageName</key>
<string>cepp-icon</string>
<key>appstore</key>
<string>https://itunes.apple.com/br/app/cepp-encontre-ceps/id942709971?ls=1&amp;mt=8</string>
</dict>
<dict>
<key>name</key>
<string>Clip - Find the Better Beauty Service</string>
<key>description</key>
<string>Clip is a brand new social network that connect customers with beauty centers and professionals.
With Clip you can follow your favorite beauty professionals, receive their portfolio updates and share with your friends. Also you can discover what is trending and meet a new professionals!
Discover your new favorite beauty center looking at their professionals, services and portfolios.
Favorite looks just ‘clipping’ photos you liked, manage your schedules with beauty centers in your profile and be notified about them.</string>
<key>imageName</key>
<string>clip-icon</string>
<key>appstore</key>
<string>https://itunes.apple.com/us/app/clip-encontre-os-melhores/id934942214?mt=8</string>
</dict>
</array>
<key>stories</key>
<array>
<dict>
<key>title</key>
Expand Down
66 changes: 35 additions & 31 deletions Filipe Alvarenga/Base.lproj/Main.storyboard
Original file line number Diff line number Diff line change
Expand Up @@ -185,12 +185,12 @@
<scene sceneID="vIL-LH-E1E">
<objects>
<tableViewController id="J4n-Q0-4t8" customClass="AboutMeTableViewController" customModule="Filipe_Alvarenga" customModuleProvider="target" sceneMemberID="viewController">
<tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="160" sectionHeaderHeight="22" sectionFooterHeight="22" id="xkA-2y-M1z">
<tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" allowsSelection="NO" rowHeight="160" sectionHeaderHeight="22" sectionFooterHeight="22" id="xkA-2y-M1z">
<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="calibratedWhite"/>
<view key="tableHeaderView" contentMode="scaleToFill" id="QVW-Xg-AZK">
<rect key="frame" x="0.0" y="64" width="600" height="287"/>
<rect key="frame" x="0.0" y="64" width="600" height="265"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="me" translatesAutoresizingMaskIntoConstraints="NO" id="bgR-gA-a7i">
Expand All @@ -215,32 +215,8 @@
<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="21 years old" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Swl-De-jk9">
<rect key="frame" x="41" y="252" width="253" height="21"/>
<constraints>
<constraint firstAttribute="width" constant="253" id="4Au-W1-LRW"/>
<constraint firstAttribute="height" constant="21" id="ypy-YK-yaa"/>
</constraints>
<fontDescription key="fontDescription" name="OpenSans" family="Open Sans" pointSize="14"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="location" translatesAutoresizingMaskIntoConstraints="NO" id="SXa-kI-ZtA">
<rect key="frame" x="18" y="226" width="12" height="18"/>
<constraints>
<constraint firstAttribute="width" constant="12" id="O8V-yh-u3T"/>
<constraint firstAttribute="height" constant="18" id="vnG-Mo-OkZ"/>
</constraints>
</imageView>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="info" translatesAutoresizingMaskIntoConstraints="NO" id="a9D-Lf-ROo">
<rect key="frame" x="15" y="254" width="18" height="18"/>
<constraints>
<constraint firstAttribute="width" constant="18" id="tEz-8l-f3p"/>
<constraint firstAttribute="height" constant="18" id="yub-3q-xk1"/>
</constraints>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="iOS Software Engineer" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="DFh-84-BVu">
<rect key="frame" x="182" y="161" width="236" height="21"/>
<rect key="frame" x="182" y="153" width="236" height="21"/>
<constraints>
<constraint firstAttribute="width" constant="236" id="Gwq-7T-djv"/>
<constraint firstAttribute="height" constant="21" id="RYZ-iV-V8o"/>
Expand All @@ -250,14 +226,24 @@
<nil key="highlightedColor"/>
</label>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="6Gx-3Q-Bdj">
<rect key="frame" x="0.0" y="286" width="600" height="1"/>
<rect key="frame" x="0.0" y="264" width="600" height="1"/>
<color key="backgroundColor" red="0.93725490196078431" green="0.93725490196078431" blue="0.95686274509803926" alpha="1" colorSpace="calibratedRGB"/>
<constraints>
<constraint firstAttribute="height" constant="1" id="dbZ-2V-Bu7"/>
</constraints>
</view>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="21 years old" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Swl-De-jk9">
<rect key="frame" x="41" y="230" width="253" height="21"/>
<constraints>
<constraint firstAttribute="width" constant="253" id="4Au-W1-LRW"/>
<constraint firstAttribute="height" constant="21" id="ypy-YK-yaa"/>
</constraints>
<fontDescription key="fontDescription" name="OpenSans" family="Open Sans" pointSize="14"/>
<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="Gravataí, RS, Brazil" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="LxC-b2-byA">
<rect key="frame" x="41" y="224" width="253" height="21"/>
<rect key="frame" x="41" y="202" width="253" height="21"/>
<constraints>
<constraint firstAttribute="height" constant="21" id="5gL-6T-ihJ"/>
<constraint firstAttribute="width" constant="253" id="VGc-Jc-pYA"/>
Expand All @@ -266,6 +252,20 @@
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="location" translatesAutoresizingMaskIntoConstraints="NO" id="SXa-kI-ZtA">
<rect key="frame" x="18" y="204" width="12" height="18"/>
<constraints>
<constraint firstAttribute="width" constant="12" id="O8V-yh-u3T"/>
<constraint firstAttribute="height" constant="18" id="vnG-Mo-OkZ"/>
</constraints>
</imageView>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="info" translatesAutoresizingMaskIntoConstraints="NO" id="a9D-Lf-ROo">
<rect key="frame" x="15" y="232" width="18" height="18"/>
<constraints>
<constraint firstAttribute="width" constant="18" id="tEz-8l-f3p"/>
<constraint firstAttribute="height" constant="18" id="yub-3q-xk1"/>
</constraints>
</imageView>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<constraints>
Expand All @@ -285,7 +285,7 @@
<constraint firstItem="haa-V9-0Ie" firstAttribute="top" secondItem="bgR-gA-a7i" secondAttribute="bottom" constant="8" id="lM4-oF-qbr"/>
<constraint firstItem="a9D-Lf-ROo" firstAttribute="leading" secondItem="QVW-Xg-AZK" secondAttribute="leading" constant="15" id="qHO-cd-u0x"/>
<constraint firstItem="haa-V9-0Ie" firstAttribute="centerX" secondItem="bgR-gA-a7i" secondAttribute="centerX" constant="0.5" id="tuc-WC-NEK"/>
<constraint firstItem="DFh-84-BVu" firstAttribute="top" secondItem="haa-V9-0Ie" secondAttribute="bottom" constant="8" id="zLF-fj-eBL"/>
<constraint firstItem="DFh-84-BVu" firstAttribute="top" secondItem="haa-V9-0Ie" secondAttribute="bottom" id="zLF-fj-eBL"/>
</constraints>
</view>
<sections/>
Expand All @@ -295,7 +295,11 @@
</connections>
</tableView>
<navigationItem key="navigationItem" title="About me" id="KQh-gJ-YQx">
<barButtonItem key="leftBarButtonItem" systemItem="stop" id="fq3-E5-Awf"/>
<barButtonItem key="leftBarButtonItem" systemItem="stop" id="fq3-E5-Awf">
<connections>
<action selector="closeAboutMe:" destination="J4n-Q0-4t8" id="ZOU-E6-77O"/>
</connections>
</barButtonItem>
<barButtonItem key="rightBarButtonItem" image="mail" style="done" id="2CW-ed-hED"/>
</navigationItem>
</tableViewController>
Expand Down
Loading

0 comments on commit 0edae40

Please sign in to comment.