Hi,
I am trying to prepopulate my SQlite Table from a Text File - alltough it is compiling fine, no rows will be inserted:
NSLog(@"Insert Table for English");
char *errorMsg;
NSString *defaultDBPath = [[[NSBundle mainBundle] resourcePath ] stringByAppendingPathComponent:@"english.sql"];
NSLog(@"DefaultPath: %@", default...
Hey,
I've come across a strange problem whilst trying to mimic the native iPhone page transitions (slide current page out and new page in).
Here's my current code (extracted from a larger file, with no errors when debugging, so code logic doesn't seem to be the problem):
Notes:
A new page is created when a link on the current page i...
I feel this should be a simple property, but for the life of me I've searched and cannot find the answer.
I have a tableview index to the right of my table. When selected, it grays out everything. I'd like to mimic the iPod app, whereby when the index itself is selected, it is semi-transparent (alpha of maybe .4f).
Any ideas?
...
Is it possible to load a short video file and - once loaded - select a specific frame and display that frame in a view? If there is no native support for this, how about an open source alternative?
Thanks in advance.
-Doug
...
So here's the functionality that I'm looking for:
1. Main Menu doesn't have the navigation Bar
2. All other screens from the Main Menu do.
3. It should animate correctly
I partially got this to work (just not the back button part).
In the Main Menu viewDidLoad I just go:
[self.navigationController setNavigationBarHidden:YES];
In an...
I want to simulate a phone call in my iphone simulator. Or which method will be called if a phone calling me?
...
I'm just starting out with Core Data and right now I'm building my data model. I need a UIColor attribute for my entity, but the type dropdown for the attribute doesn't have an option for this. Do I set it to Undefined or what?
Thanks
...
What I mean is, do animators work on an animation in say Flash (or some other kind
of key frame animation program) and then export it to the iphone somehow?
For example, say I am an animator and I want to create a person waving for an iphone
game. What type of external program would I use and then what libraries on the iphone
sdk would...
I know there's the app called Ping! for iPhone that allows the sending of SMS messages over your 3G connection, therefore it doesn't count as a text message and it acts pretty much the same as the regular iPhone texting software. Is there any app like this that's available for both iPhones and Blackberrries?
...
Hi guys,
I am trying to code for calling Landscape screen from Portrait screen.
When current screen orientation is Landscape, it would be doesn't allow any autorotation.
I've tried the following code :
// Override to allow orientations other than the default portrait orientation.
/*- (BOOL)shouldAutorotateToInterfaceOrientation:(UIIn...
Hi, I'm new to openGL and I have a question, I'd like to make a "video wall" type application, where multiple images are mapped onto a cylinder, I'd like to then enable each of these images as buttons....
Is this possible? I'm not sure if objects in an openGL space can act as buttons....
Thanks
...
Possible Duplicate:
iPhone Interface Builder and Delegates
What is the relationship between these three component in the Objective C / iPhone world? I found that the App Delegate have some relationship with the UI and the variable in code. It match the variable and related UI object on the view. But I found that the File's own...
Hi all,
I want to create a C# web service for audio steaming (upload n download) to iPhone.
any help would be greatly appreciated.
...
Hi all~.
I was using simple UINavigationController.
but If I come from sub viewController, I want to occur a some custom event.
For example,
If rootViewController is AA
and subviewController of AA is BB.
and then enter the BB (by pushViewController).
and then, BB->AA.
this time, I want to manage a event.
currently, I made it view UIB...
Hi~ I have one question. ^^
How can i get "selected text" on UIWebView (or UITextView) ?
I'd like to copy "selected text" without copy/paste popup-view.
1) i removed ... copy/paste view. ( it was success~ )
UIMenuController *theMenu = [UIMenuController sharedMenuController];
[theMenu setMenuVisible:NO];
[theMenu update];
2. forced ...
I am trying to Google for what I've mentioned in the title, but somehow I couldn't find it. This should not be that hard, should it?
What I am looking for is a way to gain access to an OpenGL ES texture on iPhone, and a way to get/set pixel with it. What are the OpenGL ES functions I am looking for?
...
Hi guys,
my question is:
I have a dictionary with one object for each character of the alphabet. Within those objects, there are all values for a specific character.
Example:
alphabetDictionary
a
apple
alien
b
balloon
ball
I now want to count all entries within this dictionary:
apple
alien
balloon
ball
-> 4
Usi...
Hello.
I am making a iPhone app that has two different targets. They use the same files, with some #ifdef here and there, and that works just fine.
But now the project has stopped.
Does anybody know how to have different Settings.bundles for both targets?
Thank you!
...
Hi,
I know this issue being mentioned before, but resolutions there didn't apply. I'm having a UINavigationController with an embedded UITableViewController set up using IB. In IB the UITableView's delegate and dataSource are both set to my derivation of UITableViewController. This class has been added using XCode's templates for UITabl...
After I have validated the receipt against the App Store from my PHP server, the App Store sends me back a JSON response with
"status" : 0
"receipt" : ( .... )
One of the receipt items is "purchase_date" which contains the following string (example) "2010-02-09 19:17:04 Etc/GMT"
I'm trying to establish a subscription service and wou...