Xcode is Apple's integrated development environment (IDE). This tag should only be used for questions about Xcode itself, not general Mac or iOS programming topics. Use [cocoa] for Mac programming questions, and [cocoa-touch] or [ios] for iOS programming questions.
0
votes
0answers
2 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
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
0answers
5 views
Draw Border around UIImage
I am needing a border around a UIImage. The UIImage is added to a PDF file. Here is the code for drawing the image currently.
- (void) drawImage2
{
UIImage * demoImage = self.imageCopy;
...
0
votes
0answers
4 views
Including sub project (SocketRocket) is looking for CFNetwork in wrong place
I am trying to include SocketRocket in my project. But it is not finding the CFNetwork.framework.
More specifically it is looking for it in the wrong place. Here is the error:
dyld: Library not ...
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"];
...
0
votes
0answers
10 views
iOS 6 crumbpath using ARC doesn't dealloc
The app is a map that allows a user to take a tour, while on the tour the user's location is tracked using breadcrumbs from the code found on the developer page for apple (crumbpath and ...
0
votes
0answers
19 views
iOS - Help rotating an image (an asteroid ship image)
I am creating an asteroids clone for iOS. I have create a ship class and I am trying to rotate the ship itself. I've been able to do rotations in openGL, XNA, C#, etc. without any problems. I've read ...
0
votes
0answers
6 views
Store UserName in Preferences Bundle of WebView iOS App?
Is there a way to create a settings/preferences bundle that stores the username of a form in a UIWebView?
In my App I use a UIWebView that requires username and password. I don't want to store the ...
1
vote
0answers
12 views
Why does building in Xcode overwrite my SQLite database?
First of all, I'm not using Core Data, I'm using SQLite only.
I save the data in the table and then query them by opening the app and looking at the data using SQLiteStudio. I even create a LOG to ...
0
votes
0answers
5 views
Clone repository from github in xcode userid password error
Open xcode then click "Connect to a repository"
After entering the URL the button on the bottom changes to clone. FYI The repository is private and should require a github password and userid. ...
-4
votes
0answers
37 views
Objective-C: Is a bad practice using for and arrays instead of writing a lot of code to create objects [closed]
Do this change the speed and performance of a program? Is it a bad practice?
for (int i = 0; i < 2;i++) {
NSString *string;
[array addObject:string];
}
for(NSString* _s in array) { ...
0
votes
1answer
9 views
Having Trouble Showing New Assets
So, when I was changing the assets throughout my application, for some odd reason, when I build my application some old versions of image assets are incorrectly used throughout my application. They ...
0
votes
0answers
14 views
Do distributive push notifications work while app is 'Waiting for Review'?
On Friday I submitted my app to the App Store and changed certificates from developer to distributive before upload. Prior to the upload, the developer push notifications worked great (a post was sent ...