SHViewPager: Android like view pager control for iOS Version 2.0 finally!

Standard

It has been almost or, more than 2 years I had created this controller called SHViewPager. And to my utmost surprise a lot of people actually got benefited from it. Some of them requested for the support for screen orientation and iPad. I was a bit busy (actually lazy! sorry guys, truly!)  to keep the request. Finally after a long wait, I was thinking, why am I not doing it?

Continue reading

SHTwoDimensionalArray : A simple and easy to use two dimensional array for iOS applications.

Standard

Ever felt the need to use a two dimensional array in you iOS project? Well, I have. So here is what I had done:

  • Created a NSObject subclass.
  • Taken two private NSMutableArray instances, one for row and one for column.
  • Created a nested for loop to traverse those arrays, and fill them with NSNull objects.
  • Created a method to insert value/object on the [row][column] index.

So this is fairly easy and straightforward. But wouldn’t it be nicer if you didn’t have to do all these steps and figure out how to write those monotonous codes all by yourself?

My good friend, I have good news for you! I have created a simple CocoaPod to minimize your task!

Continue reading

Creating your own COCOAPOD

Standard

Now a days it is fairly common to use CocoaPods to your project as the dependency manager for your iOS and MacOs projects. I have been using it for quite some time now; and to my utter delight, oh boy, I am glad I got to know how to use this masterpiece!

Now to a fairly uncommon scenario, what if you want to create your own pod?

Continue reading