Latest 1.0.3
Homepage https://github.com/recruit-lifestyle/Sidebox
License MIT
Platforms ios 8.0, requires ARC
Authors

Version
License
Platform

OverView

Sidebox has a scrollView on the right side of the view that is called Sidebox

Sidebox enables user to

  • temporary storage
  • quick comparison
    in a single view

Animation

Requirements

iOS: 8.0
cocoapods: 0.36.0

Installation

Sidebox is available through CocoaPods. To install
it, simply add the following line to your Podfile:

source 'https://github.com/CocoaPods/Specs.git'
use_frameworks!
pod "Sidebox"

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

Introduction Sidebox to your project is very simple as below:

import UIKit
import Sidebox

class ViewController: SBViewController {
    ...
}

And developer should set SBView (User can controll by drag gesture) as below:

let view = SBView(frame: CGRectMake(x, y, width, height))
view.delegate = self
view.setIcon(UIImage)
view.setDict([String: AnyObject])
self.view.addSubview(view)

Delegate methods are as below:

// called when SBView is user hold
override func editModeStart(view: SBView) {
    ...
}

// called when SBView is user release
override func editModeEnd(view: SBView) {
    ...
}

// called when SBIconView in sidebox is tapped
override func iconTapped(data: SBDataObject) {
    ...
}

Credit

Sidebox is owned and maintained by RECRUIT LIFESTYLE CO., LTD.

Sidebox was originally created by Takeshi Ihara.

License

Copyright 2015 RECRUIT LIFESTYLE CO., LTD.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Latest podspec

{
    "name": "Sidebox",
    "version": "1.0.3",
    "summary": "Library for ViewController with Temporary storage function.",
    "description": "SideboxnnThis library enable user ton* temporary storagen* quick comparison",
    "homepage": "https://github.com/recruit-lifestyle/Sidebox",
    "screenshots": [
        "https://github.com/recruit-lifestyle/Sidebox/wiki/images/screenshot1.png",
        "https://github.com/recruit-lifestyle/Sidebox/wiki/images/screenshot2.png"
    ],
    "license": "MIT",
    "authors": {
        "Nonchalant": "[email protected]"
    },
    "source": {
        "git": "https://github.com/recruit-lifestyle/Sidebox.git",
        "tag": "1.0.3"
    },
    "social_media_url": "https://twitter.com/l_index",
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*",
    "resource_bundles": {
        "Sidebox": [
            "Pod/Assets/*.png"
        ]
    }
}

Pin It on Pinterest

Share This