• Stars
    star
    159
  • Rank 235,916 (Top 5 %)
  • Language
    Objective-C
  • License
    Other
  • Created over 11 years ago
  • Updated about 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

The iOS component to connect to a FTP service and perform the operations you need. http://albertodebortoli.github.io/GoldRaccoon/

GoldRaccoon

General Notes

GoldRaccoon is the iOS component to connect to a FTP service and do the following:

  • Download a file
  • Upload a file
  • Delete a file
  • Create a directory
  • Delete a directory
  • List a directory

Why another Raccoon?

First, because the humanity needs it.

This project started on 29/06/2013 for the Objective-C Hackathon (http://objectivechackathon.appspot.com/).

GoldRaccoon aims to be an evolution of BlackRaccoon (which is an evolution of WhiteRaccoon), maybe the best (or at least one of the few) third-party component out there for handling FTP operations on iOS.

I forked the public repo of BlackRaccooon in May 2013 and added some improvements that have been merged into master to BlackRaccoon. Even though BlackRaccoon does what it says, I prefer to clean it a little and use a different and more extensible code structure.

Most of the code is therefore written by Valentin Radu and Lloyd Sargent, the main extensions I (Alberto De Bortoli) added are:

  • Done some deep refactoring for the bloating of the previous code;
  • Added missing (and reasonable) code conventions;
  • Added GRRequestsManager to manage all the different kind of requests using a FIFO queue;
  • Added a demo project.

Usage

If you'd like to include this component as a pod using CocoaPods, just add the following line to your Podfile:

pod "GoldRaccoon"

otherwise

  • copy Sources folder into your project
  • add CFNetwork framework
  • import GRRequestsManager.h in your class
  • add a property for the manager
@property (nonatomic, strong) GRRequestsManager *requestsManager;
  • setup the manager somewhere (with hostname, username and password)
self.requestsManager = [[GRRequestsManager alloc] initWithHostname:<hostname>
                                                              user:<username>
                                                          password:<password>];
  • optionally make your class conform to GRRequestsManagerDelegate, implement the delegate methods (basically success, failure and progress callbacks) and set your instance of this class as delegate for the manager
self.requestsManager.delegate = self;
  • add the requests to the manager using the following methods:
addRequestForListDirectoryAtPath:
addRequestForCreateDirectoryAtPath:
addRequestForDeleteFileAtPath:
addRequestForDeleteDirectoryAtPath:
addRequestForDownloadFileAtRemotePath:toLocalPath:
addRequestForUploadFileAtLocalPath:toRemotePath:
  • start the manager
[self.requestsManager startProcessingRequests];

More Repositories

1

Skopelos

A minimalistic, thread safe, non-boilerplate and super easy to use version of Active Record on Core Data. Simply all you need for doing Core Data. Swift flavour.
Swift
236
star
2

Promis

The easiest Future and Promises framework in Swift. No magic. No boilerplate.
Swift
110
star
3

Stateful

A minimalistic, thread-safe, non-boilerplate and super easy to use state machine in Swift.
Swift
96
star
4

ADBIndexedTableView

Indexed UITableView using first letter objects property.
Objective-C
59
star
5

ADBActors

Simple concept of Actor Model in Objective-C based on the idea of Valletta Ventures Actors library.
Objective-C
58
star
6

ADBBackgroundCells

ADBBackgroundCells allow lazy loading for UITableViewCell objects performing a long time job in background without blocking the UI.
Objective-C
42
star
7

Bitlyzer

Class to shorten URLs with Bit.ly on iOS (both block based and delegate based using ARC)
Objective-C
41
star
8

ADBDownloadManager

A download manager for iOS. Actually, all that you need to download files without any external library.
Objective-C
33
star
9

ADBGridView

ADBGridView inherits from UITableView and is populated with ADBImageViews (https://github.com/albertodebortoli/ADBImageView). Number of images for row (cells) can be customized. UITableView is inherited to use cell reuse facility.
Objective-C
24
star
10

Skiathos

A minimalistic, thread safe, non-boilerplate and super easy to use version of Active Record on Core Data. Simply all you need for doing Core Data. Objective-C flavour.
Objective-C
19
star
11

ModulePods

Toolbar app to easily run common CocoaPods commands
Swift
12
star
12

rubiks-cube-solution

The simplest, easiest and quickest way to learn how to solve the Rubik's Cube.
10
star
13

ADBStateMachine

A proper thread-safe state machine for Objective-C.
Objective-C
10
star
14

WWDC-2016-Apple-Logo

Swift
6
star
15

ImageAnalysisFilters

A simple C++ project for applying filters to raw images via command line.
C++
4
star
16

Introspecta

Utilities for introspection based on Objective-C runtime
Objective-C
4
star
17

ADBImageView

Asynchronous Image View for iOS providing placeholder, activity indicator, gestures and caching. Delegation and ARC based.
Objective-C
4
star
18

ADBCategories

Useful categories for iOS with ARC
Objective-C
3
star
19

Uncrustify-ObjC

Uncrustify configuration file for Objective-C files.
2
star
20

ADBReasonableTextView

A UITextView replacement with reasonable delegate methods.
Objective-C
2
star
21

iOSLab-DigitalAccademia-2012

Digital Accademia iOS Lab held in October 2012
Objective-C
2
star
22

iVIP

iVIP is an Xcode template project that allows quick creation of applications focused on a single, maybe famous, person.
Objective-C
2
star
23

EC2macConnector

EC2macConnector is a CLI tool that helps connect to EC2 Mac instances easily.
Swift
2
star
24

BMYSmartFeed

Facebook-style iOS feed architecture
Objective-C
2
star
25

the_coding_love

Simple iOS third-party reader for the_coding_love(); that shows GIFs when they are fully loaded.
Objective-C
1
star
26

iHarmonyDB

The DB powering iHarmony
1
star
27

ADBLanguageManager

A reusable localization manager class for iOS by Toni Sala and Alberto De Bortoli
Objective-C
1
star
28

LBDelegateMatrioska

Multiple delegates by using NSProxy
Objective-C
1
star
29

RuzzleSolver

A quick and dirty Ruzzle solver in Ruby using Ukkonen's suffix tree algorithm.
Ruby
1
star
30

Xcode-4-Themes

Xcode 4 Themes I use
1
star
31

ADBObjectLocker

Prototype. Idea. Maybe pointless. Maybe just cool mental gymnastic. Maybe I should just drink less beer. Class to handle lock on specific methods for specific instances.
Objective-C
1
star