Posts

Showing posts with the label iOS

Clean code architecture

Image
There are several architecture we use based on the application requirement. I have used Ribblet and Viper design patter most of the time. Viper Pattern  : [ GitHub ] The word VIPER is a backronym for View, Interactor, Presenter, Entity, and Routing. Read more about Viper . Viper architecture: Download the Viper sample : GitHub Sample also has integration of Google SDK and using Google Places API usage. Riblets : [ GitHub ] Riblets are Uber way of clean code architecture. Uber app currently using Riblets architecture. More info on Riblets - Ref Riblet architecture: Communication between the Riblets: GitHub :        Viper Sample (Swift)           Uber Riblet Sample (Swift)

SSShare

Image
SSShare  is a collection of commonly used social network to share the stuffs within an application. SS Share  is simple to integrate with any application for iPhone/iPad. Whats great? SSShare is a universal sample made for both iPhone and iPad. No need to integrate each individual framework for sharing. Dropbox support for sharing the contents. All you to need is set the delegate of SSShareController shared instance  as your controller class and   implement protocol  SSShareControllerDelegate method ,  -(SSShare *)shareDataForShareType:(ESSShareType)type Features: User can share the stuff to Facebook , Twitter , Dropbox and mail . Great UI for sharing from any controller view. (Modified KLExpandingSelect - Dropbox support) Replace the images and respective constants for the application needs. Universal app support. Used ARC for object life cycle. Future - tumblr, stumbleupon and Instapaper support. U...

SSPhotoPicker

Want to quickly integrate a feature to choose photos from iPad/iPhone camera/photo album? - SSPhotoPicker. SSP hotoPicker is code snippet, where you can quickly integrate with your application. [gallery link="file" columns="2"] Whats great? SSPhotoPicker is a universal sample made for both iPhone and iPad. Saves time to write couple of code, replace images whichever suits best for the application. All you to need is to instantiate  SSPhotoPickerViewController and   implement protocol  SSPhotoPickerViewControllerDelegate Features: Customisable size of the picker. User can choose from Camera and Photo Album. Custom images. Universal app support. Integration of popover to iPhone by code optimisation for WEPopoverController (Werner Altewischer) Download Source  Universal iPad Only Version

SSRadioButton

Image
I have written a code snippet for the radio buttons behavior. If you are looking for a quick integration of vertical aligned radio button view download and integrate it to your project. SSRadioButton is customized UITableViewCells to look like a radio button and the behavior of radio button is implemented in the managing classes. Whats great? No need to take care of the custom cells, go forward and implement SSRadioButtonCellDatasource protocol in the modal objects and thats it!! Features: Radio button behavior implementation. Custom background image. Custom radio button height. Universal Support. Download Source