Hi, using IB, i found that you could use NSArray not in a programatic way. I was thinking, great, i can make sets of uiviews into an NSArray and then get a proper outlet in xcode and retreiving all my uiviews from the NSArray.
The fact is when i put a NSArray into the nib file, i can't do nothing into it's property list. So the fact is ...
Hi,
I am working on a GUI in Interface Builder for an iPhone app.
In my view controller, I would like to have a toolbar at the top and then some controls (i.e. a view) that are centralized in the lower portion of the view.
The problem that I am having is that I want things to be centralized in the area below the toolbar but the whole ...
hi,
i have done like
@interface tabViewController : UIViewController
{
IBOutlet UIButton* button_first;
IBOutlet UIButton* button_second;
IBOutlet UIButton* button_third;
IBOutlet UIButton* home;
}
but i could not in file owner those button? what i have to do? any help please? i have set everything correctly (viewcon...
How does look the practical usage of IBOutletCollection? Unfortunately Apple documentation mentions it briefly without giving an wider idea of usage. OK, it maintains one-to-many relation with IB, but how to access and use particular objects efficiently? With TagName? How to ensure the order of objects?
...
Hello,
I can set background color for NSTextView, also insertion color, but when I try to change text color it just doesn't work.
I can set the color programmatically before each insert of text, but I'm probably doing something wrong, since Interface Builder offers this options.
Here's what my inspector looks like:
...
In Cocoa, how do you define a class that sends an action? I want to be able to connect the action to the selector of another object in IB in the style of NSButton. I would prefer not to subclass NSControl if possible.
...
I have some UI elements that will share common parts with other UI elements. They correspond to model objects in an inheritance hierarchy.
As an example let's say all Layers can be toggled on/off. All WaveLayers are Layers which additionally define a .wav filename. And there is a specific concrete subclass of WaveLayer called GroovyLaye...
Let's say we have a very simple view with just a single button.
I'd like this button to flip when the user rotates his ipad. What's the simplest way to do this? Maybe interface builder has some kind of property I can set? I keep hearing something about autoresizingmask but I can't really find it in interface builder.
Thanks
p.s I unde...
I am coming from the .net world where too much use of the Forms designer in WinForms (not to mention WebForms) can cause your code to be an unmaintainable ball of mud.
I wanted know how the Interface Builder is considered in the iPhone world in that manner.
Can someone please save me the time and point me to the best practices of iPhon...
I'm in the process of Localizing my app ready for the market. I'm going through all the .Xib files and have just found that 2 of the 10 Xib files are in their own fr.iproj folder. I now have two fr.iproj folders. This doesn't affect anything, the app still works fine. I'm just confused as to why there are two fr.iproj folders. There are ...
Hi there, i'm developing an iPhone application and i'm implementing the navigation among views with the UITabBarController.
The documentation says :
"The tab bar has limited space for
displaying your custom items. If you
add six or more custom view
controllers to a tab bar controller,
the tab bar controller displays only
t...
In Interface Builder it is easy to connect an object from the NIB to an outlet in the File's Owner. However, my File's Owner is going to hold an array of sub-views, so I would like to instead add an object from the NIB to the File's Owner's array. Right now i'm just doing it by hand by checking the classes of each item from the top level...
I have 2 projects. One is a library that I am compiling to a .a file and the other is the application. The library has a class (AdFactoryView) that extends UIView that is used to display ads. Previously I was creating the AdFactoryView programmatically calling initWithFrame, now I'm trying to put the class directly into a nib and use it ...
How can I save a value set with an IB plugin?
Problem - I set a value of some custom object in the IB Inspector. When I close the IB file and load it later this value disappears. Why?
...
I have a modal dialog thats building a string. The string is shown to the user, and the user presses checkboxes, radio boxes, etc to build the string. The string exists nowhere - I build it for display in -()builtString; from the configuration of the self.valuesDict.
I can easily wire up the checkboxes via bindings in IB: for example to...
Hi,
I'm struggling with the basics on how to build views in Monotouch and how to tie them to C# code.
I know how to create an outlet for an UIViews that are on the Main window. But how can I create an oulet for an UIView that is located on a different view?
The main view has an AppDelegate class I can bind the outlets to. But there'...
Is it known how to get the keypad interface from the Phone and Skype apps? This is distinct from the modal keypad view that appears when a UITextField becomes the first responder.
Is this just a UIView that the developers of Skype laid out themselves in IB, complete with custom graphics to get the square shape of each button? Or is ther...
I have a button that sits on top of an NSScrollView, not within. When the scrollview scrolls, the button get's clipped with part of the button going along with the scrolling and the other part staying positioned.
To better describe the issue here's a video of the issue:
http://dl.dropbox.com/u/170068/ScrollTest.mov
The planned goal wa...
I'd like to draw two different colored rectangles (yes I need two.. it's a long story) to use as background. Like a simple two tone background color. How would I do this? The only thing I saw that comes close is defining a 'view' with a background color. So maybe I could do two views or something in the background but this seems kind of ...
I have set the statusbar to unspecified in IB.
On the app start up the space where the status bar was is white, not allowing my image to fill the screen.
When I return to that View after selecting back from another view. The image is full and he white bar is gone.
Do I have to set the status bar to hidden in the code as well as in ...