Commits

Pierre Pagnoux committed 02f9d50

Added credits.

Comments (0)

Files changed (3)

MySoul/Base.lproj/Main.storyboard

                                 <nil key="highlightedColor"/>
                                 <size key="shadowOffset" width="0.0" height="0.0"/>
                             </label>
+                            <label hidden="YES" opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" preferredMaxLayoutWidth="440" translatesAutoresizingMaskIntoConstraints="NO" id="Yf7-he-00y">
+                                <rect key="frame" x="164" y="448" width="440" height="129"/>
+                                <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
+                                <color key="backgroundColor" red="0.070588238540000001" green="0.054901964960000001" blue="0.231372565" alpha="0.71999999999999997" colorSpace="deviceRGB"/>
+                                <string key="text">Netsoul client made by Pierre PAGNOUX
+Contact : pagnou_p@epita.fr</string>
+                                <fontDescription key="fontDescription" name="Avenir-Heavy" family="Avenir" pointSize="16"/>
+                                <color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
+                                <nil key="highlightedColor"/>
+                            </label>
                             <view autoresizesSubviews="NO" clearsContextBeforeDrawing="NO" contentMode="scaleToFill" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="7Ud-I5-gRp" userLabel="Login">
                                 <rect key="frame" x="192" y="200" width="384" height="512"/>
                                 <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
                         <color key="tintColor" cocoaTouchSystemColor="darkTextColor"/>
                     </view>
                     <connections>
+                        <outlet property="about_button" destination="TwG-U5-suz" id="D46-jb-fuh"/>
+                        <outlet property="credits" destination="Yf7-he-00y" id="QOu-u2-R9E"/>
                         <outlet property="loginView" destination="7Ud-I5-gRp" id="zgn-Vi-is5"/>
                     </connections>
                 </viewController>

MySoul/ViewController.h

 
 @interface ViewController : UIViewController
 {
-
+    IBOutlet UILabel *credits;
     IBOutlet UIView *loginView;
+    IBOutlet UIBarButtonItem *about_button;
 }
 
 - (IBAction)about:(id)sender;

MySoul/ViewController.m

 
 - (IBAction)about:(id)sender {
     [loginView setHidden:![loginView isHidden]];
+    [credits setHidden:![credits isHidden]];
 }
 @end