Hi,
I'm not sure if there is a name for this technique, but I remember doing something like this a long time ago in C++. I would like to breakpoint and observe a specific object of which there are hundreds in my program. It would be nice if you can tell the compiler to use a reserved space of memory so that I can run once, pull out a ...
Running xcodebuild from the console will bring you very verbose output and I wasn't able to locate any options for limit its output in order to display only warnings and errors.
I'm looking for a way to capture the xcodebuild output and filter it. It would prefer a Python solution that will work with pipes but I'm open to other approach...
Hi
My Application have navigation controller and table views. When the back button is clicked and the view is popped out from controller stack, i noticed that the table events are not executed (eg: cellForRowIndexPath). Is there anyway that these events are execueted when view is popped out.
This is the code i use for pushing the view...
Apples Application like Pages and Numbers always show an additional small Toolbar under the main Toolbar. Is there an object like this in the Interface Builder or do I have to build it from scratch?
I looked in the IB Library but found nothing so far.
...
I just started jusing OCUnit and find the asserts a bit cumbersome. In JUnit I can write a test to compare numbers like below. This test will obviously fail, but this shows the nice, simple assert I can write for two numbers and the feedback I get: "expected <2> but was <3>" with very little code.
What I tried so far i XCode is:
Wh...
First off, I'm a complete beginner.
That said, I thought an ambitious longer-term project/learning experience would be to create an app that displayed daily quotes, like those cheesy day-by-day calendars our grandmothers have in their bathrooms. I want it to have two per day, each one represented by a tab in a UISegmentedControl. That...
I've written an iPhone application and I'm planning to open source it. I'm concerned about distributing the source and making sure I get only the required files distributed. I'm also concerned that since I've signed my app for distribution on the AppStore that open sourcing the project would possibly expose some part of the singing cer...
I'm having a very strange problem. I'm running a loop in a detached thread, and some lines of code in my loop (different lines in each iteration of the loop) are taking a long long time (~45 seconds) to execute, even if they are simple commands like initializing an NSXMLDocument with data. This problem is also very inconsistent, and it d...
In Eclipse, I rarely have to manually import a file due to its ability to automatically resolve imports using a keyboard shortcut. Is this available in Xcode?
...
I've got a little problem and I'm hoping someone here can help me out. I've used XCode pretty regularly for a while now and have made plenty of use of the Debugger datatips. All of the sudden today on a new project that I am working on, they are not there. The setting is toggled on under the Run->Debugger Display->Datatips menu, but they...
How do I create a scrolling text view like iTunes's lyrics view in Interface Builder for Cocoa?
...
Hello,
Tasked with converting wav to mp3 in my mac program, I've downloaded and compiled the LAME encoder. I was wondering how I then use it in my xcode project? Previous 3rd party libraries have been in the form of a framework, but LAME just produces a dylib.
Thank you.
...
I am trying to create a custom "Application template".
I tried to learn, "How to create template?" from the sample templates of "Cocos2d iPhone Game development".
The problems that I am facing are as follows.
=> Cocos2d custom application templates have logo - "create new project" screen.
( I don't know, how to place the default lo...
I've been searching all over the net for an answer to this one! Hoping one of you can help me.
So far I have a button that produces a random nr between 1 and 6 in a label.
Then I want a picture to appear depending on what nr is in the label.
For example: If the number 1 is generated, I want img1.png to appear in a UIImageV...
I've been trying to return data from a table after already having accessed two before it, but in this case it get's into the while statement but does not assign any values as everything is set to null.
The code is:
NSMutableArray *all_species = [[NSMutableArray alloc] init];
sqlite3 *db_species;
int dbrc_species;
Linnaeus_LiteAppDelega...
Running my app in the simulator under Instruments to check for memory leaks, it seems to be indicating a leak in this block of code:
for (NSDictionary *messageDict in messageDataArray)
{
message = [[Message alloc] init];
... set some properties on the 'message' object
[messages addObject:message];
[message release];
}
...
Is there any way to click on something that Adds whole project to SCM/Subversion and also makes it a working directory by adding .svn folders?
I create an XCode project as usual.
Is the any way to just get Xcode to add the project to Subversion without import and checking out to a separate folder.
My problem is that I have a /Dev folder...
Hi guys.
I am using NSURLConnection on the application.
To create HTTP connection, I used following code :
NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL
URLWithString:@"http://www.mydomain.com/path/[email protected]"] cachePolicy:NSURLRequestU...
Can anyone tell me if it is possible to add the value of 5 labels, and generate the result in to one label?
I am talking about Xcode SDK. I have 5 labels with integer values and I need to add them all together into one label, or into a text field...
...
Hello, this is my first question, so if I didn't do the tags correctly, I'm sorry. I tried... Well here is my question: I am hoping someone can tell me how to do a 2-line section header for a plain tableview. The problems I am having are: 1) I cannot find an image that will mimic that of the default 1-line section header. Can someone sha...