Hello everyone
I put a DragView (subclass of UIView) on a UITableViewCell with tag (row+20000)
- (UITableViewCell *)tableView:(UITableView *)tableView
cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
NSInteger row=[indexPath row];
NSInteger section=[indexPath section];
static NSString *SimpleTableIdentifier1 = @"Cel...
i want to make an app that can act similar to calculator on this page-
http://www.mehf.com/HFTOWcalc.htm
this calculator is working from javascript file...but i cannot understand the calculations done in the js file..any idea is appericiated..?
...
Hi,
I have bought a Scan Bar Codes (hardware external) for my ipod touch 2g, i am developing cocoa app on xcode. I have implemented a webview but i cannot use him, in UITextField of my webpage.
I want launch a webpage (by UIWebView, safari), google.com and i push my button of my scan when the virtual keyboard appears. This action will...
I search some Similar question like this question Need approach to show tables using segmented control?
the solution is using single tableview
But I think my problem is a little different
because the view will have a segmented control,has two selection: "DHCP" and "Manually"
When I pressed "DHCP",there will be a grouped table unde...
Hi
I have just started using UIDatePicker in my iPad app, but is there a way of checking when the date has been changed?
I want to do something when the date is changed. Hope you can help, thanks.
...
Hi all,
I have a problem with the combination of OpenAl and the MPMoviePlayerController.
I registered the AudioInterruptionLister in my OpenAl Setup process. When I start a video the listener receives the AudioListenerInterruptionStarts, but when the movie ends I do not receive the AudioListenerInterruptionEnd trigger.
// Register cal...
For some reason, since multitasking has arrived, NSUserDefaults seem to not save the settings to disk anymore every time the app closes.
This happens:
When a setting is changed in NSUserDefaults and home button gets pressed, home screen becomes visible. app is still running in background. Then I press twice the home button, and remove t...
Hi, i'm trying to build a function that will tell me the range of a string at an occurrence.
For example if I had the string "hello, hello, hello", I want to know the range of hello at it's, lets say, third occurrence.
I've tried building this simple function, but it doesn't work.
Note - the top functions were constructed at an earlie...
in MyAppDelegate, when a button is pressed it presents a modal view:
- (void) showInfoPanel:(id)sender {
infoViewController = [[InfoViewController alloc] init];
UINavigationController *infoNavController = [[UINavigationController alloc] init];
infoNavController.navigationBarHidden = YES;
[window addSubview:infoNavController.view];
...
Hi there
I have an NSDictionary. It has keys and objects.
For the purposes of simplicity the keys are Question numbers and the objects are calculated Answer scores.
Now how I did it before was that I set the answer score as the keys and the question numbers as the objects. This way I could get an array of allKeys from the dictionary, ...
Is there any good tutorial from where, I could find, How to develop a iPhone apps using HTML5,jQuery,and CSS3.
...
Hi all,
I have a dictionary that hold address details, sometimes it can hold, 'name, email, telephone' other times, just 'name, mobile'
name = "Someone";
email = "[email protected]";
telephone = "01000 000000";
or
name = "Someone Else";
mobile = "07700 000000";
I want to display these in a detail table view, in my head this ma...
I need to get the current date.
Then add a year to it.
And output the result in the format YYYY-MM-DD aka 2011-11-20
...
Hi
I have this code:
- (NSString*) tableView:(UITableView *)tableView titleForHeaderInSection:(int)section{
curDate = [NSDate date]; // Get current date
calendar = [NSCalendar currentCalendar];// Init calendar
comps = [calendar components:NSYearCalendarUnit|NSMonthCalendarUnit|NSWeekCalendarUnit|NSWeekdayCalendarUnit fromD...
Hi, everyone,
I want to ask a question about the iPhone plist. What is the size of the plist in each iPhone application? Thank you.
...
Whenever I run my code it gives me an error. I couldn't find the solution.
The error is:
command/developer/platforms/iphonesimulator.platform/developer/usr/bin/gcc-4.3 failed with exit code 1
...
Hi all,
I have a problem with cropping image using OpenCV library on iPhone. I have an image with selected area and I'd like to crop image with this area. But the new image isn't map to rectangle and the new image has also blue color of text.
I use that code to crop image:
IplImage *src = [OpenCV CreateIplImageFromUIImage:image];
...
I have written custom delegate methods in ClassFile(B), now i am calling them from ClassFile(A), now i want to notify Class(A) when class(B) delegate methods complete its execution.
How can i do in Objective C (in Iphone SDK) ??
A working sample example will be more appreciable.
Thanks
...
Hello everybody. I have a Main View that contatins uitableview, and i am pushing another view when the user taps on a row. I want only the child views to rotate and have written code for that. But the problem is once i push the view, it also enables the orientation on the Main View. when i rotate the main view to the left, the statusbar ...
Hi, everyone,
I want to ask a question about the iPhone. I am writing a program which can add the record to the iPhone build-in Contacts. However, I don't know that how many users can store in the iPhone Contacts. Is there some limitation (e.g. iPhone build-in Contacts only support 2000 record). of the size of the contacts?
Besides, Ca...