mirror of
https://github.com/zhigang1992/ZGParallelView.git
synced 2026-06-10 23:19:04 +08:00
Initial Commit
This commit is contained in:
BIN
ZGParallelViewForTable/Default-568h@2x.png
Normal file
BIN
ZGParallelViewForTable/Default-568h@2x.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 18 KiB |
BIN
ZGParallelViewForTable/Default.png
Normal file
BIN
ZGParallelViewForTable/Default.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6.4 KiB |
BIN
ZGParallelViewForTable/Default@2x.png
Normal file
BIN
ZGParallelViewForTable/Default@2x.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 16 KiB |
15
ZGParallelViewForTable/ZGAppDelegate.h
Normal file
15
ZGParallelViewForTable/ZGAppDelegate.h
Normal file
@@ -0,0 +1,15 @@
|
||||
//
|
||||
// ZGAppDelegate.h
|
||||
// ZGParallelViewForTable
|
||||
//
|
||||
// Created by Kyle Fang on 1/7/13.
|
||||
// Copyright (c) 2013 kylefang. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface ZGAppDelegate : UIResponder <UIApplicationDelegate>
|
||||
|
||||
@property (strong, nonatomic) UIWindow *window;
|
||||
|
||||
@end
|
||||
46
ZGParallelViewForTable/ZGAppDelegate.m
Normal file
46
ZGParallelViewForTable/ZGAppDelegate.m
Normal file
@@ -0,0 +1,46 @@
|
||||
//
|
||||
// ZGAppDelegate.m
|
||||
// ZGParallelViewForTable
|
||||
//
|
||||
// Created by Kyle Fang on 1/7/13.
|
||||
// Copyright (c) 2013 kylefang. All rights reserved.
|
||||
//
|
||||
|
||||
#import "ZGAppDelegate.h"
|
||||
|
||||
@implementation ZGAppDelegate
|
||||
|
||||
- (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
|
||||
40
ZGParallelViewForTable/ZGParallelViewForTable-Info.plist
Normal file
40
ZGParallelViewForTable/ZGParallelViewForTable-Info.plist
Normal file
@@ -0,0 +1,40 @@
|
||||
<?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>CFBundleDisplayName</key>
|
||||
<string>${PRODUCT_NAME}</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>${EXECUTABLE_NAME}</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>com.kylefang.${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.0</string>
|
||||
<key>LSRequiresIPhoneOS</key>
|
||||
<true/>
|
||||
<key>UIMainStoryboardFile</key>
|
||||
<string>MainStoryboard</string>
|
||||
<key>UIRequiredDeviceCapabilities</key>
|
||||
<array>
|
||||
<string>armv7</string>
|
||||
</array>
|
||||
<key>UISupportedInterfaceOrientations</key>
|
||||
<array>
|
||||
<string>UIInterfaceOrientationPortrait</string>
|
||||
<string>UIInterfaceOrientationLandscapeLeft</string>
|
||||
<string>UIInterfaceOrientationLandscapeRight</string>
|
||||
</array>
|
||||
</dict>
|
||||
</plist>
|
||||
14
ZGParallelViewForTable/ZGParallelViewForTable-Prefix.pch
Normal file
14
ZGParallelViewForTable/ZGParallelViewForTable-Prefix.pch
Normal file
@@ -0,0 +1,14 @@
|
||||
//
|
||||
// Prefix header for all source files of the 'ZGParallelViewForTable' target in the 'ZGParallelViewForTable' project
|
||||
//
|
||||
|
||||
#import <Availability.h>
|
||||
|
||||
#ifndef __IPHONE_5_0
|
||||
#warning "This project uses features only available in iOS SDK 5.0 and later."
|
||||
#endif
|
||||
|
||||
#ifdef __OBJC__
|
||||
#import <UIKit/UIKit.h>
|
||||
#import <Foundation/Foundation.h>
|
||||
#endif
|
||||
13
ZGParallelViewForTable/ZGViewController.h
Normal file
13
ZGParallelViewForTable/ZGViewController.h
Normal file
@@ -0,0 +1,13 @@
|
||||
//
|
||||
// ZGViewController.h
|
||||
// ZGParallelViewForTable
|
||||
//
|
||||
// Created by Kyle Fang on 1/7/13.
|
||||
// Copyright (c) 2013 kylefang. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface ZGViewController : UIViewController
|
||||
|
||||
@end
|
||||
29
ZGParallelViewForTable/ZGViewController.m
Normal file
29
ZGParallelViewForTable/ZGViewController.m
Normal file
@@ -0,0 +1,29 @@
|
||||
//
|
||||
// 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
|
||||
2
ZGParallelViewForTable/en.lproj/InfoPlist.strings
Normal file
2
ZGParallelViewForTable/en.lproj/InfoPlist.strings
Normal file
@@ -0,0 +1,2 @@
|
||||
/* Localized versions of Info.plist keys */
|
||||
|
||||
26
ZGParallelViewForTable/en.lproj/MainStoryboard.storyboard
Normal file
26
ZGParallelViewForTable/en.lproj/MainStoryboard.storyboard
Normal file
@@ -0,0 +1,26 @@
|
||||
<?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">
|
||||
<dependencies>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="1856"/>
|
||||
</dependencies>
|
||||
<scenes>
|
||||
<!--class Prefix:identifier View Controller-->
|
||||
<scene sceneID="5">
|
||||
<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"/>
|
||||
</objects>
|
||||
</scene>
|
||||
</scenes>
|
||||
<simulatedMetricsContainer key="defaultSimulatedMetrics">
|
||||
<simulatedStatusBarMetrics key="statusBar"/>
|
||||
<simulatedOrientationMetrics key="orientation"/>
|
||||
<simulatedScreenMetrics key="destination" type="retina4"/>
|
||||
</simulatedMetricsContainer>
|
||||
</document>
|
||||
18
ZGParallelViewForTable/main.m
Normal file
18
ZGParallelViewForTable/main.m
Normal file
@@ -0,0 +1,18 @@
|
||||
//
|
||||
// main.m
|
||||
// ZGParallelViewForTable
|
||||
//
|
||||
// Created by Kyle Fang on 1/7/13.
|
||||
// Copyright (c) 2013 kylefang. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
#import "ZGAppDelegate.h"
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
@autoreleasepool {
|
||||
return UIApplicationMain(argc, argv, nil, NSStringFromClass([ZGAppDelegate class]));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user