hi
i am creating textview(editable) through coding in uitableview in cellforrowatindexpath delegate. textview is showing in every row correctly. the problem is that when i am enter text in textview and scroll the tableview, then text disappear from textview. if anyone has any idea?
...
Hi,
I am working on an iPhone app
I read a key from root.plist like this :
NSString *Key1Var = [[NSUserDefaults standardUserDefaults] stringForKey:@"Key1"];
("Key1" is a PSMultiValueSpecifier for which a default string value has been set already in root.plist)
That works fine, once the user makes settings.
But if the user runs the ap...
Hi,
I have added a new job in my hudson server which builds the project with a makefile.
Execute shell command:
#!/bin/bash
cd $JOB_NAME
make
My makefile looks like this
SDK_31 = iphonesimulator3.1
TARGET_DEV = myProject
TARGET_TEST = unitTest
all: debug
debug:
xcodebuild -sdk ${SDK_31} -target "${TARGET_DEV}" -configurati...
Let's understand the my requirement / question.
I have to develop following things in my application.
Application starts with a view controller ( obviously )
Now, after loading the view controller
"Touch me" characters should enter on screen animating, animation direction should be random.
OK. Let me clarify again.
The aim of questi...
Hey all,
Do any one of you know how to increase the brightness of the apple logo in cooca? I think it would be cool if my app could control that. Although you could increase the brightness of your screen that is not what I want, but what I want is just to increase the apple logo.
Best Regards,
Kevin
...
I have used rand(). But it gives a specific value even after I restart application.
I have implemented following in my application.
- (void)viewDidLoad {
[super viewDidLoad];
int x,y;
x=random() % 480; y=random() % 300;
lblT.center=CGPointMake(x,y); // my label lblT
}
Try to implement in your application, and launch application.
Af...
i have to reload uitableview simultaniously using a thread. i'm already using two threads for loading data from web. Is it possible using a thread for reloading tableview? Is there any other way?
...
Also, is running an app in the simulator sufficient to get a ball park estimate or will I get very different values from running on the device?
...
Hi there,
I have several resources in my iPhone app and when they get compiled they all get added to the root of the resources folder in the app regardless of the Xcode grouping structure. This is fine for most things, however there is a set of files that I need to have structured in folder in the app's resources folder.
At the moment,...
For some reason excode is throwing this error when I try to cin into a string.
test(5640) malloc: * error for object 0x1000041c0: pointer being freed was not allocated
* set a breakpoint in malloc_error_break to debug
Program received signal: “SIGABRT”.
sharedlibrary apply-load-rules all
Here is the code that produced that:
...
Is a view controller added to the stack of view controllers at the #import line of the root view controller? Is this where indexPath gets the info about the view controllers?
I've read documentation and seen tutorials, but this aspect still isn't clear to me. I'm been learning Xcode/Obj-C for 4 months now.
Thanks,
Steve
...
After upgrading to OS X 10.6 (Snow Leopard) and iPhone SDK 3.1 (with Xcode 3.2), Xcode's shared workgroup builds (distributed) can't seem to find or access other computers in our office.
Distributed builds worked perfectly in OS X 10.5 with iPhone SDK 3.0.
All the computers that have upgraded are now listed with a status of Unreachable...
I have following code in my application.
NSData *data=[NSData dataWithContentsOfURL:[NSURL URLWithString:pathOfThumbNail]];
pathOfThumbNail has following path
http://70.84.58.40/projects/igolf/TipThumb/GOLF 58B.jpg
When I open above path in safari browser - path is changed automatically & image is successfully displayed.
http:/...
After I've upgraded to Snow Leopard and Xcode 3.2, everything was screwed up. It took a while for me to figure out the whole evil was that my old Xcode installation was not really "updated", but replaced. So just everything was gone. All SDKs, Settings, everything.
So Code Sense did not work because of no SDK available, and all the othe...
After my upgrade to Snow Leopard and Xcode 3.2 (which I really regret a lot!!), Xcode lost all the SDK's. I'm one of those old-fashioned idiots who still want to develop for 2.2.1. But Apple does not offer me an old SDK download.
Now I was clever and made tons of time machine backups. But: What's the preferred way to get iPhone SDK 2.2....
I can't do anything right now, because after updating to Snow Leopard my whole development environment is totally screwed up. Do I also have to run through the painfull process of assigning provisioning certificates and all this annoying stuff once again now? It's long time ago I did that, but I slightly remember I had to set up somethin...
I have implemented following code in my application.
-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
NSString *CellIdentifier = [NSString stringWithFormat:@"%@%i",searchQueryString,indexPath.row];
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifi...
How can I exclude the call and sms feature from Ipod Touch but still retain it's functionality on the iPhone. The iPod Touch of course has no phone and sms is available via an optional app. Tech support kindly suggested I take a look at the system call "sysctlbyname" and the section on "CTL_HW" from the Apple provided iPhoneOS reference ...
What is the *comment parameter in:
NSString *NSLocalizedString(NSString *key, NSString *comment)
If I do this
NSLocalizedString(@"Hello_World_Key", @"Hello World")
and have two versions of a Localizable.strings (English and es), does each need the entry:
English: @"Hello_World_Key" = @"Hello World";
Spanish: @"Hello_World_Key" = @...
i have asked this question before but i think i was not much clear that is the reason why i could not get exact answer to what i want.
i want to lock and unlock my iphone over a web server (i enter the passcode and the web server will check if it is valid then i will be authenticated else message shown i entered wrong passcode) and not...