Xcode Cannot assign push to a button in view

I am using xCode 4.2. I have most of the interface in the mainstoryboard.xib. However a listing detail is using its own xib. It is a tabbed and navigation based project. On every view when a ctrl click a button "Push" option is available however on this detail view.xib its not. And hence I cannot make the button clcikable and make it open another view. I only see Did End on Exit, touch Down, etc. when I ctrl Clcik the button.

Anyone know why this happens? is this because it is not in the mainstoryboard? is it possible to make it clickable programmatically?

Answers


If you can't include it in the storyboard for some reason then you will have to load and push it in code. This is pretty standard code - create a new instance of the view controller using initWithNibName:, pass it any detail variables, then tell your navigation controller to push the new controller. This code will have to be linked to an action in the view controller that holds the button.


Need Your Help

Linker input file unused c++ g++ make file

c++ makefile g++ static-libraries gnu

I am unable to figure out what is causing this error that I keep getting upon making my project:

Array Sum and Average

javascript arrays

I am having problems adding all the elements of an array as well as averaging them out. How would I do this and implement it with the code I currently have? The elements are supposed to be defined ...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.