Hello there,
I wanted to do some Memory-Leak tracking on my App, but somehow I am not able to run Clang Static Analyzer because I always get an error message saying "command not found" when executing it with the terminal.
There was no ".bash_profile" file on my mac, so I created one. Is there anything missing?
Here is a picture of my...
I would like to make a UISlider(scrubber) for my AVPlayer. But since this is not an AVAudioPlayer, it doesn't have a built in duration. Any suggestion on how to create the Slider for fast forward, rewind and progress of the playback?
I read the doc on AVPlayer, it has a built in seekToTime or seekToTime:toleranceBefore:toleranceAfter:....
I have two warnings for my project in xcode, both don't stop the app running but I want to make sure I build without any warnings.
I recently removed Flurry from my app, and libsimulate and I can't get these messages to stop appearing despite spending many hours searching for answers on StackOverflow and Google.
I know it must be a sim...
Recently, I figured out that Xcode could be used to write normal C++ programs.
My problem is with the following code :
#include <iostream>
#include <fstream>
using namespace std;
int main (int argc, char *argv[]) {
char operation='0';
int operand=0;
//open file for reading
ifstream ifile;
ifile.open (argv[1]);
...
I have an .aifc file of about 2 minutes that I'm playing using AVAudioPlayer. When I send stop I hear a short 'tick'. When I send play after that I hear the tick again.
I tried setting volume to 0 before sending the play and stop methods, but that didn't work.
The tick is somewhat comparable to the sound you hear when you disconnect yo...
Hello,
I tried to use the ZipKit framework (http://bitbucket.org/kolpanic/zipkit/wiki/UsingZipKit) in the test application for iPad. I followed the "Traditional way" of the installation (as it is described on their page) with no success. Hope somebody can help me with it:
1/ I used hg to get sources
2/ I build the ZipKit project (Re...
I was wondering if it is somehow possible to open an external build log (for example the result of a simple make script) in XCode to process the errors and warnings?
In other words: can XCode be used as an Editor and still process an external build log?
...
hello everyone.In my application am getting an xml file from server and in that i have some attributes for the element.i donno how to read the attributes .The following is my XML file
<History>
<Result ImageId="4507" Description="" Date="10/19/2010 12:49:22 AM" />
<Result ImageId="4505" Description="" Date="10/18/2010 8:01:28 ...
I am new to iPhone apps and objective c and I cannot figure out what is wrong with my method the general idea is that it goes to a plist which contain latitudes and longitudes, takes the data stored in the array that the user enters in a text field, and then outputs a pin at that location. Any suggestions would be greatly appreciated. I ...
I have a xcode project with multiple targets (for logic and app unit tests).
I am also using core data with the mogenerator plugin to autogenerate source files from the .xcdatamodel.
The generate files are not being generated with any of the "target" flags selected. This causes build errors.
Is anyone aware of a solution to this. I...
Hello
I am having a alertview and i want to change the size by cgrectmake property but it does not happen .
It just take the by default size.
i tried following code.
- (void)viewDidLoad {
[super viewDidLoad];
UIAlertView* find = [[[UIAlertView alloc] init]initWithFrame:CGRectMake(0,0,300,200)];
[find setDelegate:self];
[find setTitle...
I went step-by-step for about 5 hours through the process of adding an Distribution configuration to xcode.
After that, I keep getting this error even when I build with my Debug Configuration:
Application failed codesign verification. The signature was invalid, or it was not signed with an Apple submission certificate. (-19011)
The...
I have NSZombieEnabled to NO in my arguments.
I am checking to see if it is enabled:
if(getenv("NSZombieEnabled") || getenv("NSAutoreleaseFreedObjectCheckEnabled"))
{
NSLog(@"NSZombieEnabled/NSAutoreleaseFreedObjectCheckEnabled enabled!");
}
My debugger says it is still enabled. Why?
...
I am new to the Mac. I am trying to update a particular cell in NSTableView without using -reloadData, as -reloadData updates the whole table. I have tried everything but all was in vain. I am trying to do something similar to what we used to do in CListCtrl in MFC or in .NET.
...
Hi Guys, I've got a UIScrollView filled with images, one of the images is animated (i.e. has 45 frames repeating within it as 45 separate images). However, you can zoom in on the images using pinch gestures, but on the animation you cannot. Is there a way to fix this?
Here's some of my code to help:
- (void)setUpView {
//INITIALISE...
Hello nice person!
I have never used version control in my life. A friend of mine wants me to access his project on my machine using Xcode. All he has given me is a URL. So, the question is: how do I get said source code?
Thank you ;)
EDIT 1
Please keep in mind I just need to download the source code. I don't have to do any updatin...
Hi all,
I have a little method that saves an image to the photo library. That works just fine for the iPhone simulator. But when I switch the simulator to iPhone 4 the image saving won't work anymore. I always get the "error"-alert:
//save actual design in photo library
- (void)savePicture{
UIImage *myImage = [self combineImage...
I'm building a custom slot machine with a column that exists of a uitableview.
When the user pulls a lever the tableview should scroll to a certain position with an index.
I used the method:
- scrollToRowAtIndexPath:atScrollPosition:animated:
But this method will make the table scroll with a constant duration. So you will not really ...
I currently have an application which will drop pins onto various points of interest on a map, all done programmatically on the iPhone.
What I am aiming to get done now is to allow a user to navigate to that location and get turn by turn directions by calling up the built in navigation tools on the iPhone.
Is there anyway that I can do...
I am trying to set command line arguments for Xcode project related to iPhone Simulator Application.
When i try to run the following script the line
"make new launch argument with properties{name:"file:///Users/aakash/Desktop/sample_h.html",active:yes} "
gives error:
execution error: Xcode got an error: Can’t make or move that element...