Facing new challenges everyday

How to add a ViewDeck into a StoryBoard scene

April 3rd, 2012

ViewDeck (https://github.com/Inferis/ViewDeck) is an amazing library that helps you to easily add a Facebook like menu into your application, unfortunelly it has a small issue with storyboards causing to not load the IIViewDeckController code properly.

In order to make use of ViewDeck in a specific scene of my storyboard, I created a blank scene with a empty view, in viewDidLoad method I added the following lines of code:
(more…)

DZoneGoogle BookmarksFacebookEvernoteLinkedInDeliciousShare

Unrar4iOS – A port of unrar to iOS platform

November 15th, 2010

Recently I started a project which must understand the CBR format, for those that doesn’t know, CBR is a comics file format, which consists of several image files archived in RAR archive format.

In order to be able to read CBR archive contents and uncompress them I need to port unrar library to iOS, after some quick research I found an existing work done in this way, it’s pretty old, but gave me some insight about how to start.
(more…)

DZoneGoogle BookmarksFacebookEvernoteLinkedInDeliciousShare

Adding Mask to UITextField

February 19th, 2010

Cocoa Touch is an awesome API, it contains a large set o frameworks that can be used to create fantastic applications for iPhone, iPod Touch and iPad, but if we compare Cocoa Touch with Cocoa API for MacOSX we won’t find some cool features like masking on input controls.
(more…)

DZoneGoogle BookmarksFacebookEvernoteLinkedInDeliciousShare

Returning a textual representation of a object in Objective-C

February 28th, 2009

Today I discovered how objetive-c allows the programmer to generate a textual representation of a object, you can do it by implementing a description method of NSObject protocol.

Please consider the following class interface:

Contact.h

1
2
3
4
5
6
7
8
9
@interface Contact : NSObject {
    NSString *name;
    NSString *address;
}

@property (nonatomic, retain) NSString *name;
@property (nonatomic, retain) NSString *address;

@end

(more…)

DZoneGoogle BookmarksFacebookEvernoteLinkedInDeliciousShare

What I miss in Xcode when I write iPhone applications

February 24th, 2009

One of the missing features in Xcode is the hability to add code sense for protocol methods that can be implemented by a class, for example a class that extends UITableViewController, these classes may have a custom implementation of methods found on both UITableViewDelegate or UITableViewDatasource protocols, the signature of these methods isn’t so easy to memorize and some code completion at this point would help a lot.

(more…)

DZoneGoogle BookmarksFacebookEvernoteLinkedInDeliciousShare
Next Page »

Visitors Around the World

Polls

How Is My Site?

View Results

Loading ... Loading ...

Categories

Meta

Links

hosted by easy2use.net