Hello,
I've created a custom view by code, I add the view in IB and select the class that I want.
This works perfectly.
But now, I want to show in IB how the view looks: it has one UILabel, one UITextField, one UIImage, etc. etc.
So I've created an empty .xib and added there the desired controls.
How can I add this view to my main v...
I am trying to follow the QTKit tutorial. I add and include the QTKit framework and .h file. I create the QTMovie property. Then in IB I am supposed to drag out the QTMovieView from the library but it isn't there. If I go to the Classes tab, I can find it. However, when I drag it out, it doesn't have the attributes to set like movie sour...
Say for instance I have an IBAction that is hooked up to a button in interface builder.
- (IBAction)functionToBeCalled:(id)sender
{
// do something here
}
Within my code, say for instance in another method, what is the best way to call that IBAction?
If I try to call it like this, I receive an error:
[self functionToBeCalle...
Hi,
I would like to copy colors between elements in the interface builder or define them using RGB values.
I.e. copy the background color of a button to another button without duplicating the button.
Or: Enter an exact RGB code using the interface builder.
Currently I can do this only programmatically but the interface builder is mea...
I would like to be able to decide where a sub view is placed, when that view is controlled by its own view controller. This happens frequently on the iPad when you have a semi-complicated view that doesn't fill the entire screen.
So, imagine that I want the sub view controller's nib to decide its own width, components, connections, etc...
I have searched my entire Mac for ibplugin to find the QTKit IBPlugin, but I also came accros a plugin which adds AFAssistantPane to IB. I did a Google-search but Google has no results for it. So, does anyone know how I can use this AFAssistantPane?
Thanks
Update: I noted that this is in a private framework (that's why it is not do...
I have a grouped UITableView that has 3 sections. I would like to show a UIImage with some text next to it (not a cell), but I am not sure how I can go about doing that? The image and text need to match the background of the pinstripes.
...
I have a UITableView with 3 sections inside of a UIViewController. Is it possible to have other controls above the UITableView for example a UISlider or a UIImage? If so, how can this be accomplished?
Note: These controls should not be in a UITableViewCell, they should be part of the view.
...
I have a UITableView with a view in the header. This view has the pinstripe background and contains a UILabel. I want the UILabel text to look like the text of a section header. How can I achieve this?
...
This an incredibly annoying bug. I had a imageView and 2 Labels in a customCell nib. I changed the locations of all of them in the nib and the labels moved, view didn't.
I've cleaned my targets, deleted everything relating to it the library, deleted the cell completely, reset the simulator, built it on a different target (3.1.2) and it ...
I have a UITabBarController that loads a UINavigationController for each of its tab. The first tab is obviously my initial screen, however I don't want the tab-bar to be visible for this screen.
Maybe my approach is wrong. How can I make sure that a UINavigationController is shown as my initial screen?
...
I want my UITableViewCell to look like the image below where there seems to be two labels. Is this possible without subclassing UITableViewCell?
...
How can I accomplish the following:
When my app loads a UIView will show 4 buttons
Clicking on a button will load a UITabBarController (not a UIView with a UITabBar) that can display multiple views.
This seems challenging to me, because in order for me to use the UITabBarController I need to add this to the window's subview in my app...
Hello, I'm am a beginner in mac os x development and am trying to get started with all this.
Here is my problem : I've create a non-document based cocoa app using core data as storage. I've added an entity and attributes to the xdatamodel. In IB i've created an NSArrayController and linked it properly. I've created an nstableview binde...
Hi Everyone ,
Client wants me to do something, i have just checked and i m quite sure its not possible.
He asked to put a text on a Button ( UIButton ). (Default State Configuration)
And when the user clicks it the text should enlarge. (Highligted State Configuration)
I have checked by selecting Highligted State Configuration and then c...
I find myself having to go Window>Console each time, is there not a better way of handling it?
...
Hey.
Is it possible to use an image as the title (text on the top) of the UINavigationBar?
Thank you.
...
Hi all,
I am getting an warning while building my source code as follows:
/* com.apple.ibtool.document.warnings */
/Users/biranchi/Desktop/Hotlist v2.0/Classes/HLCheckinViewController.xib:6: warning: The separator style "Single Line Etched" is not supported on iPhone OS versions prior to 3.2.
What is this error due to ?
Thanks
...
Hi,
I added an object to my .nib and I connected IBOutlets to it. But the object doesn't initiate the .nib. Another object does that. When I initiate the object added to my .nib (from somewhere in my code), then all IBOutlets are nil, even if the nib has been loaded.
What am I doing wrong here.
...
My app has a UITabBarController that loads many different UINavigationControllers. I want a UIPageControl to switch between the different UINavigationControllers. Do I place the UIPageControl in my UINavigationController or in my appDelegate? Suggestions and best practices are welcome.
...