I want to create a Timer Application in xcode apps.
But it needs two UIView
s, I have only one UIView
.
How to add the another UIView
in xib?
I want to create a Timer Application in xcode apps.
But it needs two UIView
s, I have only one UIView
.
How to add the another UIView
in xib?
To create a standalone user interface (XIB):
File -> New File -> iOS -> User Interface
Then choose:
Application (includes delegate and window) Window View Empty To create a new UIViewController class with a user interface:
File -> New File -> iOS -> Cocoa Touch -> UIViewController subclass -> Click Next
Then, name the new view controller class and select "With XIB for user interface."
OR
Choose objective-c class and then select UIViewController
as subclass.
Apple moved all objective-c class templates into the "Objective-C class" template. They have custom functionality, like "With xib for user interface", there too.