FoundationExtension
FoundationExtension is common Foundation/UIKit/Cocoa shortcuts and snippets collection.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
UIViewController(Shortcuts) Category Reference

[UIViewController][0] shortcut extension More...

#import <UIViewController.h>

Instance Methods

(instancetype) - initWithPlatformSuffixedNibName:bundle:
 Returns a newly initialized view controller with the nib file in the specified bundle. This method attach platform suffix 'iPhone' or 'iPad' end of its nib name. More...
 

Detailed Description

[UIViewController][0] shortcut extension

Method Documentation

- (instancetype) initWithPlatformSuffixedNibName: (NSString *)  nibNameOrNil
bundle: (NSBundle *)  nibBundleOrNil 

Returns a newly initialized view controller with the nib file in the specified bundle. This method attach platform suffix 'iPhone' or 'iPad' end of its nib name.

Parameters
nibNameOrNilThe name of the nib file except 'iPhone' or 'iPad' suffix to associate with the view controller. The nib file name should not contain any leading path information. If you specify nil, the nibName property is set to nil.
nibBundleOrNilThe bundle in which to search for the nib file. This method looks for the nib file in the bundle's language-specific project directories first, followed by the Resources directory. If nil, this method looks for the nib file in the main bundle.
Returns
A newly initialized UIViewController object.

The documentation for this category was generated from the following file: