Hello fellow stackoverflow family members?
I know it is un-efficient to create one extra sqlite table in iPhone CoreData system. (X)
Currently, My app has one sqlite table but there are preset data to users to no need to waste parse time. But if I adding new entity in current structure of SQLite table, it wipes up the whole preset data...
Hi all,
I have a UIView based control which I need to resize depending on various criteria and properties of the control. I'm not sure if the way I'm doing it is the best way but so far it's the only one I've found that seems to work. Because the size of the control is dependant on various properties, I cannot set the size in a construc...
I have some options in an UITableView and want that the user can scroll forever. When the end is reached, I want to append the begginning so the user can continue to scroll.
How would I do that?
...
I have like 20 items which the user can pick from. Now I want to make a UIScrollView with enabled pagination, that allows to scroll for ever. If the end is reached, the start is appended, and so on.
What would be the simplest way to do something like this? I fear that when I reach an offset of lets say y=10000.0f, it may affect memory. ...
Say I do this:
@implementation currentViewController
...
SomeClass *myObject = [SomeClass alloc];
How can myObject get a reference of currentViewController without sending a message to myObject like this:
[myObject wasCreatedIn:self];
Side note: Where do action sheets and notifications get displayed in? The current view or the appD...
Hi,
I'm developing a web app that needs to use HTML5 websockets.
Is there any way of incorporating a javascript-based library to interface with my WebSocket server, when the browser doesn't support the WebSocket protocol?
I've seen some Flash-based fallbacks, but I don't believe the iPhone supports Flash?
I'm using iPhone OS 4.1 and ...
I have a class, that basically manages core data. inserts deletes and updates data.
I initialize this class like so
- (id)init
{
self = [super init];
if (self) {
self.itemList = [NSDictionary dictionaryWithObjectsAndKeys: // <== LEAKS
ITEMURL1, KEY1,
ITEMURL2, KEY2,
...
Hi,
I want to save a screenshot or generate a pdf from UIWebView text content. I know about how to make screenshots like described in:
http://developer.apple.com/library/ios/#qa/qa2010/qa1703.html
The thing is I'd like to have the screenshot in 300dpi. It is a fixed requirement to generate the content in a UIWebView.
I thought about ...
I'm having some problem with the runAction method for CCAnimation. If I run the command after I've created the CCAnimate within the initWithBodyPartImage it will work fine with no errors. But, If I call the runAction method with in the ccTouchBegan function the app will crash and no error is printed out to the console. So It's really har...
I have a search bar which is at the bottom of the view.
How can I set the position of the UIKeyboard?
...
Hi!
I have implemented MGTwitterEngine in my application and it works near to perfect.
The first "weird" thing that happends when I push the UIViewController where the Twitter form is, I recieve this in the Console:
This app was previously authorized for a Twitter account so you can press the second button to send a tweet now.
Shoul...
I have a UIView in which I flip between a UITableView and a MKMapView. The MKMapView is created at runtime and animated in the following function:
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:0.5];
[UIView setAnimationTransition:(self.mapView == nil ? UIViewAnimationTransitionFlipFromRight : UIViewAnimationTra...
Hi,
I am having a single file with 5 url to download 5 different files. What I am doing is calling the method which will change the url and make another call to download the file. how should it be ideally ? My requirement is sequential download of file.
...
This has happened quite a few times.
Application working fine.
Then I chose a wrong delegate for a view
Application did not work (expected)
So I chose the right delegate for the view
Application still not work / load (should have worked though)
Quiting Xcode and returning still doesn't fix it.
Only thing to do is delete the project and ...
I have incorporated iAds into a new version of my iOS program. Everything seems to be working great in the simulator, with test iAds being loaded and the ADAdBanner being moved up into the screen when ad material comes in.
When I run the program on my device, however, no test ads get loaded.
Is this normal behavior, or should I ha...
Hi,
I have set up a delegate for my class 'HotRequest', but am having problems implementing it. The code for my class is below. Any ideas? Thanks
HotRequest.h
#import <Foundation/Foundation.h>
@protocol HotRequestDelegate;
@interface HotRequest : NSObject {
NSString *requestString;
id <HotRequestDelegate> delegate;
}
@prope...
I would like to make a game out of many cubes and am planning on putting it on mobile platforms and also on the web using webgl. My problem is when I make a drawelements call per cube I take a hit on the frame rate. Is there a way I can make a single draw call to opengl es to draw them? The only difference between the cubes would be pos...
I have a question for you about iPhone programming. I am building an app where I show the closest specialty restaurants to the user. I am using a navigation based application to do the development.
I want to let the user press a button on the first screen that allows him/her to go to screen 2.
From screen 2, here the user will see ...
Starting a new thread... about same question.. I have tried all I am getting from different post and forums... none of the working for me..
What I want to do is...
[self presentModalViewController:ViewControllerA animated:YES];//Working fine
//Inside viewControllerA call viewControllerB
[self presentModalViewController:ViewControllerB ...
Is there any way to make a bullet point list in iphone?
If you copy and paste a bullet point list into a UITextView in IB then it shows up. Is there anyway to do this programatically?
Thank you
Tom
...