Tagged Questions
3
votes
1answer
50 views
Xcode dynamically create arrays depending on user?
I'm trying to build an iphone fitness app to allow the user to first create 1 routine. then within the routine to create exercises, and within each of those exercises to create sets. I'd like to allow ...
0
votes
0answers
18 views
Switch to previous application with command tab
I want to switch to previous application programmatically.
I used the same code to paste (CGKeyCode)9 and it worked.
List of key code : Key code
CGEventSourceRef source1 = ...
0
votes
3answers
53 views
Resize UIView so that whatever I draw is visible - ObjectiveC
I have a UIView. I am drawing a line inside the UIView programmativally. But when the line goes outside the UIView, the part of the line which goes out, is invisible. How can I resize the UIView so ...
0
votes
1answer
63 views
Smooth curve between two points?
I have two CGPoints. I need to draw a curve from one to the other. How can I draw it? Core graphics or Bezier path? If so, I need some guidance please. Thank you for your help in advance.
-1
votes
0answers
38 views
Tutorial for using TTSpeechBubbleShape class? [closed]
I need to create speech bubbles for my iOS app. And I came across TTSpeechBubbleShape clas, which seems to be the easiest way to get about it. Are there any tutorials which teach you how to use the ...
0
votes
1answer
63 views
Not receiving e-mail sent by an iPad app?
I have the following problem:
I am trying to attach a file to mail and send it via the mail form in my iPad app. I think everything goes well, the log output says the mail is sent, but I am not ...
0
votes
1answer
32 views
ios: Coreplot Multiple datasets Have the same data source and overlap?
i am trying to display two lines on the same scatter plot. I've successfully put both on one chart. One is green, the other, red.
As of right now, they appear to be pulling from the same data ...
1
vote
1answer
52 views
ios: Coreplot, having trouble getting multiple plots on one chart
I have been working on this all day and still haven't a clue. I have made two datasets and put them into a dictionary that I then use as the datasource for my plot. Everything should be working but It ...
1
vote
2answers
64 views
How do include a .c file to my ios app? [closed]
I have file.c file that I want to add to my ios app. I renamed it to file.m, rename the main() to main2() and included it in my project in xCode. It compiles fine but how do I run main2()?
Could ...
0
votes
1answer
44 views
Initializing a “main” iOS image in app
So my question would be how would I go about initializing an image to become a sort of "main" image through setting it via button that would be located on each said image? Basically there would be ...
-1
votes
4answers
89 views
Is objective C mandatory for creating an iphone app? [closed]
Is it mandatory for a developer to be well versed with Objective-C if planning to develop a simple app for iphone?
-3
votes
1answer
63 views
How to create a stack view in ios App [closed]
I'm new to ios app dev. I need some suggestion on how to design/implement a UI in ios app.
Basically, I want to display a stack of view. Based on the configuration, some view need to be "collapsed". ...
0
votes
2answers
38 views
How to edit a plist file by key type
I want to add into my plist file present in "prefPlist" variable some key with its relative type.
The example content must be:
<dict>
<key>App Version</key>
...
3
votes
0answers
73 views
Connect to Active Directory from iOS application
I need to connect to an Active Directory from an iOS application. We cannot replicate or create a PHP/ASP wrapper for the AD because it is behind a VPN. The iPhone user must first connect to the VPN ...
0
votes
2answers
84 views
How to create UIView like IMDB app
I'm trying to recreate a view.
I've seen in the IMDB app and have no idea how to do the same thing.
I'm fairly new at app building, so any advice would help.
In the IMDB app when you select pics ...
0
votes
2answers
96 views
Learn IOS programming from the ground up [closed]
Lets assume that I have no prior knowledge of programming and I want to get into IOS dev. What would be the best way to go? I want to learn how to develop apps and 3d games. Give me a path that I ...
-1
votes
3answers
73 views
Trouble grasping/understanding Objective-C [closed]
i have read multiple books and completed the examples but cannot seem to understand Objective-c. I just don't understand what is needed to be placed where, so for example if i declared an instance ...
0
votes
2answers
37 views
How to read an IOS App project [closed]
I have been learning Objective-C and IOS 5 development for about two month, and find some open source IOS App projects, now I try to read those source code, but when I begin, I don't know how to begin ...
1
vote
1answer
85 views
iOS game Localization with String Format
I want to localize strings with numbers inside a sentence. I dont use iOS's Localizable.strings file since it's tedious and error prone and I may decide to rephrase words later on.
Here is what I ...
0
votes
1answer
34 views
CorePlot: xAxis NSDateFormatter trouble
I'm making an app with coreplot and am trying to get my labels along the Xaxis to read 12pm , 1pm, 2pm, etc. I have successfully implemented NSDateFormatter into the xAxis.label formatter.
Problem ...
0
votes
1answer
92 views
Expression result unused warning but don't want to use it
I am getting an expression result unused, the cause of this is pretty obvious but I would like to avoid this warning in the cleanest way possible:
- ...
0
votes
1answer
102 views
how many Full-Screen Transitions for ipad app are allowed?
I am developing an educational iPad app, Im finally done with the code and its ready to submit but I just found about the "Reduce Full-Screen Transitions" rule.
"For iPad: Reduce Full-Screen ...
0
votes
1answer
296 views
Using Accelerometer to measure small distances - iOS [closed]
Hi I'm new to stack overflow, and to iOS applicationprogramming. I've learnt basic-intermediate Objective C coding and have done bits and pieces to do with actual iOS apps, but have not actually ...
0
votes
0answers
33 views
Can someone provide me with some feedback about EnsureIT for iOS by Arxan? [closed]
We are considering to use this solution for our iOS app, does anyone have some positive/negative feedback?
Regards
0
votes
4answers
66 views
why does this code keep coming up with errors. xCode 4.6 [closed]
NSImageCell *imageFromBundle;
NSData *imageData;
NSURL *imageURL = [NSURL URLWithString:@"http://www.greatwhatsit.com/wp-content/uploads/2012/03/jeremiah1.jpg"];
NSLog(@"url");
...
2
votes
3answers
171 views
Updating App Resources from server in iOS
I am developing an application which have some pre loaded app resources that can be changed dynamically by user or admin, I have to put these app resources in document directory of my app so that it ...
3
votes
1answer
110 views
Objective c unable to define macro [closed]
I have this
#define sud [NSUserDefaults standardUserDefault]
Then I use [sud integerForKey: key]
Compile warning:
Class method '+standardUserDefault' not found (return type defaults to 'id')
...
1
vote
2answers
132 views
writeToFile:atomically: method appends to currently exisiting file?
It seems like the writeToFile method appends to the currently existing file path as long as the method calls happen during the same application runtime. Is this true?
Are there any other ways to ...
0
votes
0answers
54 views
how fix malloc_error_break in xcode?
I have an application developed in Xcode and it works perfectly. But when I add a class or object, even when I add a single variable and compile the application on my simulator, shows me the first ...
0
votes
0answers
18 views
MPMoviePlayerController not functioning properly
I am relatively new to Objective-C - any help would be greatly appreciated. I am trying to play video content through a button from a UIViewController. Thus far, the code allows me to enter the Video ...
2
votes
2answers
214 views
App crashing on a mac
I have written an app, that is crashing for ONE user. (out of 50). he gets a message with written "the application quitted unexpectedl" and this is the message:
Updated with full report as requested
...
0
votes
1answer
191 views
ios add UICollectionView reuseIdentifier error
I have add a UICollectionView to my view.I have implement the methed below.
I get error:
"NSInvalidArgumentException', reason: '-[NSIndexPath reuseIdentifier]: unrecognized selector sent to ...
0
votes
0answers
134 views
Export OSX application with Xcode 4.6
Hi tryed to export my first game built in obj-c, but when I do "Distribute..." > Export as > Mac Installer Package, he asks me the sign for the Mac Dev Center, but I don't want publish this ...
-3
votes
2answers
159 views
self.view addSubview:(UIView *)logInHome];
Below is the code i'm using but for some reason it does not take me to the next segue of the app i'm creating. So basically if the wrong password is enter you get an alert stating wrong password but ...
0
votes
1answer
154 views
Determine iOS application's total disk usage/filesize
I have an app that allows users to download files and save them to the device's internal memory. I need to be able to display the total app disk usage at any given time. I found how to check the total ...
0
votes
1answer
371 views
Running shell script using Xcode with arguments on ios
I have an bash script which I wan't to start with arguments by an app.
Currently I can generate the command, but how can I execute it?
This app is for jailbroken phones only.
Any solutions for this? ...
0
votes
0answers
44 views
How to add Pitch volume slider in MDAudioPlayer in a iPhone application?
How to add Pitch volume slider in MDAudioPlayer in a iPhone application?
I have integrated volume slider but now need to integrate code for Pitch slider.
2
votes
1answer
262 views
Debugging iOS app with gdb on jailbroken iPod touch | Objective-C Symbols
I'm looking to debug an app on a jailbroken iPod Touch 4, iOS (5.1.1) using. The only problem is GDB doesn't appear to have any knowledge of class/selector names for the app.
Attaching and setting ...
0
votes
1answer
61 views
How to make UITabBarItem a button without it changing the view?
I have a UITabBarItem (Contact) set up through storyboard which when I click it goes to a blank view. Programatically I have also set this tab up to open up a Mail Composer view, and when the Mail ...
2
votes
1answer
132 views
cocos2d mac project alert window is below main window under full screen mode
i am using cocos2d for my mac game. under full screen mode, the alert window is below the main window, which makes it not clickable. here is my code:
NSAlert* alert = [[NSAlert alloc] init];
...
0
votes
4answers
116 views
Trying to reload a UItableview whenever my plist is updated?
I have a plist that is populated by the user within my app. I am trying to display the contents of that plist in a UITableView and it wont display until after the app is relaunched which means its not ...
2
votes
3answers
91 views
iPhone Simulator screen is black when I have the app built and running
I'm 17 and quite new to all this however I've been learning for a while and have grasped the basics however I have encountered a problem of nothing being displayed when I build and run my app.
I am ...
0
votes
1answer
54 views
Take whats the user enters in a text field and store it in a text file?
I am trying to make a simple password protected app using a text file to store the password that the user entered. I want to take whats in a text field store it in a file and ultimately compare whats ...
-4
votes
2answers
462 views
How to get photos from instagram album in iphone app [closed]
I want to know if there is any way to import photos from instagram in iphone app.
Thanks in advance.
1
vote
1answer
75 views
Lite version of iOS app with changes in scene (storyboard)
I want to create a lite version of my app. When I searched on google, almost all the solutions mentioned to create a duplicate target and set necessary flags (to differentiate between full and lite ...
3
votes
1answer
255 views
Cancel Local Notification When app goes to Suspended state.(removed from background)
I am using Local notification in my application.it is working fine in foreground and background.
Now, What i need,if i remove my app from background then i want to cancel all notification
before ...
-5
votes
1answer
361 views
How to display an image using Xcode [closed]
I need to know how to display an image using Xcode and Objective-C. I am using Xcode 4.5.2. I would prefer to use an empty application. Thanks.
1
vote
2answers
126 views
iOS application slows down on real device
I have iOS 6 application that consists of UIView with many UIButtons (like 9 to as many as 100) displayed at same time; all buttons are movable, so I'm changing button's frame property all the time.
...
1
vote
1answer
126 views
How to get signal bars in iOS
How can I get the signal bars on iOS? I've read that it's impossible but there is an app in the appstore called Signals which does exactly what I want.
0
votes
1answer
91 views
Create png from UIImageViews iOS [closed]
I'm developing an iOs app for iPad. I'm displaying a grid with imageviews and I would like to make a png image from all the images, but with diferent pixel size. I mean, I can't do a screenshot, I ...