Xcode is Apple's integrated development environment (IDE). This tag should only be used for questions about Xcode itself, and not for general Mac or iOS programming topics. Use [cocoa] for Mac programming questions, and [cocoa-touch] or [ios] for iOS programming questions.
-1
votes
0answers
6 views
how can I make share sheet with button?
How can I make what is shown in the picture exactly? I mean the Action Sheet or Share Sheet?
0
votes
0answers
4 views
File(.txt) Input Output from .trace file of XCODE UI Automation
I am trying to write debug lines from my automation script(.trace file) to a text file on local file system. I am using XCode Automation Instrument.
Can anybody guide me on how this is done?
-2
votes
0answers
14 views
What´s the better way to put a determinate image into a botton for a determinate didSelectRowAtIndexPath?
I have a tableView with a loth a of texts, for each text is a determinate image for the button, i´m using the delegate didSelectRow for that purpose but, i don´t know why its not changing the image, ...
1
vote
1answer
68 views
Disabling ARC — compiler flag already set
I have set the -fno-objc-arc compiler flag, but I still get an "ARC forbids message..." Here is a screenshot. Is there some other setting I need to change?
0
votes
2answers
47 views
Variable losing its allocation
I cant figure out why I am getting this error and would appreciate some guidance.
I am setting a variable in the viewDidLoad method and the NSLog returns the expected result from _myUser.email and ...
0
votes
0answers
9 views
iOS Facebook FQL problems
I'm trying to get the follow FQL statement working in my iOS app
SELECT comment_info,likes,share_count FROM stream WHERE post_id
For some reason i keep getting an error from the graph API saying
...
-1
votes
1answer
23 views
NSCalendar - DateFromComponents return me wrong date! Don't understand why
I work with the TapKu library for calendar.
And I want to display in UIAlertView the date selected.
In comments, I put the value of "info".
The function which return the NSDate is this one :
...
0
votes
1answer
15 views
Button calc stopped working
I have a simple program that does a calculation on a button press. The result is placed into a label using the following code:
//converts the float to 2 descimal places then converts it to a string
...
0
votes
0answers
9 views
Image Path encode to Base64 -Json file
i am building app where I retrieve list of menus using Json file:
I got poblem within my UITableview , the loading is too slow .
example of Json:
"Mon": [
{
"Type" : "Breakfast",
"Name":"Sweet ...
0
votes
2answers
15 views
How to show answers of a flashcard type programmed iPhone app between two arrays, xcode?
I'm trying to display questions in a viewcontroller using storyboards
and when the user clicks show answer. It brings it from view
controller to another. The other view controller just shows the
...
0
votes
1answer
20 views
OSX 10.8.4 xcode Sigabrt
Just got done updating my box to osx 10.8.4 and everything appeared to be functioning fine until I began using xcode. The first time I build a project it runs on the simulator fine. The second time I ...
0
votes
1answer
8 views
Change view when didReceiveRemoteNotification
I am trying to change from the App delegate method to the Master View when I receive a Remote Notification, in order to perform a segue in the Master View to another view, but I am getting an ...
2
votes
1answer
33 views
Need help understanding this line of code?
Ive come across this line of code in an example, But I dont know what it does!
[(CTView*)self.view setAttString: attString];
CTView is a custom class of type UIView and this line of code is in the ...
0
votes
1answer
10 views
UISwipeRecognizer and it's associated object
So i've been looking at how to use a swipe recogniser but i'm a bit stuck.
I've used the Interface builder to attach a swipe gesture recogniser to one of my many textfields.
I then want to clear the ...
-2
votes
0answers
15 views
How make status ready for AVPlayer
I have my stream player, so i need when i pressed on the button "play stream" for example, i must see "Loading..." in UILabel, when my stream connect to URL radio. How it's realize? So i think...
if ...
0
votes
1answer
15 views
IOS 6 Orientations - Only One Viewcontroller supports Landscape & Portrait orientation - else ONLY Portrait
As the Long title suggests I've been real struggling with IOS 6 Orientations lately.
I'm working on a current project which is iPhone based only, were almost all viewcontrollers only support portrait ...
0
votes
0answers
11 views
Single Line Horizontally scrolling text field using storyboards and Xcode 4.6.1
Title says it all. My goal is to have a text field whose text is changed to display a button push. As the text reaches the end size of the text field, I want it to "chase" the last character entered ...
1
vote
0answers
7 views
Restoring In App Purchases for iOS using Unity
I want to create a button that allows the user to restore their In App purchases if they ever delete and re-install the game.
I am using Unity 4 for iOS specifically.
I have done this in ...
0
votes
1answer
28 views
Custom UIView in Code
Ive created a UIView in code using the addSubview:view method. If I want this to be a custom class rather than the standard UIView, does all this customisation have to take place in the view ...
0
votes
0answers
31 views
Strange malloc message
I've faced some strange message in console at the very beginning when I run my app.
It says:
malloc: enabling scribbling to detect mods to free blocks
Sometimes my app crashes right after this ...
0
votes
1answer
25 views
Search in an NSArray whose content are fetched CoreData objects by an specific object atribute
I've a NSArray that contains different Exercise objects that were fetched from CoreData.
In another method in my program I need to find an object whose property matches a criteria eg: ...
1
vote
1answer
44 views
Objective c - Multiple scrollviews inside a scrollview
So, I got 2 Scrollviews inside a scrollview that fills the whole ViewController.
so the first SV is scrolling without a problem, the contentSize for the 2 sub SV is set.
unfortnatly I think it has ...
0
votes
0answers
8 views
Can iOS do central and peripheral work on same app at same time?
Can iOS (iPhone or iPad) app have Core Bluetooth (BTLE) central manger and peripheral manager objects at same time?
Can they operate asynchronously, or does main app thread need to make them share ...
0
votes
1answer
26 views
apple mach-o linker error - string ar
Xcode builds… I'm following http://www.youtube.com/watch?v=mQCjup8Uv5Q to the T and I'm getting errors.
I have the error apple Mach-o Linker Error some how with
'Undefined symbols for architecture ...
0
votes
1answer
18 views
How to store server authentification in source code
In my app I'm doing various request on server API. When I'm doing those requests, part of my requester class is:
NSString *authString = [[[NSString ...
0
votes
1answer
17 views
MonoTouch, UITableViewController, How to insert a row in a section?
I designed a UITableViewController with static cells in XCode.
After click on a button I want to add a row in one of the sections with a result.
My code:
InvokeOnMainThread (() => {
...
0
votes
1answer
24 views
IOS Track User Location Map kit
How i can track user location using CoreLocation and MapKit? I place a point on the map. When the application is minimized to check whether the user has not reached the destination. If you reached to ...
0
votes
3answers
19 views
Ignoring library .xcodeproj file changes
In my iOs app i'm using a static library from google. I have the source pulled from their git repository and i've linked the project as a subproject of my App.
I needed to change some build flags and ...
0
votes
1answer
31 views
webViewDidFinishLoad called multiple times for single loadrequest
I have been using webView delegate successfully from long time. But recently I faced strange issue with this delegate. In my current project I am trying to access my router from webview. I am passing ...
0
votes
1answer
13 views
Itune connect invalid binary status
i have x code 4.6.2.
development target is iOS 4.3.
armv7 is the architecture
i am trying to upload to app store
submitted successfully.
but status changed from upload received to invalid binary.
...
0
votes
0answers
14 views
Cannot export developer ID signed Mac app
I am trying to build an update to my Mac app. As usual, I clicked Product>Archive then, in the Organiser, I clicked Distribute...>Export Developer ID-signed Application. Xcode finds my Developer ...
0
votes
0answers
21 views
User Interaction enabled No Only to the parent
I have one scroll view (UserInteractionEnabled = No) with one image view as its subview.
I am assigning tap gesture to imageview but it is not working even if imageview is UserInteractionEnabled ...
0
votes
1answer
35 views
What does it mean when in-app purchases are “in review” while the app binary itself is still “waiting for review”?
I am a bit confused by this. How is Apple supposed to review in app purchase content without the app? All my IAPs are "in review" while the app itself is "waiting for review" since two days.
This is ...
1
vote
0answers
11 views
XCode repeatedly hangs on launch
I'm new to OSX and running Mountain Lion in a Virtual Box VM. Xcode was running fine and I managed to create a simple Hello World App. I restarted the VM and when I tried to reopen my project Xcode ...
0
votes
0answers
6 views
xcode, scroller & landscape orientation only.
The answers to this question are relative to earlier versions of xcode so the code has been depreciated for version 4.6.2
I have achieved applying a scroller to the iPad storyboard in Xcode 4.6.2 so ...
0
votes
2answers
33 views
Add image to window with SDL — c++
I want to add an image to a window. This is my code:
SDL_Surface* bitmap = SDL_LoadBMP("bat.bmp");
// Part of the bitmap that we want to draw
SDL_Rect source;
source.x = 24;
source.y = 63;
source.w ...
0
votes
0answers
9 views
Bizzare issue in iOS instruments, giving unnecessary snapshots with unknown and unwanted set of images?
Team,
I have written an iOS instruments javascript which will run my application through simulator using instruments. This is for automation testing. The requirement is I need one screen shot per ...
0
votes
1answer
32 views
Class outline in XCode
I am looking for a XCode plugin or some configuration settings that might allow me to see the class structure in a file, by showing all defined classes, variables and functions on the right hand side ...
0
votes
1answer
19 views
GitError while submodule new BOX SDK
Vinods-Mac-mini-2:~ vinod$ cd desktop
Vinods-Mac-mini-2:desktop vinod$ git clone https://github.com/box/box-ios-sdk-sample-app.git
Cloning into 'box-ios-sdk-sample-app'...
remote: Counting objects: ...
2
votes
4answers
46 views
UISegmentedControl Color Issue - Color Shows Fine on Simulator, Not on Device
FIXED!
You won't believe it... It was a Winterboard theme messing with it! The bugger! Disabled theme and voila, works perfectly. The theme in question was "Ayecorn" for anyone interested. Not cool! ...
0
votes
1answer
51 views
Is there a way to find methods in my code which won't run on previous versions of iOS?
I had a problem with the latest release of my app, where iOS 5 users said it was crashing. I quickly discovered the problem to be with using an iOS 6 method. I didn't realise this method was a new ...
-6
votes
0answers
22 views
Using x-code, i want to allow the user to input data, it to be used in a formula to output data. [closed]
Specifically, the client types in the number of tiles for an LED Screen (width and height, eg 200 by 300) and is presented with the weight, wattage, pixels.
0
votes
0answers
17 views
how to implement one of the language dictionary app's functions
I am using an English dictionary app on my iPhone, and I want to use one of those dictionary functions for my app I am working on, where you are not only able to look up a new word but also when you ...
0
votes
2answers
10 views
Get Week Day Name for the first of the month from an NSDate
I have an NSDate and I want to find out the Week Day Name for the FIRST of the month from that NSDate. So for example I get given "15th of May 2013" and I want to return "Wednesday" as "1st of May ...
0
votes
0answers
11 views
In Google Plus API,GTMOAuth2ViewControllerTouch returning nil authentication and access token
In iOS app, I am using below code to retrieve user's authentication:
GTMOAuth2ViewControllerTouch *viewController = [[GTMOAuth2ViewControllerTouch alloc]
...
0
votes
1answer
21 views
opencv saving image captured from webcam
few days i'm spending on it,
i receeive an error sigabrt error when codes tryng to save the image on the hd, somewone has the solutions or some ideas?
im working with a macbook pro mountain lion on ...
0
votes
1answer
28 views
Window doesn't load — c++/SDL
I'm very new with SDL. I'm trying to add an image to a window and I have followed this tutorial: http://lazyfoo.net/SDL_tutorials/lesson02/index.php
I'm doing all the code in xcode and when I run it ...
0
votes
1answer
11 views
Calculator Application Error
I have this code for a calculator app using xcode and got this problem in case 10 that says that 'range' was an undeclared identifier. I just want to make this app calculate decimals. Somebody please ...
-5
votes
4answers
45 views
How to create XML format file programatically?
<?xml version="1.0"?>
<Mytrip>
<start_time>06/06/2013 09:00:00 AM</start_time>
<end_time>06/06/2013 09:30:00 AM</end_time>
<start_address> ...
1
vote
2answers
64 views
Tranfer files without using Itunes between IOS devices
Hi i just have question running in mind that how can we transfer the files between ios devices without using itunes.I have done apps using Gamekit where it can communicate between two ios devices.
Is ...