Hello,
I have the fallowing situation using vertex buffers in OpenGL on iPad:
- render some objects with 30 FPS
- delete the objects and create new ones(kill all entities and spawn others)
- render the new objects
The FPS drops to 10 for few seconds and slowly recovers to 30. I used some timers and I saw that render time increases from...
I am pushing a bunch of views to my navigation controller but on some nav choices I do not want to add them to the long list but I want it to show up at the front of the stack and get rid of the rest.
here is the behavior I am using:
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
Navig...
I am getting a JSON response from a web service but it is not wrapped by the [] tags required by the JSON parser I am using so I need to Append and Prepend those characters to my NSString before I pass that to the JSON parser.
Here is what I haver so far:
NSString *responseString = [[NSString alloc] initWithData:responseData encoding:N...
Hello All,
I am facing one issue regarding the UIPopoverController. When I execute following
- (void)showPopover:(id)sender
{
iPopOver = [[UIPopoverController alloc] initWithContentViewController:nav];
iPopOver.delegate = self;
[iPopOver presentPopoverFromBarButtonItem:sender permittedArrowDirections:UIPopove...
I am using a split view controller and I am pushing views to the detail controller once a selection is made on my table view controller.
This works great except I can keep clicking the same choice over and over and it keeps getting added to my navigation controller stack so I end up with and endless stream of back buttons which is prett...
Hi There.
I'm working on an app that should include a compass (it should work on iphone 3G also). however as there is no a compass on iphone 3G i'm looking for a way to know the true north orientation based on the CLLocation returned by the iPhone.
Note: the app should give as accurate as possible value even if the phone is using "cell ...
I'm trying to make a simple accordion-style menu system for iPad using a UITableView and expanding rows.
The way I implement this is storing the selected index path and in heightForRowAtIndexPath: conditionally setting the row with that index to be larger. In didSelectRowAtIndexPath: I provide an empty update block so that the table wil...
I have a UITableViewController that when loaded gets data from a web-service and stores it locally in an NSMutableArray, once that is loaded I need to loop through that data to build my table cells.
I have all of the code for looping through my array working fine I just need to know how to fire my controller to rebuild the table so my...
In an effort to better understand the JavaScript and DOM performance of Mobile Safari, I was trying to run the Dromaeo JavaScript performance tests on an iPad. However, part way through the tests, Safari will crash and I am sent back to the home screen.
I first tried to run all the Performance Tests and crashed either toward the end of...
I'm writing an application which uses NSUserDefaults as the data storage mechanism, and am hitting a problem when trying to save data (that conforms to the Property List protocols):
+ (BOOL)storeAlbum:(Album *)album
{
NSUserDefaults *prefs = [NSUserDefaults standardUserDefaults];
NSMutableDictionary *albums = (NSMutableDictionar...
Hi there.
I'm digging through iPad/iPhone programming options/opportunities. What makes me wonder is:
Is there ANY 100% problem-free (i.e. no warranty removal) way to do B2B programming on this thing?
I'll try to explain. Last few years I did quite a lot B2B programming for different mobile platforms. Tasks usually were simple. There w...
I am building an iPad application that needs to list books in a manner similar to the way Apple does it in their iBookstore application and how Marvel does it in their iPad application. I'm not talking about the main featured rotating images but rather the book listing below that.
My question is looking at the book list, how are they b...
I am making an Ipad app and im not using the views and view controllers (Except to call my own openGl drawing funcitons)
I want the app to be able to change its drawing orientation depending on how the device is held.
However with the research that ive done all I can find is how to do it through view controllers and accelerometers.
Is ...
I want to detect shake motion in cocos2d for iPad.
I found a promising article about it and tried to implement it but failed.
http://www.softvelopment.com/index.php/blogs/2010/03/19/3-adding-shake-recongnition-to-cocos2d-iphone-library-
Specifically, I'm not sure where I should put the listener. And moreover, is there any other good w...
Hi,
I have one problem. I have managed to read/write/delete records in CoreData. But now I am dealing with one problem.
In my app delegate I create TabBarController and add some NavigationControllers in it. In one taleView in navController I want delete record and when I switch to another tab I want see that record there. I can do that...
Hi i got a Problem with adding new Items to a Sencha Nested List Component.
currently my code looks like this:
var newItem = nestedList.add({text:rowData.name});
nestedList.doLayout();
The Problem is the Items just wont show up no matter how often on on what i do call doLayout.
When in debug the nestedList Object, the items are corre...
How would I go about implementing dragging and dropping a UIView from UIPopoverController into the back UIView.
This is the functionality that Pages provide in their insert media popover, where you can drag a shape out from the UIPopoverController and drop it into the main document.
I am actually confused with the pan UIGestureRecogniz...
Hi there!
I'm porting my iPhone app to iPad. On iPhone I select row in the table, and after that the next view controller is pushed to the top of navigationController (now navigation is performed on the left part of split view controller). For iPad i modified the code this way:
if (deviceIsIPad())
{
UISplitViewController *svc = (UI...
Is there a way to find out the maximum number of simultaneous touches on an iOS device (iPhone, iPod Touch, iPad) ? I've read here and there that iPhone can handle 5 while the iPad can handle 11, but I haven't found an official way (through a function call, say) to confirm this.
...
Hello, i am building a sectioned table, and it is showing up with what looks to be a section on top of a section. You can see on the image that there is a white line under each section.
The image
Here is the code i have to build the table:
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
return [alertList c...