mirror of
https://github.com/zhigang1992/ZGParallelView.git
synced 2026-03-26 22:33:49 +08:00
Ver 0.1
This commit is contained in:
@@ -7,6 +7,10 @@
|
||||
objects = {
|
||||
|
||||
/* Begin PBXBuildFile section */
|
||||
04480006169B052100B99646 /* DemoTableViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 04480005169B052100B99646 /* DemoTableViewController.m */; };
|
||||
0448000F169B091000B99646 /* ZG.png in Resources */ = {isa = PBXBuildFile; fileRef = 0448000E169B091000B99646 /* ZG.png */; };
|
||||
04480019169B246900B99646 /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 04480018169B246900B99646 /* QuartzCore.framework */; };
|
||||
0448001C169B285400B99646 /* UITableView+ZGParallelView.m in Sources */ = {isa = PBXBuildFile; fileRef = 0448001B169B285400B99646 /* UITableView+ZGParallelView.m */; };
|
||||
0448FFCA169B04E500B99646 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0448FFC9169B04E500B99646 /* UIKit.framework */; };
|
||||
0448FFCC169B04E500B99646 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0448FFCB169B04E500B99646 /* Foundation.framework */; };
|
||||
0448FFCE169B04E500B99646 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0448FFCD169B04E500B99646 /* CoreGraphics.framework */; };
|
||||
@@ -17,7 +21,6 @@
|
||||
0448FFDE169B04E500B99646 /* Default@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 0448FFDD169B04E500B99646 /* Default@2x.png */; };
|
||||
0448FFE0169B04E500B99646 /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 0448FFDF169B04E500B99646 /* Default-568h@2x.png */; };
|
||||
0448FFE3169B04E500B99646 /* MainStoryboard.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 0448FFE1169B04E500B99646 /* MainStoryboard.storyboard */; };
|
||||
0448FFE6169B04E500B99646 /* ZGViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 0448FFE5169B04E500B99646 /* ZGViewController.m */; };
|
||||
0448FFEE169B04E500B99646 /* SenTestingKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0448FFED169B04E500B99646 /* SenTestingKit.framework */; };
|
||||
0448FFEF169B04E500B99646 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0448FFC9169B04E500B99646 /* UIKit.framework */; };
|
||||
0448FFF0169B04E500B99646 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0448FFCB169B04E500B99646 /* Foundation.framework */; };
|
||||
@@ -36,6 +39,12 @@
|
||||
/* End PBXContainerItemProxy section */
|
||||
|
||||
/* Begin PBXFileReference section */
|
||||
04480004169B052100B99646 /* DemoTableViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DemoTableViewController.h; sourceTree = "<group>"; };
|
||||
04480005169B052100B99646 /* DemoTableViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DemoTableViewController.m; sourceTree = "<group>"; };
|
||||
0448000E169B091000B99646 /* ZG.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = ZG.png; sourceTree = "<group>"; };
|
||||
04480018169B246900B99646 /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = System/Library/Frameworks/QuartzCore.framework; sourceTree = SDKROOT; };
|
||||
0448001A169B285300B99646 /* UITableView+ZGParallelView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "UITableView+ZGParallelView.h"; path = "Class/UITableView+ZGParallelView.h"; sourceTree = "<group>"; };
|
||||
0448001B169B285400B99646 /* UITableView+ZGParallelView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = "UITableView+ZGParallelView.m"; path = "Class/UITableView+ZGParallelView.m"; sourceTree = "<group>"; };
|
||||
0448FFC5169B04E500B99646 /* ZGParallelViewForTable.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ZGParallelViewForTable.app; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
0448FFC9169B04E500B99646 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
|
||||
0448FFCB169B04E500B99646 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
|
||||
@@ -50,8 +59,6 @@
|
||||
0448FFDD169B04E500B99646 /* Default@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default@2x.png"; sourceTree = "<group>"; };
|
||||
0448FFDF169B04E500B99646 /* Default-568h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-568h@2x.png"; sourceTree = "<group>"; };
|
||||
0448FFE2169B04E500B99646 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = en; path = en.lproj/MainStoryboard.storyboard; sourceTree = "<group>"; };
|
||||
0448FFE4169B04E500B99646 /* ZGViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ZGViewController.h; sourceTree = "<group>"; };
|
||||
0448FFE5169B04E500B99646 /* ZGViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ZGViewController.m; sourceTree = "<group>"; };
|
||||
0448FFEC169B04E500B99646 /* ZGParallelViewForTableTests.octest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ZGParallelViewForTableTests.octest; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
0448FFED169B04E500B99646 /* SenTestingKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SenTestingKit.framework; path = Library/Frameworks/SenTestingKit.framework; sourceTree = DEVELOPER_DIR; };
|
||||
0448FFF5169B04E500B99646 /* ZGParallelViewForTableTests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "ZGParallelViewForTableTests-Info.plist"; sourceTree = "<group>"; };
|
||||
@@ -65,6 +72,7 @@
|
||||
isa = PBXFrameworksBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
04480019169B246900B99646 /* QuartzCore.framework in Frameworks */,
|
||||
0448FFCA169B04E500B99646 /* UIKit.framework in Frameworks */,
|
||||
0448FFCC169B04E500B99646 /* Foundation.framework in Frameworks */,
|
||||
0448FFCE169B04E500B99646 /* CoreGraphics.framework in Frameworks */,
|
||||
@@ -87,6 +95,8 @@
|
||||
0448FFBA169B04E500B99646 = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
0448001A169B285300B99646 /* UITableView+ZGParallelView.h */,
|
||||
0448001B169B285400B99646 /* UITableView+ZGParallelView.m */,
|
||||
0448FFCF169B04E500B99646 /* ZGParallelViewForTable */,
|
||||
0448FFF3169B04E500B99646 /* ZGParallelViewForTableTests */,
|
||||
0448FFC8169B04E500B99646 /* Frameworks */,
|
||||
@@ -106,6 +116,7 @@
|
||||
0448FFC8169B04E500B99646 /* Frameworks */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
04480018169B246900B99646 /* QuartzCore.framework */,
|
||||
0448FFC9169B04E500B99646 /* UIKit.framework */,
|
||||
0448FFCB169B04E500B99646 /* Foundation.framework */,
|
||||
0448FFCD169B04E500B99646 /* CoreGraphics.framework */,
|
||||
@@ -117,11 +128,12 @@
|
||||
0448FFCF169B04E500B99646 /* ZGParallelViewForTable */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
04480004169B052100B99646 /* DemoTableViewController.h */,
|
||||
04480005169B052100B99646 /* DemoTableViewController.m */,
|
||||
0448FFD8169B04E500B99646 /* ZGAppDelegate.h */,
|
||||
0448FFD9169B04E500B99646 /* ZGAppDelegate.m */,
|
||||
0448FFE1169B04E500B99646 /* MainStoryboard.storyboard */,
|
||||
0448FFE4169B04E500B99646 /* ZGViewController.h */,
|
||||
0448FFE5169B04E500B99646 /* ZGViewController.m */,
|
||||
0448000E169B091000B99646 /* ZG.png */,
|
||||
0448FFD0169B04E500B99646 /* Supporting Files */,
|
||||
);
|
||||
path = ZGParallelViewForTable;
|
||||
@@ -237,6 +249,7 @@
|
||||
0448FFDE169B04E500B99646 /* Default@2x.png in Resources */,
|
||||
0448FFE0169B04E500B99646 /* Default-568h@2x.png in Resources */,
|
||||
0448FFE3169B04E500B99646 /* MainStoryboard.storyboard in Resources */,
|
||||
0448000F169B091000B99646 /* ZG.png in Resources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
@@ -273,7 +286,8 @@
|
||||
files = (
|
||||
0448FFD6169B04E500B99646 /* main.m in Sources */,
|
||||
0448FFDA169B04E500B99646 /* ZGAppDelegate.m in Sources */,
|
||||
0448FFE6169B04E500B99646 /* ZGViewController.m in Sources */,
|
||||
04480006169B052100B99646 /* DemoTableViewController.m in Sources */,
|
||||
0448001C169B285400B99646 /* UITableView+ZGParallelView.m in Sources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// ZGViewController.h
|
||||
// DemoTableViewController.h
|
||||
// ZGParallelViewForTable
|
||||
//
|
||||
// Created by Kyle Fang on 1/7/13.
|
||||
@@ -8,6 +8,6 @@
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface ZGViewController : UIViewController
|
||||
@interface DemoTableViewController : UITableViewController
|
||||
|
||||
@end
|
||||
87
ZGParallelViewForTable/DemoTableViewController.m
Normal file
87
ZGParallelViewForTable/DemoTableViewController.m
Normal file
@@ -0,0 +1,87 @@
|
||||
//
|
||||
// DemoTableViewController.m
|
||||
// ZGParallelViewForTable
|
||||
//
|
||||
// Created by Kyle Fang on 1/7/13.
|
||||
// Copyright (c) 2013 kylefang. All rights reserved.
|
||||
//
|
||||
|
||||
#import <QuartzCore/QuartzCore.h>
|
||||
#import "DemoTableViewController.h"
|
||||
#import "UITableView+ZGParallelView.h"
|
||||
|
||||
@interface DemoTableViewController ()
|
||||
@property (strong, nonatomic) IBOutlet UIView *awesomeZG;
|
||||
@property (strong, nonatomic) IBOutlet UIScrollView *headerScrollView;
|
||||
@property (strong, nonatomic) IBOutlet UIPageControl *headerPageControl;
|
||||
@property (strong, nonatomic) IBOutlet UIView *contontView;
|
||||
@property (strong, nonatomic) IBOutlet UIImageView *avatar;
|
||||
@property (nonatomic) BOOL usedPageControl;
|
||||
@end
|
||||
|
||||
@implementation DemoTableViewController
|
||||
|
||||
- (void)viewDidLoad
|
||||
{
|
||||
[super viewDidLoad];
|
||||
|
||||
self.headerScrollView.contentSize = self.contontView.frame.size;
|
||||
[self.avatar.layer setCornerRadius:5.f];
|
||||
[self.avatar.layer setMasksToBounds:YES];
|
||||
|
||||
#warning init with or without displayRadio. This is the first line of code
|
||||
//[self.tableView addParallelViewWithUIView:self.awesomeZG];
|
||||
[self.tableView addParallelViewWithUIView:self.awesomeZG withDisplayRadio:0.5];
|
||||
|
||||
}
|
||||
|
||||
- (void)scrollViewDidScroll:(UIScrollView *)scrollView{
|
||||
|
||||
CGFloat xOffSet = scrollView.contentOffset.x;
|
||||
|
||||
if (xOffSet != 0) {
|
||||
CGFloat pageWidth = self.headerScrollView.frame.size.width;
|
||||
CGFloat alphaForContentView = xOffSet/pageWidth;
|
||||
if (alphaForContentView > 1.f) {
|
||||
alphaForContentView = 1.f;
|
||||
} else if (alphaForContentView < 0) {
|
||||
alphaForContentView = 0;
|
||||
}
|
||||
self.headerScrollView.backgroundColor = [UIColor colorWithWhite:0 alpha:0.7*alphaForContentView];
|
||||
if (!self.usedPageControl) {
|
||||
int page = floor((xOffSet - pageWidth / 2) / pageWidth) + 1;
|
||||
self.headerPageControl.currentPage = page;
|
||||
}
|
||||
}
|
||||
|
||||
#warning You must call this method here, inside scrollViewDidScroll: this is the second line of code
|
||||
[self.tableView updateParallelView];
|
||||
}
|
||||
|
||||
- (void)scrollViewWillBeginDragging:(UIScrollView *)scrollView{
|
||||
if (scrollView == self.headerScrollView) {
|
||||
self.usedPageControl = NO;
|
||||
}
|
||||
}
|
||||
|
||||
- (void)scrollViewDidEndDecelerating:(UIScrollView *)scrollView{
|
||||
if (scrollView == self.headerScrollView) {
|
||||
self.usedPageControl = NO;
|
||||
}
|
||||
}
|
||||
|
||||
- (IBAction)pageChanged:(UIPageControl *)sender {
|
||||
CGFloat headerViewWidth = self.headerScrollView.frame.size.width;
|
||||
CGRect frame = self.headerScrollView.frame;
|
||||
frame.origin = CGPointMake(headerViewWidth*sender.currentPage, 0);
|
||||
self.usedPageControl = YES;
|
||||
[self.headerScrollView scrollRectToVisible:frame animated:YES];
|
||||
}
|
||||
|
||||
- (void)didReceiveMemoryWarning
|
||||
{
|
||||
[super didReceiveMemoryWarning];
|
||||
// Dispose of any resources that can be recreated.
|
||||
}
|
||||
|
||||
@end
|
||||
BIN
ZGParallelViewForTable/ZG.png
Normal file
BIN
ZGParallelViewForTable/ZG.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 49 KiB |
@@ -1,29 +0,0 @@
|
||||
//
|
||||
// ZGViewController.m
|
||||
// ZGParallelViewForTable
|
||||
//
|
||||
// Created by Kyle Fang on 1/7/13.
|
||||
// Copyright (c) 2013 kylefang. All rights reserved.
|
||||
//
|
||||
|
||||
#import "ZGViewController.h"
|
||||
|
||||
@interface ZGViewController ()
|
||||
|
||||
@end
|
||||
|
||||
@implementation ZGViewController
|
||||
|
||||
- (void)viewDidLoad
|
||||
{
|
||||
[super viewDidLoad];
|
||||
// Do any additional setup after loading the view, typically from a nib.
|
||||
}
|
||||
|
||||
- (void)didReceiveMemoryWarning
|
||||
{
|
||||
[super didReceiveMemoryWarning];
|
||||
// Dispose of any resources that can be recreated.
|
||||
}
|
||||
|
||||
@end
|
||||
@@ -1,23 +1,142 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="2.0" toolsVersion="2519" systemVersion="12A206j" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" initialViewController="2">
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="2.0" toolsVersion="2844" systemVersion="12C60" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" initialViewController="gTM-y4-tcx">
|
||||
<dependencies>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="1856"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="1930"/>
|
||||
</dependencies>
|
||||
<scenes>
|
||||
<!--class Prefix:identifier View Controller-->
|
||||
<scene sceneID="5">
|
||||
<!--Demo Table View Controller-->
|
||||
<scene sceneID="AOJ-ig-fad">
|
||||
<objects>
|
||||
<viewController id="2" customClass="ZGViewController" sceneMemberID="viewController">
|
||||
<view key="view" contentMode="scaleToFill" id="3">
|
||||
<rect key="frame" x="0.0" y="20" width="320" height="460"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
|
||||
</view>
|
||||
</viewController>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="4" sceneMemberID="firstResponder"/>
|
||||
<tableViewController id="gTM-y4-tcx" customClass="DemoTableViewController" sceneMemberID="viewController">
|
||||
<tableView key="view" opaque="NO" clipsSubviews="YES" clearsContextBeforeDrawing="NO" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="static" style="grouped" separatorStyle="singleLineEtched" rowHeight="44" sectionHeaderHeight="10" sectionFooterHeight="10" id="8bH-TK-Vsl">
|
||||
<rect key="frame" x="0.0" y="20" width="320" height="548"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/>
|
||||
<sections>
|
||||
<tableViewSection footerTitle="ZGParallelViewForTable looks like Parallax. yet, sepcailly design for UITableView. you can use it with two code." id="HxM-9n-icu">
|
||||
<cells>
|
||||
<tableViewCell contentMode="scaleToFill" selectionStyle="blue" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" textLabel="wzz-RT-3UN" style="IBUITableViewCellStyleDefault" id="jK1-Og-j9t">
|
||||
<rect key="frame" x="0.0" y="10" width="320" height="46"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
|
||||
<rect key="frame" x="10" y="1" width="300" height="43"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<label opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="left" text="Work with either UITableView style" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="wzz-RT-3UN">
|
||||
<rect key="frame" x="10" y="0.0" width="281" height="43"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<fontDescription key="fontDescription" type="boldSystem" pointSize="17"/>
|
||||
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
|
||||
<color key="highlightedColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
|
||||
</label>
|
||||
</subviews>
|
||||
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
|
||||
</view>
|
||||
</tableViewCell>
|
||||
</cells>
|
||||
</tableViewSection>
|
||||
</sections>
|
||||
<connections>
|
||||
<outlet property="dataSource" destination="gTM-y4-tcx" id="UGv-Md-0aa"/>
|
||||
<outlet property="delegate" destination="gTM-y4-tcx" id="IXc-kz-SxS"/>
|
||||
</connections>
|
||||
</tableView>
|
||||
<connections>
|
||||
<outlet property="avatar" destination="yPA-eL-TPW" id="iAb-Pc-PBK"/>
|
||||
<outlet property="awesomeZG" destination="bee-LU-tfe" id="3eJ-kL-azb"/>
|
||||
<outlet property="contontView" destination="aPQ-p0-eIt" id="bZE-pf-c43"/>
|
||||
<outlet property="headerPageControl" destination="D9H-RK-jzY" id="w6F-Qm-beI"/>
|
||||
<outlet property="headerScrollView" destination="2Ks-F2-Hb5" id="hco-v4-NmU"/>
|
||||
</connections>
|
||||
</tableViewController>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="1FK-mV-cnb" userLabel="First Responder" sceneMemberID="firstResponder"/>
|
||||
<view contentMode="scaleToFill" id="bee-LU-tfe">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="320"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" image="ZG.png" id="hSf-Q0-jeJ">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="320"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
</imageView>
|
||||
<scrollView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" pagingEnabled="YES" showsHorizontalScrollIndicator="NO" showsVerticalScrollIndicator="NO" id="2Ks-F2-Hb5">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="320"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<subviews>
|
||||
<view contentMode="scaleToFill" id="aPQ-p0-eIt">
|
||||
<rect key="frame" x="0.0" y="80" width="640" height="160"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<subviews>
|
||||
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" image="ZG.png" id="yPA-eL-TPW">
|
||||
<rect key="frame" x="130" y="20" width="60" height="60"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
|
||||
</imageView>
|
||||
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="@F_ZG" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="iQj-qO-KO3">
|
||||
<rect key="frame" x="84" y="86" width="152" height="20"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<fontDescription key="fontDescription" type="boldSystem" pointSize="15"/>
|
||||
<color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
|
||||
<nil key="highlightedColor"/>
|
||||
<color key="shadowColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/>
|
||||
<size key="shadowOffset" width="1" height="1"/>
|
||||
</label>
|
||||
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Follow me on Twitter ;D" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="MvE-YJ-clp">
|
||||
<rect key="frame" x="60" y="111" width="199" height="19"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="14"/>
|
||||
<color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
|
||||
<nil key="highlightedColor"/>
|
||||
<color key="shadowColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/>
|
||||
<size key="shadowOffset" width="1" height="1"/>
|
||||
</label>
|
||||
<textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" editable="NO" textAlignment="center" id="uOs-BF-Eec">
|
||||
<rect key="frame" x="320" y="41" width="320" height="79"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
|
||||
<string key="text">It doesn't matter how slow you go,
|
||||
as long as you don't stop.</string>
|
||||
<color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="16"/>
|
||||
<textInputTraits key="textInputTraits" autocapitalizationType="sentences"/>
|
||||
</textView>
|
||||
</subviews>
|
||||
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
|
||||
</view>
|
||||
</subviews>
|
||||
<connections>
|
||||
<outlet property="delegate" destination="gTM-y4-tcx" id="Gmw-AP-Ot9"/>
|
||||
</connections>
|
||||
</scrollView>
|
||||
<pageControl opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" numberOfPages="2" id="D9H-RK-jzY">
|
||||
<rect key="frame" x="20" y="204" width="280" height="36"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<connections>
|
||||
<action selector="pageChanged:" destination="gTM-y4-tcx" eventType="valueChanged" id="aMe-es-nhH"/>
|
||||
</connections>
|
||||
</pageControl>
|
||||
</subviews>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
|
||||
</view>
|
||||
</objects>
|
||||
<point key="canvasLocation" x="389" y="73"/>
|
||||
</scene>
|
||||
</scenes>
|
||||
<resources>
|
||||
<image name="ZG.png" width="1024" height="1024"/>
|
||||
</resources>
|
||||
<classes>
|
||||
<class className="DemoTableViewController" superclassName="UITableViewController">
|
||||
<source key="sourceIdentifier" type="project" relativePath="./Classes/DemoTableViewController.h"/>
|
||||
<relationships>
|
||||
<relationship kind="action" name="pageChanged:" candidateClass="UIPageControl"/>
|
||||
<relationship kind="outlet" name="avatar" candidateClass="UIImageView"/>
|
||||
<relationship kind="outlet" name="awesomeZG" candidateClass="UIView"/>
|
||||
<relationship kind="outlet" name="contontView" candidateClass="UIView"/>
|
||||
<relationship kind="outlet" name="headerPageControl" candidateClass="UIPageControl"/>
|
||||
<relationship kind="outlet" name="headerScrollView" candidateClass="UIScrollView"/>
|
||||
</relationships>
|
||||
</class>
|
||||
</classes>
|
||||
<simulatedMetricsContainer key="defaultSimulatedMetrics">
|
||||
<simulatedStatusBarMetrics key="statusBar"/>
|
||||
<simulatedOrientationMetrics key="orientation"/>
|
||||
|
||||
Reference in New Issue
Block a user