Hi
I am trying to debug an issue one of my testers is facing. The tester is on a Windows and I have put in some NSLog statements in my code to analyze the issue at hand.
On a Mac, when I sync my device with iTunes, I can see the NSLog statements in Console.app. But where does in show up on a PC?
I know where to find the crash logs. Bu...
How can I play multiple sounds at once in the iPhone SDK?
...
Hi. I've been drawing custom table cells (using the samples from apple as a base) and have now come to having to do a cell which displays an image from a URL - each cell would have a different image (based on some data it has) but all the cells are the same and so the same reuse id.
What's the correct structure for doing this? Obviously...
I am using Facebook Connect for iPhone and following the official instructions. I use the following code to display the login dialog:
FBLoginDialog* dialog = [[[FBLoginDialog alloc] initWithSession:session] autorelease];
[dialog show];
(Note that the results are the same when I go with the FBLoginButton approach instead of showing the...
Hello everyone,
I'm using the NSFetchedResultsControllerDelegate to update my tableview.
For example,
//Now tableview doesn't have any record.
2009-11-15 12:25:48.328 XXX[36890:207] 0 //num sections before update
//call tableview begin update
2009-11-15 12:25:54.277 XXX[36890:207] insert 0 //insert new section
//begin to insert data
...
I am using an opengl es iphone application. What is the most accurate way to calculate the frames per second of my application for performance tuning?
...
I thought I was doing the right thing here but I get several warnings from the Build and Analyze so now I'm not so sure. My assumption is (a) that an object I get from a function (dateFromComponents: in this case) is already set for autorelease and (b) that what I return from a function should be set for autorelease. Therefore I don't ...
Could someone with knowledge of jQTouch for the iPhone have a quick look at my source and let me know what the heck I'm doing wrong? Clicking the big green buttons is supposed to reveal that particular section.
http://designsnack.com/mobile/
...
I have a subclass of NSProxy designed to forward messages to either an object instance or to Lua functions if they are defined for the selector. This works in most cases. UITableViewController, however, is a different case altogether. When I set up my proxy object with an instance of UITableViewController (or a stub subclass) it doesn't ...
Hi,
I have been reading through the core data documentation and feel I am still missing something.
I do not quite understand how you insert objects into a relationship of another object.
For example the following two Entities are in my model
flightDepartureBoard
name:
from_airport:
to_airport:
current_flights: (this is a one to ...
I'm trying to get a record count of a table in sqlite3 on the iphone so I can do a little dynamic memory allocation. But, when I run the following code, I get a record count of zero. The DB is open (I have more code immediately following this that retrieves the rows from the table that I'm interested in). I just can't get a record cou...
What is the minimum configuration to do some Python and iPhone development on Mac ?
Platform wise: Mac Mini, Mac Pro, Mac Book, Mac Book Pro ?
Memory requirement
CPU speed
Thanks for your advice.
Laurent
...
I have a string of data in a plist, which I've got to display, hierarchically like this:
Menu>Chapter>SubChapter>item>item details
This might be super simple, in my initial menu, how would I have all 'All' Menu item to display all the 'items', essentially skipping the chapter and subchapter and cutting out that aspect of my filter, whi...
I have an ai loop that I would like to write for my iphone app. I am under the understanding that this loop will take along time to make calculations and block the main application.
I want to put it in a different thread and run everything off events.
For example I would have an event that would be called when the players turn started...
I'd like to sell a static library for Cocoa Touch apps but want to protect it from being freely distributed. Has anyone tried this or have suggestions on a scheme(s) that I can build to handle it?
One example from the desktop world is a vendor sending a license key to you after purchasing the library. That key must be embedded in your...
Hi there,
I am struggling with this. I have a value in seconds that I want to display in a label in HH:MM format. I have searched the internet for ages and found some answers, but either not fully understood them, or they seem like an odd way of doing what I want. If someone could help me out on this one that would be great! Bear in min...
I have one UIView, which I'm using as my main view, and I want to repeat the subview across the screen. How exactly can I do this?
...
Hi there,
I have a problem here...
After a button is pressed I want a loop to run until a condition is reached:
- (IBAction)buttonclick1 ...
if ((value2ForIf - valueForIf) >= 3) { ...
I would like a loop to run until
((value2ForIf - valueForIf) >= 3)
and then execute the code associated with the IF statement.
What I am aiming t...
What are the key concepts that a developer should know when building an iPhone application that takes advantage of push notifications?
...
I have a really weird problem with PVR textures on the iPhone simulator- the framerate falls through the floor on the iPhone simulator, but on the iPhone itself it works just fine. Has anyone had any experiences similar to this? I'm using SDK 3.1.2
...