Tino Rachui

32pods

AdaptiveSidebarViewController

AdaptiveSidebarViewController is a simple container which can adaptively display a viewcontroller in a sidebar (regular environment) or pushed on the navigation stack (compact environment).

License: MIT

  • Swift

APLArrayDataSource

A UITableViewDataSource for data represented as NSArray being displayed in a UITableView.

Concept and code is from this great objc.io article: http://www.objc.io/issue-1/lighter-view-controllers.html

Additionally supports: * multiple cell identifiers * cell editing (deletion only) * sections, with nested NSArrays as data source (use subclass APLArrayWithSectionsDataSource)

License: MIT

  • Objective C

APLCollectionViewDataSource

APLCollectionViewDataSource is a simple array based datasource for collection views.

It implements all required UICollectionViewDataSource methods so that the view controller only needs to implement a method to configure the cells with an item.

  • Supports multiple cell identifiers.
  • Supports a single supplementary view).

TODO: * Multiple sections. * Multiple supplementary views.

License: MIT

  • Objective C

APLEasyTextField

UITextField has by default no left or right margin for the text rect. No app ever whants to use that default. Changing the text rect and other things like the placeholder rect etc. requires overriding UITextField. This sucks hence this simpel class provides properties to manipulate certain things you could otherwise only change by overriding UITextField.

License: MIT

  • Objective C

APLExpandableCollectionView

  • animated expand and collapse animation
  • scrolls expanded section to visible
  • customizable flow layout for iPhone and iPad
  • supports single and multiple expanded sections
  • supports addition of sections

License: MIT

  • Objective C

APLFacebookProxyActivity

Apple's UIActivityViewController does not display a Facebook Button if the user is not already connected. We add a custom application activity here, to display a Facebook Button in this case. Our activity tries to present a composeViewControllerForServiceType:SLServiceTypeFacebook which triggers a system alert view that displays further instructions for setting the Facebook account in iOS system settings.

License: MIT

  • Objective C

APLKeyboardControls

  • close the keyboard with a done button
  • navigate between UIResponder subclasses like text fields and text views with optional previous and next buttons
  • skips hidden inputs
  • completely customizable bar button items and toolbar
  • implemented with iOS 7 in mind

License: MIT

  • Objective C

APLLog

Logs debug output to console as alternative to NSLog

  • supports different log levels: debug, info, warning, error
  • log levels are configurable for each configuration via custom build setting:
    • add key de.apploft.APLLog = ${LOG_LEVEL} to your project info.plist
    • add custom build setting LOG_LEVEL with values from -2 (= errors only) to 2 (= debug)

License: MIT

  • Objective C

APLNavigationController

        Automatic show/hide of the navigationBar for individual viewControllers based on

the apl_hidesNavigationBarWhenPushed-Property on UIViewController.

License: MIT

  • Objective C

APLObject

creates a debug description containing all properties and their value using runtime-magic

License: MIT

  • Objective C

APLPageViewControllerDataSource

APLPageViewControllerDataSource provides an index based API on top of the viewControllerBeforeViewController and viewControllerAfterViewController API of UIPageViewController.

License: MIT

  • Objective C

APLSearchBar

  • can automatically resign first responder when search button or clear button is tapped
  • asks it's delegate if the text should be cleared when clear button is tapped

License: MIT

  • Objective C

APLSlideMenu

Sliding Hamburger Menu like the one in the Facebook App

  • supports left and right slide menus
  • supports optional swipe gesture support
  • supports device orientations
  • supports optional permanent display of slidemenu in landscape on iPad like an UISplitViewController
  • supports iOS 7 view controller-based status bar appearance
  • supports storyboard setup
  • basic accessibility support

License: MIT

  • Objective C

APLStoryboardContainerViewController

A container view controller which can automatically load view controller from different storyboards and embed them as child view controller. This greatly helps keeping storyboards clean and manageable in size.

  • In a storyboard just insert a view controller and set the name of a different storyboard. Without further specification of a particular view controller name the initial view controllr of this storyboard will be loaded and embedded as child view controller.

License: MIT

  • Objective C

APLTableViewModel

A table view model which can inform a delegate about changes. Use this model in order to easily deal with a hierarchical table view model.

License: MIT

  • Objective C

APLTextField

Text Field can be configured with a list of options which will be presented in a picker view instead of showing a keyboard.

Supports: * UIDatePicker and UIPickerView * text field clearance with select none option * left image icon

License: MIT

  • Objective C

APLTextView

A text view allowing to set a placeholder text just like for UILabel etc. In addition you can set a max character count. The text view will accept only the specified number of characters as input in this case. The remaining number of characters the user is able to enter will be displayed on the bottom right corner of the text view.

License: MIT

  • Objective C

APLUrlTextView

A simple UITextView extensions allowing to add URLs and getting informed when the user selects one of these URLs. You can use the 'linkTextAttributtes' of UITextView in order to define the styling of the links being embeded.

License: MIT

  • Objective C

BundleFileUpdater

Deliver your app with up-to-date local resource files in your app bundle and update them dynamically from a remote url both with every build and dynamically at runtime. Your users will always have the latest resource files' version without the need for a new app submission.

License: MIT

  • Swift

ExpandableLabel

ExpandableLabel is a simple UILabel subclass that shows a tappable link if the content doesn't fit the specified number of lines. If touched, the label will expand to show the entire content.

License: MIT

  • Swift

NSArray+SafeAccess

When accessing an item from a NSArray object with an index out of the bounds of the NSArray, nil is returned instead of throwing a NSRangeException.

License: MIT

  • Objective C