You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 12, 2019. It is now read-only.
An Effort to show how one would implement a TableViewCell like the one we can see in the very well executed [Mailbox](http://www.mailboxapp.com/) iOS app.
6
+
An Effort to show how one would implement a TableViewCell like the one we can see in the very well executed [Mailbox](http://www.mailboxapp.com/) iOS app.
7
7
8
8
##Demo
9
9
###Exit Mode
@@ -24,59 +24,59 @@ Please refer to the header file [`MCSwipeTableViewCell.h`](MCSwipeTableViewCell/
It is possible to put the cell back to it's position when using the `MCSwipeTableViewCellModeExit` mode with the `-swipeToOriginWithCompletion:` method:
170
+
It is possible to put the cell back to it's position when using the `MCSwipeTableViewCellModeExit` mode with the `-swipeToOriginWithCompletion:` method:
172
171
173
172
```objc
174
173
[cell swipeToOriginWithCompletion:^{
175
174
NSLog(@"Cell swiped back!");
176
175
}];
177
176
```
178
177
178
+
## Installation
179
+
180
+
### CocoaPods
181
+
182
+
[CocoaPods](http://cocoapods.org) is a dependency manager for Cocoa projects.
183
+
184
+
```bash
185
+
$ gem install cocoapods
186
+
```
187
+
188
+
To integrate MCSwipeTableViewCell into your Xcode project using CocoaPods, specify it in your `Podfile`:
189
+
190
+
```ruby
191
+
pod 'MCSwipeTableViewCell', '~> 2.1.4'
192
+
```
193
+
194
+
Then, run the following command:
195
+
196
+
```bash
197
+
$ pod install
198
+
```
199
+
200
+
### Carthage
201
+
202
+
[Carthage](https://github.com/Carthage/Carthage) is a decentralized dependency manager that automates the process of adding frameworks to your Cocoa application.
203
+
204
+
You can install Carthage with [Homebrew](http://brew.sh/) using the following command:
205
+
206
+
```bash
207
+
$ brew update
208
+
$ brew install carthage
209
+
```
210
+
211
+
To integrate MCSwipeTableViewCell into your Xcode project using Carthage, specify it in your `Cartfile`:
212
+
213
+
```ogdl
214
+
github "alikaragoz/MCSwipeTableViewCell" >= 2.1.4
215
+
```
216
+
179
217
##Compatibility
180
218
This library is not compatible with auto-layout so you will need to disable auto-layout in your xib properties.
0 commit comments