Since the touch functions wont work until they are subclasses for the UIScrollView,i have subclassed them and gets the touch co-ordinates in the subclass. But all my operations are being done in MainViewController.m . How can i send this value there? Might seem an easy Q, but it is taking a lot of time for me,plz help me.
...
This is my first iPhone application and it's based on a top-level tableview. Selections of rows either go to another tableview or to a view. The application runs OK on the simulator but when ported to my iPhone it fails with a EXC_BAD_ACCESS error. This happens while my splash screen is being displayed. NSLog indicates that the program p...
I placed a UITextField and a UITextView in a tableviewcell. When tap on text in them, it allows me to enclose a portion of the text with a rectangular popup showing the enclosed text enlarged. I want to either copy or paste over the selected text, but the copy-paste menu never show up whether I single tap, double taps or press and hold. ...
The question is all in the title. I want to execute some cleanup code when one view in my application gets unloaded. Is it possible to do so? If so, which is the event that I should intercept?
...
Hi folks,
I got a prob that, I have a base static library "Base", then other 2 libs("A" & "B") depend on it. So then I have a project "P", I add the 3 libs to "P", I get an error:
ld: duplicate symbol .objc_category_name_NSObject_IMIBase in
/Users/Travis/Documents/Home/IMI/IMIKit/build/Debug-iphonesimulator/libIMIUI-iphonesimulator.a(...
I have the following code which should update a value in NSUserDefaults:
- (id) createBoardWithTitle:(NSString *)pTitle withScores:(NSArray *)pScores andNames:(NSArray *)pNames andDisplayStrings:(NSArray *)pStrings orderBy:(NSString *)pOrder ofType:(NSString *)pType
{
if((self == [super init]))
{
boardEntries = [NSMutable...
Hi !
I'm trying to change the text of an UILabel with a little transition (fade out, change text, fade in) but I'm facing some problems. Here is my code:
- (void) setTextWithFade:(NSString *)text {
[self setAlpha:1];
[UIView beginAnimations:nil context:nil];
[UIView setAnimationDuration:.25];
[UIView setAnimationDelegat...
Hi I am trying to change the default view MainWindow.xib loads. I am using view based app. I changed the app delegate file, added my new view as a subview to the main window. but in interface builder it still says mainwindow.xib loads from the default view not my newly added view. (BTW I added a new xib file for my new view and that is t...
Hi everyone,
This is the first time I ask a question here, but I have to say this site has been a tremendous help for me over the last couple months (iphone-dev-wise), and I thank you for that.
However, I didn't find any solution for this problem I'm having:
I have a UITableView with 2 sections, and no rows when the app is launched for ...
I want to use stringByEvaluatingJavaScriptFromString to run a javascript which references local files (in this case css files, but potentially js files too) which are on the device (in the Documents folder I guess?)...
NSString *theJS = [[NSString alloc]
initWithString:@"javascript:(function()
{the_css.rel='stylesheet';
the_css.href='...
Hey guys!
Let me first say that by NO MEANS I am a programmer, just know the basics and just started messing with iPhone SDK. I am developing a simple app to simulate security settings for a class project, but have encountered issues even though I have found code for most of the things I want done. The main issue I have is that I don't ...
I need html - java script / jquery charts using single file.
What do I need is as follows?
Above links are just for creating bar charts
I need to create line chart as well as pie charts & other charts.
I don't have knowledge regarding java scripts jQuery.
Inshort - I need the reports within single file.
( that is - no extra .css file ...
Right now if you type something in a right to left language and tap and hold, the copy and paste menu will have an extra option for changing the writing direction form "left to right" to "right to left".
I want to set this option in the code so that my UITextView writing direction would be right to left by default.
Does anyone know h...
Hi everyone.
Here is the deal: I have a UITableView with 2 sections, and I want to display a "no data" cell when the first section is empty, so that the 2 section headers are not stuck together (cause it looks weird).
It works great (even though I had trouble making it work at first, see this thread). I'm using viewForFooterInSection ...
An answer to my question suggests that DOT3 lighting can help with OpenGL ES rendering, but I'm having trouble finding a decent definition of what DOT3 lighting is.
Edit 1
iPhone related information is greatly appreciated.
...
I believe svn externals is what I want to use but would like some clarification on setting it up. I've never done so.
My environment is:
Mac 10.6.2
Xcode
Cornerstone
Subversion 10.6 (file based/single developer)
Single repository
My svn folder structure is:
\projects\projectA
\projects\projectB
\projects\projectC
\projects\projectX...
The tint that usually shows on a UISegmentedControl on the selected button isn't showing when I set the whole nav bar to black (self.navigationController.navigationBar.tintColor = [UIColor blackColor];).
Is this a bug or something I'm missing?
...
Hi everyone!
Did anyone tried to resize an video, for adding more views around it?
Can anyone give me any hint/recommendation?
Thanks in advance!
...
Hi,
I want to take photo continuosly with IPhone camera, I use code at:
http://stackoverflow.com/questions/1325897/how-can-i-take-a-photo-frequently-with-iphone
I have extracted .h files using Erica Sadun's PERL code, but when I try to run code above, by adding PLCameraController.h, I get
"cannot find protocol declaration for PLCamer...
Hi ..
I create an application base on view based Application project . so i have multi view xib files on my app . on the one of the views i want using Navigation Controller . can you help me step by step to create navigation bar on this view ?
let's assume my view name is GhazalViewController . when i add Navigation Controller from lib...