I've got a custom UITableViewCell class whose model object performs an asynchronous download of an image which is to be displayed in the cell. I know I've got the outlets connected properly in IB for WidgetTVC, I know that image data is being properly returned from my server, and I've alloc/init'd the widget.logo UIImage too. Why is th...
I am used to programming for the iPhone. There, I would connect a button to an action, and then a method by creating the method like so: -(IBAction) DoStuff{…}. Then I would make an outlet for the button, and then the actual button in Interface Builder. I would then connect the button to the outlet, and then connect the button to the act...
I downloaded xcode 3.2 and the iphone sdk 4.1, which has been working wonderfully, until a few days ago. For some reason whenever I open interface builder by clicking on a xib file all the pictures in the buttons and imageviews display a big blue question mark, and then interface builder gives me this:
Assertion Message: An uncaught exc...
I have a table view that displays dates using a NSDateFormatter to format them using the Full date style (today would be formatted as "Friday, September 24, 2010" or in German "Freitag, 24. September 2010"). But when editing the date the formatter forces the user to type the date in the same format. How can I make the formatter accept da...
I created a text field in XCode, not Interface Builder. In IB you can select different keyboard types. How can you do the same thing in XCode?
...
Is it possible to apply an affine transformation to a view directly in Interface Builder? I know I can attach an outlet and assign it to the transform in code, but I'd like the convenience of visually tweaking the transform in Interface Builder.
...
I have a list view class that just like NSCollectionView requires an additional prototype item and a prototype view to be of any use.
When dropping an NSCollectionView from the library in Interface Builder those two helper items are automatically created. However I couldn't find a single official Apple document dealing with this use case...
I have been working on the iPhone development for three months now. I have a fairly decent understanding of Objective-C and iOS, but I have been putting Interface Builder on the back burner.
I am looking for resources, preferably non-video as well as video (as my Internet connection is very slow)
What's my best path to getting a han...
I have a UIScrollView in a UIViewController view that scrolls horizontally. How can I detect whether the scroll is at the left end or right end or somewhere in the middle?
...
I am making a little application with three NSButtons with an image set. These buttons have no border nor background. However, when I click a button it turns into a gray rectangle.
How can I fix this? Thanks.
...
is it possible ?
i try to add it but it can not put inside of TabbarController, or it need to coding instead?
...
I have an NSTableView connected to an NSArrayController by setting the column values in interface builder to the appropriate keys in the NSArrayController. I'd like to use a custom sorting order, specifically, compare:options: with NSNumericSearch. Where can I either change my code to do this, or tell interface builder to use a differe...
I've created a UINavigationBar in IB. But don't see any way to set the button colors... so I do this with code:
for(id subView in navBar.subviews)
if( [subView isKindOfClass:[UIButton class]] )
{
UIBarButtonItem *b = (UIBarButtonItem *)subView;
if( [b.title isEqualToString:@"Cancel"] ) [b setTintColor:[UICo...
I would like to make some bindings that toggle item titles in a popup menu based on a single numerical value in a text field. Let me explain:
This is my UI:
I want my menu items to automatically adjust to singular or plural based on the number in the text field. For example, when I type "1" in the box, I want the menu items to be l...
I have figured out how to loclize, but it seems yo end up with a lot of paralell xib's.
Is there a good way to manage changes in xib's that as been localized, or do I have to be very strict about not localizing before the xib's are fixed?
...
Using the Employees-Departments example what I want to do is bind a column to "[email protected]" as outlined below:
Entity Employee
attributes: "firstName", "lastName", "hoursWorked"
relationship: "departments"
Entity Department
attributes: "name"
relationship: "employees"
I want a table wh...
Hi, I am trying to make a view similar to the Info-view of the Maps-app
i want to have a textview, 2 tableviewcells and a button in my view.
which 1 one of the cells have a textfield and the other one to have a label.
I tried to look it up on the internet, but I wasn't able to find any.
also I don't know what keywords I should use.
Pl...
Hello!
Forgive me if this is a simple question, but is a UISwitch a boolean variable? If it is not, how can I make it BOOL?
Please allow me to explain why I'm having trouble.
I declared my variable in my FlipsideViewController.
UISwitch* mySwitch; //switch used to turn label2 on/off
also creating an accessor
@property (nonato...
I have a UITableView with many rows that push a DetailViewController depending on the selection. This detail view contains a UIImageView, and several UILabels (let's say book description, book comments etc). In viewWillAppear I assign the proper content to these outlets, in order to display content for the selected row. My problem is tha...
Something I'm not very clear on is whether I should/could use interface builder to create reusable game sprites. For example, if I have a ball that I want to create an indeterminate amount of at run time, should I be creating a nib file (and either attaching graphics in IB or drawing them in drawRect) with it's own viewcontroller class a...