Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
时点软件 冯成林 authored and 时点软件 冯成林 committed Nov 28, 2016
1 parent 9e5cc4c commit 24c5d36
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 7 deletions.
4 changes: 0 additions & 4 deletions CoreNewFeatureVC.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
89335FBD1AEE022C00BC444B /* NewFeatureScrollView.m in Sources */ = {isa = PBXBuildFile; fileRef = 89335FBC1AEE022C00BC444B /* NewFeatureScrollView.m */; };
89335FC01AEE057C00BC444B /* NewFeatureImageV.m in Sources */ = {isa = PBXBuildFile; fileRef = 89335FBF1AEE057C00BC444B /* NewFeatureImageV.m */; };
89335FC51AEE0AD200BC444B /* UIApplication+Extend.m in Sources */ = {isa = PBXBuildFile; fileRef = 89335FC41AEE0AD200BC444B /* UIApplication+Extend.m */; };
896030911B0191E2009ACD03 /* 1.gif in Resources */ = {isa = PBXBuildFile; fileRef = 896030901B0191E2009ACD03 /* 1.gif */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand Down Expand Up @@ -56,7 +55,6 @@
89335FBF1AEE057C00BC444B /* NewFeatureImageV.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = NewFeatureImageV.m; sourceTree = "<group>"; };
89335FC31AEE0AD200BC444B /* UIApplication+Extend.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIApplication+Extend.h"; sourceTree = "<group>"; };
89335FC41AEE0AD200BC444B /* UIApplication+Extend.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIApplication+Extend.m"; sourceTree = "<group>"; };
896030901B0191E2009ACD03 /* 1.gif */ = {isa = PBXFileReference; lastKnownFileType = image.gif; path = 1.gif; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand Down Expand Up @@ -112,7 +110,6 @@
89335F621AEDFEE800BC444B /* Supporting Files */ = {
isa = PBXGroup;
children = (
896030901B0191E2009ACD03 /* 1.gif */,
89335F631AEDFEE800BC444B /* Info.plist */,
89335F641AEDFEE800BC444B /* main.m */,
);
Expand Down Expand Up @@ -277,7 +274,6 @@
files = (
89335F6E1AEDFEE800BC444B /* Main.storyboard in Resources */,
89335F731AEDFEE800BC444B /* LaunchScreen.xib in Resources */,
896030911B0191E2009ACD03 /* 1.gif in Resources */,
89335F701AEDFEE800BC444B /* Images.xcassets in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<Bucket
type = "1"
version = "2.0">
</Bucket>
Binary file removed CoreNewFeatureVC/1.gif
Binary file not shown.
7 changes: 4 additions & 3 deletions CoreNewFeatureVC/Base.lproj/Main.storyboard
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="6211" systemVersion="14A298i" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="vXZ-lx-hvc">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="10116" systemVersion="15D21" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="vXZ-lx-hvc">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6204"/>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="10085"/>
</dependencies>
<scenes>
<!--View Controller-->
<scene sceneID="ufC-wZ-h7g">
<objects>
<viewController id="vXZ-lx-hvc" customClass="ViewController" customModuleProvider="" sceneMemberID="viewController">
<viewController id="vXZ-lx-hvc" customClass="ViewController" sceneMemberID="viewController">
<layoutGuides>
<viewControllerLayoutGuide type="top" id="jyV-Pf-zRb"/>
<viewControllerLayoutGuide type="bottom" id="2fi-mo-0CV"/>
Expand Down
6 changes: 6 additions & 0 deletions CoreNewFeatureVC/CoreNewFeatureVC/CoreNewFeatureVC.m
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,12 @@ -(void)imageViewsPrepare{

//添加手势
[imageV addGestureRecognizer:[[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(gestureAction:)]];

UISwipeGestureRecognizer *sgr = [[UISwipeGestureRecognizer alloc] initWithTarget:self action:@selector(dismiss)];
sgr.direction = UISwipeGestureRecognizerDirectionLeft;
sgr.numberOfTouchesRequired = 1;
[imageV addGestureRecognizer:sgr];

}

[_scrollView addSubview:imageV];
Expand Down
2 changes: 2 additions & 0 deletions CoreNewFeatureVC/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
<string>1.0</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>armv7</string>
Expand Down

0 comments on commit 24c5d36

Please sign in to comment.