2015-05-06から1日間の記事一覧

pragma mark

It's just a mark to categorize. No impact on code. reference thanks for your knowledge sharing What is the significance of #pragma marks? Why do we need #pragma marks?stackoverflow.com #pragmanshipster.com

completion at presentViewController ; what is

iOS

The completion block is used for doing any tasks after presenting the view controller reference thanks for your knowledge sharing what should go into completion in presentViewController?stackoverflow.com UIViewController Class Referencedev…

add ViewController to another ViewController

iOS

In this article, let VC as ViewController will output create base VC sub VC add sub VC to base VC create base VC In this article base VC is TopViewController(.h | .m) Main.storyboard Main.storyboard TopViewController.h #import <UIKit/UIKit.h> @interface </uikit/uikit.h>…

InternalInconsistencyException ... nib but the view outlet was not set

iOS

error snippet InternalInconsistencyException nib but the view outlet was not set background Created custom ViewController Combined it to another ViewController Could loaded xib with 'initWithNibName' But above error happened after build fi…

Terminating app due to uncaught exception ‘NSInternalInconsistencyException', reason: 'Could not load NIB in bundle:

iOS

error Snippet Terminating app due to uncaught exception ‘NSInternalInconsistencyException', reason: 'Could not load NIB in bundle: check If you're working on project 'testproject' 1 XYZ.xib exist on Xcode IDE under directory 'testproject' …