This tag should be used only on questions that contain Objective-C code or are about Objective-C features. The tags "cocoa" and "cocoa-touch" should be used on questions about Apple's frameworks or classes.

learn more… | top users | synonyms (2)

0
votes
0answers
5 views

Unrecognized command line option “-fno-objc-arc”

I had over 200 errors in my Xcode project and found that my problem had to do with ARC being enabled. I followed the advice found here to use the flag -fno-objc-arc. Now I am down to only 7 errors, ...
0
votes
0answers
2 views

iOS: Get the real position of current objects

With the Pan Gesture Component, I am trying to get the first position of the current object dragged. For that, I did: // Get X,Y position if (recognizer.state == UIGestureRecognizerStateBegan) { ...
0
votes
0answers
5 views

UICollectionView scroll to specific section

Using Objective C and Xcode I have created a UICollectionView with 10 sections and all works fine. Is there anyway to set the section to which is viewed when first shown? By default it starts to ...
0
votes
0answers
3 views

EXC_BAD_ACCESS in cocos2d

Im kinda new to cocos2d and objective-c in general so bear with me. I got a EXC_BAD_ACCESS error in my code, so I did what I usually do, and turned on NSZombies. This usually spits out something ...
0
votes
2answers
15 views

Why using autorelease when assigning a custom object to an instance variable with a setter?

I want to assign a custom object to an instance variable. Here is the code: - MyController.h/.m #import "CustomData.h" @interface MyViewController : NSViewController @property (retain) ...
0
votes
0answers
3 views

Windows Azure Parameters

Folks, Good Night! Can you halp me in this situation ? I search for two days, but I cant't find a way to do this ... How can I pass parameters to read function in Windows Azure mobile service ? In ...
0
votes
0answers
11 views

iOS: Collision Objects & PanGestureRecognizer

I have implemented the PanGetsureRecognizer for dragging my boutons, images and other components on my iPhone screen, but now I have a new conflict concerning the Objects Collision. I have ...
0
votes
1answer
17 views

IBOutlet referencing two storyboards

I have two XCode Projects in the same directory using very similar names. I've noticed when creating an IBOutlet in one project with the same name as another IBOutlet in the second project that the ...
-1
votes
0answers
12 views

HTML table Parsing xcode

I am trying to parse: [www.neiu.edu/~neiutemp/PhoneBook/alpha.htm] My code to parse this URL: NSURL *tutorialsUrl = [NSURL URLWithString:@"http://www.neiu.edu/~neiutemp/PhoneBook/alpha.htm"]; ...
1
vote
0answers
5 views

Google AdMobs custom click events not working with unsupported network

I am using Google AdMobs DFP to serve up mediation banners from other networks. I have added Millennial and InMobi fine but now I need to add a network (YOC group) that does not have an adapter for ...
0
votes
0answers
11 views

Setting names for UITextFields for Automation testing using Instruments - iOS

When I log element tree, I can see that my buttons have names using which I can access them in my scripts. In my app, all text fields don't have names set up. I tried setting up names for them using ...
0
votes
0answers
30 views

resignFirstResponder changes frame value

I have a LoginViewController with two text fields and a button. I used storyboard, so these are not created programmatically. They are below each other. Here's the .h file @interface ...
0
votes
1answer
20 views

NSURLCredentialPersistenceForSession: What is meant by session here?

I noticed that you can make credentials with session persistence. What does this mean though in this context? I don't see how this relates or gets connected up to to say a web server session. Is ...
0
votes
0answers
16 views

Reading data 4m console

Can somebody help me out to execute the below program correctly. when I try to execute the below program, wherever the scanf() statement encounters, the program is being terminated. I tried in ...
1
vote
0answers
18 views

Strange Behavior With NSTextField and an NSAttributedString Placeholder

I'm adding a placeholder to an NSTextField: NSTextField *textField = [[NSTextField alloc] initWithFrame:NSMakeRect(0.0, 0.0, 100.0, 30.0)]; NSAttributedString *string = [[NSAttributedString alloc] ...

1 2 3 4 5 8713
15 30 50 per page