Skip to content

Commit

Permalink
update gif instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
DuckDeck committed Mar 13, 2020
1 parent 32ec3e6 commit 1dc3d28
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
4 changes: 4 additions & 0 deletions GrandMenuDemo/GrandMenuDemo.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
AE99792F1F73C1D7009A5A03 /* GrandContentViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = AE9979281F73C1D7009A5A03 /* GrandContentViewController.swift */; };
AE9979321F73C1D7009A5A03 /* GrandMenuTable.swift in Sources */ = {isa = PBXBuildFile; fileRef = AE99792B1F73C1D7009A5A03 /* GrandMenuTable.swift */; };
AE9979331F73C1D7009A5A03 /* GrandBaseTable.swift in Sources */ = {isa = PBXBuildFile; fileRef = AE99792C1F73C1D7009A5A03 /* GrandBaseTable.swift */; };
AEAEDF8F241B6495002B2376 /* scroll menu.gif in Resources */ = {isa = PBXBuildFile; fileRef = AEAEDF8E241B6495002B2376 /* scroll menu.gif */; };
AEFF8D7B1F73E9AB002E1AE6 /* ScollViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = AEFF8D7A1F73E9AB002E1AE6 /* ScollViewController.swift */; };
/* End PBXBuildFile section */

Expand Down Expand Up @@ -55,6 +56,7 @@
AE9979281F73C1D7009A5A03 /* GrandContentViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GrandContentViewController.swift; sourceTree = "<group>"; };
AE99792B1F73C1D7009A5A03 /* GrandMenuTable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GrandMenuTable.swift; sourceTree = "<group>"; };
AE99792C1F73C1D7009A5A03 /* GrandBaseTable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GrandBaseTable.swift; sourceTree = "<group>"; };
AEAEDF8E241B6495002B2376 /* scroll menu.gif */ = {isa = PBXFileReference; lastKnownFileType = image.gif; path = "scroll menu.gif"; sourceTree = "<group>"; };
AEFF8D7A1F73E9AB002E1AE6 /* ScollViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ScollViewController.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */

Expand Down Expand Up @@ -133,6 +135,7 @@
A2223E2B1C584F5200302C19 /* Resource */ = {
isa = PBXGroup;
children = (
AEAEDF8E241B6495002B2376 /* scroll menu.gif */,
A2223E301C5851D900302C19 /* 3.gif */,
A2223E2E1C5851D600302C19 /* 2.gif */,
A2223E2C1C584F7E00302C19 /* 1.png */,
Expand Down Expand Up @@ -204,6 +207,7 @@
A2223E2D1C584F7E00302C19 /* 1.png in Resources */,
A205AA7B1C488E890043F5F6 /* LaunchScreen.storyboard in Resources */,
A205AA781C488E890043F5F6 /* Assets.xcassets in Resources */,
AEAEDF8F241B6495002B2376 /* scroll menu.gif in Resources */,
A2223E2F1C5851D600302C19 /* 2.gif in Resources */,
A2223E311C5851D900302C19 /* 3.gif in Resources */,
);
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 5 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,26 @@
# GrandMenu


===
## GrandMenu 是一个简单且使用方便的菜单工具

**GrandMenu是一个简单且使用方便的菜单工具, 并且提供了一个GrandTableMenu来配套使用,两者配合可以实现类似部分网易新闻的效果**

##【关键特点】
## 【关键特点】
* **菜单标题和颜色,字体,以及下面的Bar可以完全自定义**
* **菜单标题和Bar的大小和位置完全是自动分配的**
* **可以自动调整表格的大小**
* **使用Block来回调菜单的点击事件和Table的滚动事件**

##【安装需求】
## 【安装需求】

Xcode 9.0 and iOS 8.0(Swift3.0 Version)

##【安装】
## 【安装】
+ **如果你想使用Cocoapods,直接pod 'GrandMenu',再安装即可**

+ **如果你想使用文件,直接把GrandMenu.swift,GrandMenuItem.swift和GrandMenuTable.swift拷贝到项目即可**
+ **如果你想使用文件,直接把GrandMenu文件夹下面的所有文件拷贝到项目即可**



##【如何使用】
## 【如何使用】
**请参考下面的代码**
```swift
grandMenu = GrandMenu(frame:CGRect(x: 0, y: 64, width: UIScreen.mainScreen().bounds.size.width, height: 40) , titles: ["First","Second","Third","Fouth","Fifth"]) //init the GrandMenu and assign the menu titles, and also you can assign titles later
Expand Down

0 comments on commit 1dc3d28

Please sign in to comment.