Tagged Questions
0
votes
0answers
12 views
GameCenter OSX how to link to button
So I read apples documentation and to get rolling... I got their code to work... by fixing my header to the window in Interface Builder... Now I am completely lost as to how to either create or find ...
0
votes
0answers
33 views
Custom cell will not appear when using xcode simulator [closed]
I tried creating a custom cell and the adding the button and uiimageview, but it does not appear in my app when I run it in the simulator. Any ideas why?
0
votes
1answer
27 views
No visible at interface for NSFEtchrequest declares the selector
First : sorry for my bad english, i'm french ...
I'm trying to add 2 parsing functions on my Xcode application but i have always the same error :
No visible at interface for NSFEtchrequest ...
0
votes
0answers
32 views
No visible @interface for 'Card' declares the selector
hello i am a complete novice in programming and i'm following a tutorial online to build a card game app. i have a problem making the cards show
-(void) showHand:(Hand *)hand;
{
int ypos = 80;
for ...
0
votes
1answer
29 views
Apple Human Interface Guidelines
Alright, so I was looking at the Apple Human Interface Guidelines, and apparently there's a rule that you can't display more than one sheet at a time. But then I went into X-Code, created a new ...
1
vote
3answers
45 views
Xcode Scene Dock hidden
My scene dock is hidden... How can I make it visible? The red one is missing
0
votes
0answers
16 views
Migrate from a xcode codification to phonegap codification
I made originally an application in Xcode and I finished but I want to add more functionality, but now I want to use PhoneGap but reuse my interface that I had on the first version but this its made ...
0
votes
4answers
163 views
Is it possible to create Python-based Application in Xcode or equivalent?
So I have a lot of python scripts that I have written for my work but no one in my lab knows how to use Python so I wanted to be able to generate a simple Mac App where you can 'Browse' for a file on ...
0
votes
0answers
40 views
Sending message back to ClientViewController from C++ class xcode
I have an objective-C application. I was hoping that I could simply implement my C++11 interface directly from the ClientViewController.h/.mm
@interface ClientViewController : UIViewController ...
0
votes
2answers
195 views
Xcode - Interface Builder and iPhone 5 images
I'm using IB to assign images to UIImageViews. I know that for retina images you need two images: the non-retina resolution .png and the @2x.png. I just assign the normal image in IB and when the ...
0
votes
1answer
65 views
No visible @interface for 'NSXMLParser' declares the selector parseXML
I have this files:
XMLParser.h
#import <Foundation/Foundation.h>
@interface XMLParser : NSObject <NSXMLParserDelegate>
{
NSXMLParser *parser;
}
-(id)initWitData:(NSData *)data;
...
0
votes
6answers
107 views
Center a UIVIEW on all device sizes
I am workin on an iPhone app and am relatively new to xcode. I am trying to design my application so that no matter what device is used, the main ui will be center. I have a uiview that contains all ...
0
votes
1answer
145 views
XCode 4.5.2: Interface Builder is unable to open documents of type CocoaTouch XIB
Xcode 4.5.2, build sucks with an error "Interface Builder is unable to open documents of type CocoaTouch XIB."
What does it mean?
I can build another MacOS projects without problem, this error occurs ...
1
vote
2answers
106 views
Is there anyway to extend an UITableViewController onto an UIViewController
First off I'm quite new to objective-c and xcode in general, so it prop just a lack of fundamental knowledge.
But basically need to extend an UITableViewController onto an UIViewController
or to but ...
2
votes
1answer
60 views
Problems with detail UIView
I'm trying to build my iOS app's interface. Starting over and over with new project i'm still getting a problem with a detail view's controls (see picture).
Here i got the screenshots:
detail view ...
1
vote
2answers
73 views
Is it possible to use C++ interfaces with Objective-C?
Is it possible for an Objective-C class to have a instance variable of a C++ interface type?
I can declare a C++ class fine in XCode (it compiles) like so:
class MyClass {
void MyMethod();
}
...
1
vote
0answers
243 views
Receiver is a forward class and corresponding @interface may not exist
thanks for taking the time to read my problem and help me:)
I am building a TabView project and on tab 3 of the app I have a row of albums, in album 3, page 1 the nextButton takes the user to page 2 ...
-1
votes
1answer
66 views
how to resize elements in interface builder?
I was working my project with XCOde and interface builder, but the little dots around the elements in interface builder are not showing up anymore. I am not able to resize anything. I created a ...
1
vote
1answer
194 views
Xcode: Assigning an Object as a UITableView datasource/delegate in Interface Builder
I'm relatively new to Xcode.
I am trying to do this in Xcode's Interface Builder as much as possible. Because I am working with legacy code, Storyboards are not an option.
I'm working with a XIB ...
2
votes
1answer
132 views
Can @interface have more than one class? [duplicate]
Possible Duplicate:
Objective-C multiple inheritance
In my application, I need to add SideSwipeTableViewController and PullRefreshTableViewController to ViewController.h. However, for some ...
2
votes
1answer
2k views
Add custom fonts in XCode 4.3.2 using IB
I added a custom font and i´m using it this way:
[self.labelTestes setFont:[UIFont fontWithName:@"Myriad Pro" size:19]];
Is there a way to add it using IB, because having to connect all my labels ...
0
votes
1answer
207 views
In iOS - When touching a text field in a scroll view the view can not scroll
When trying to scroll a view by touching and dragging on a text field, similarly to how you would scroll around on the edit contacts view on the iPhone, the view will not move, touching and dragging ...
0
votes
0answers
225 views
xcode custom button shape with touchable shape?
So I've uploaded my own images which are irregular in size as buttons. Now when I loaded them they weren't of satisfactory size. So I've dragged them and modified them to my correct size.
The only ...
0
votes
0answers
84 views
Get selected text in a Text View and change it by adding ** to either side of the selected text
I'm making a cocoa application for Mac OS X.
I have a Text View where the user can enter text. What I would like to do, is have a button, eg. 'Bold' which will get the selected text or where the ...
0
votes
1answer
874 views
Xcode Interface Builder set highlighted image for button
I'm making an cocoa application from Mac OS X, not for iphone.
I am able to set the background image of a button and uncheck bordered in the attribute inspector. However, I do not know how I set the ...
0
votes
0answers
45 views
How to access main nib from a different, non-delegate, class instance
Is it possible to access the main nib's window from another instance different from the typical AppDelegate class? I ask because it seems as if it was possible since any object placed in the nib, from ...
0
votes
2answers
501 views
Prevent UIButton automatic resize after changing text in Interface Builder
If I slightly modify the title text of a UIButton I've added to my view in Interface Builder it automatically resizes the button. This is really annoying if I only make a small change yet have to ...
0
votes
1answer
21 views
Issue with background on UIGroupedTableViewCell
I'm using the following code to generate the background
cell.backgroundView = [ [[UIImageView alloc] initWithImage:[ [UIImage imageNamed:@"list-item.png"] stretchableImageWithLeftCapWidth:0.0 ...
1
vote
0answers
93 views
Is there a way to jump to code for outlets / actions in Xcode (4.4)?
I've been looking at an .xib that someone else set up and it would be really convenient if I could, say, double-click on the properties / methods associated with outlets / actions to jump to the ...
0
votes
2answers
528 views
Xcode set default button on enter when making a form
I'm making a form in Xcode using objective-c and cocoa. In the interface builder I have 2 textfields and 2 buttons. When I build the project and run it, neither of the two buttons are selected ...
0
votes
1answer
240 views
After upgrading from Xcode 4.3 to Xcode 4.4 one of .xib file is not loaded
I have one .xib is not loaded after upgraded from 4.3 to 4.4. I tried to change developement target to 4.4 from interface builder --->file inspector but same. I have another Mac with Xcode 4.3 same ...
0
votes
1answer
1k views
Add a checkbox (or similar) to iPhone app using XCode
I notice in Objects Library when I'm in editor, there are checkboxes. But they disappear when I go to the storyboard. So is there a way to add a chechbox in iPhone interface or are they meant for ...
1
vote
1answer
103 views
Why does my GUI look different when running vs in Interface Builder?
I am using a modal view controller to show a view on screen. I have everything on the view setup and aligned in Interface Builder...
But when I run my app on my ipad things are not aligned. In the ...
-2
votes
1answer
254 views
No visible @interface for 'NSString" [closed]
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"You Lost!"
message:[NSString stringWithFormat:@"You were hit! Try again!"]
...
1
vote
2answers
399 views
Make the scene in Storyboard longer or scrolling in it
I'm working in the storyboard, and one of my scrollviews is way longer than the iPhone screen (to display some long text). In the simulator it's no problem to scroll but is there some way to scroll ...
0
votes
1answer
595 views
Landscape orientation switches to portrait
I'm new here, and I have a question. I've searched the web and found answers for my problem who seem to work for others. but not for me.
I'm building an iPad app (Xcode 4.3.3 using storyboards) in ...
0
votes
0answers
84 views
programatically making and iAD Banner
I need to make the banner view programatically because I do not have an interface builder file. How do I go about making this.
Thank you in advanced!!!
0
votes
1answer
632 views
How to init view with nib file? How to manage view controllers in a project?
I've created new Single View project in Xcode. In ViewController.xib I've added new custom view inside another view. (grey rectangle)
Then I've created new files: "CoordinateSystemViewController".
...
0
votes
1answer
279 views
iOS interface orientation
How can I enable rotation of the Interface without override UIViewController method:
-(BOOL)shouldAuorotateToInterfaceOrientation
I don't have UIViewController class in my app, just only UIView.
11
votes
4answers
14k views
No visible @interface for
I have gotten this error on several occasions and am unclear as to what causes the error in general. After looking for over an hour on stack overflow and google I still don't have an answer. Could ...
0
votes
1answer
521 views
Implementing decimal instead of fraction, Calculator Xcode App
Ive scoured everywhere and haven't found a situation similar to mine.. New to Xcode/Objective C, I am putting together a dual purpose (fraction/decimal) calculator app. Ive found some good stuff on ...
1
vote
1answer
156 views
After recreating a project, Interface Builder connections work but can't be modified
I had an old project (iOS 3-era) that I was updating to iOS 5. I had some problems migrating the project automatically and ended up creating a new project and copying all the files over. Everything ...
0
votes
1answer
1k views
How can I change the color of a UITextField clearButton?
I would like to change the color of the clearButton that appaers when you are writting on a UItextField. Any suggestion? I am not an advanced interface developer and I have no idea of how to do it.
0
votes
1answer
267 views
BarButtonItem On Toolbar
I have a toolbar at the bottom of my screen. I want to have two buttons on it, one on the left side, and one on the right. However, unlike a navigation bar, there are multiple spots that aren't on ...
2
votes
2answers
267 views
How do I change the image on a button I created in the Xcode interface builder?
Using xcode I have created an interface with several buttons, the problem I am having is that I would like to change the image on a button once it has been clicked. I understand how I would do this if ...
-2
votes
1answer
108 views
Using an object defined in one @interface in another
I've defined two @interfaces in a .h file for my iPhone app project and would like to use a NSMutableData object defined in one @interface in the other. Is this possible / how would I go about doing ...
0
votes
1answer
87 views
How to Display a UIImage View in another interFace Builder ?
hye guys
I'm working on a app that on the menu there is two buttons that one of them opens the Camera and use it in a ImageView and the other button makes you choose an image from the iPhone library ...
12
votes
1answer
2k views
How to set Interface Builder document versioning default to 4.2?
When I create a new xib in interface builder the Interface Builder Document (Versioning) development parameter is defaulting to xCode 4.1
Is there anyway to default this to xCode 4.2 - The reason I ...
7
votes
3answers
6k views
Interface type cannot be statically allocated?
I tried to put this in the header file of my view object:
@property (nonatomic) UIColor color;
to store the color that lines should be drawn with in this view.
Xcode gives me an error on this ...
0
votes
2answers
130 views
Odd Xcode behavior when creating classes
When I go into xcode try to add a new class with File>New>New File and then adding an Objective C class, my header file winds up looking like this:
@interface Course : NSObject
@end
instead of ...