Hi, all.
I know the thread on http://stackoverflow.com/questions/1058766/interface-builder-cant-see-classes-in-a-static-library
there add to InterfaceBuilder(IB) classes in static library, temporary.
The way is drag & drop the header files(.h).
It's working in one time booting the IB
I wanna permanently add to IB the classes.
How to d...
I just installed the laster XCode and iOS SDK and I keep getting the following error when I open a XIB file.
"Interface Builder is unable to open documents of type CocoaTouch XIB."
...
Hi,
I have a very classical class which contains buttons and label, etc... :
@interface ExerciseViewController : UIViewController {
// Hardcoding for outlets to XIB file
// Outlets can be passed only as singe variables in Interface Builder.
// Therefore, we can only declare stupid variables, not arrays of buttons.
// Bid array
// La...
Fellow coders,
I wrote an iPhone app that plays wma stream, using libmms and ffmpeg open source libraries. The app has already been approved by Apple and is available for download, free of charge.
Now I'd like to have a VU meter on my app.
I'm using the avTouch code sample, downloaded from Apple (https://developer.apple.com/iphone/lib...
I get the following error in Xcode, when building project. Can someone help me fix it?
#ifdef __OBJC__
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#endif
with this error:
Prefix.pch:6:38: error: Foundation/Foundation.h: No such file or directory
Prefix.pch:7:28: error: UIKit/UIKit.h: No such file or directory
...
Is it true that UITabBarController never calls initWithNibName on its child views (individual tabs)? Or have I just set my app up in a really screwed-up way?
My MainWindow.xib looks like this in interface builder:
Note that the Window is completely blank while all the action happens in the Tab Bar Controller.
My app delegate calls...
Ok, so I have a UILabel created in interface builder that displays some some default text of "tap to begin". When the user taps the UILabel I want it to trigger an IBAction method:
-(IBAction)next; which updates the text on the label to say something new. It would be really convenient if this allowed me to simply drag a connection from m...
How can I continuously get data from an NSTextField and do this in the background? I'm doing this because I'm using a quartz composer plugin to get posted values in an NSTextField. This is within the same app.
Any ideas??
Elijah
...
I've got a simple form in my iPhone app. The form is laid out and managed via IB and the typical wiring (i.e. I am not creating this form programmatically).
One of the fields (and its associated label) should be shown only if a particular preference is set.
I could set the field and label's alpha to 0 and disable them in this case. ...
When I press enter on an NSTextField to send what ever's in the text field, it sends it, but highlights what ever's in the NSTextField. Does anyone know how to make it so that once it sends the command in, it deletes what ever's in the NSTextField?
Thanks,
Elijah
...
Hiya,
While implementing TableView I've stuck with the problem that I somehow has broken "lazy" loading behaviour of UITableView. Now upon entering the screen it loads all the cells (both visible and invisible).
Could someone point out where I should look at?
In IB I have such an organization:
-> UIView
--> UIScrollView
---> UITable...
i have create ViewController1 and ViewController2
and link view of ViewController2 to load in ViewController1 with Interface Builder
it show ViewController2 correctly but it does not respond my touch ?
how to fix it?
...
I'm using ibtool to localize nibs. I exported string files, translated them, and now trying to apply translated strings back to the nibs using ibtool once again. It works for the most parts except that for some files (about 25% of all nibs) I get the following error:
Couldn't open shared capabilities memory GSCapabilities (No such file ...
My app was all linked correctly. I launched it today and had a look at my 2 additional view, and their links are broken. It says the view is not defined in the class anymore, as well as one method I have still there is not being seen by interface builder?
How can these links be fixed?
...
I have already built a UIViewController subclass with a bunch of controls in it, and just realized that if I rotate the iPhone, half of the controls become invisible. So, I would like to somehow make the UIViewController's UIView scrollable so that when the device (or the Simulator) rotates, the user can scroll the view to see all the co...
I normally create classes and IBOutlets in XCode. However I saw a video where someone created a class and the IBOutlets in Interface Builder and the files and outlets were automatically inserted into the source code seen from XCode. They were using an older version of XCode. I tried doing this, but when I went back to XCode, I didn't see...
Hi, complete iPhone Apps developer newbe here :)
I have a relatively confusing problem: namely, I created several empty Xcode projects and ran the iPhone and iPad emulators just to see what happens and everything is fine, empty, but fine. However, then I decided to actually add some content BUT when I double click my .xib file nothing h...
I am using IB to place a UIImageView (top) ADBannerView (bottom) and within the same View. When running in the Simulator, if I click on the ad, after dismissing the ad screen, the UIImageView is pushed 20px down, leaving a gap between the status bar and UIImageView.
I've tried playing with all of the AutoResizing settings in the Inspec...
When revealing a new view, what are the differences between these two and when would you use each?
Also, what's the right way to nest views. for example, I have a UIImageview that animates onto my view and it has a button on it. I want to put that image and the button in their own view, then simply animate the view and have both handled...
I am working on Android since last 7 months....Also knowing brief about I-phone application.
In Android, There is a bad layout editor in Eclipse, but it's neither good nor User Friendly as I-phone Interface Builder is.
Is there any visual designer that would be on par with the iPhone "Interface Builder" ?
Ya, DroidDraw is there but n...