hi,
i am getting second from NSDateComponents.but it returns long number,how can i get correct second..?for example 55 sec...(it is as 123232133 like that)
NSCalendar *sCalendar = [NSCalendar currentCalendar];
unsigned int unitFlags = NSHourCalendarUnit | NSMinuteCalendarUnit |
NSDayCalendarUnit | NSMonthCalendarUnit...
Hello, Gurus!
I'm in middle of creating calendar app. for iPhone.
I get calendar events from google calendars (without expanding recurrence)
Then tried to expand recurrence events by writing codes from scratch.
I did get iCalendar format from the web, for example the following one:
http://www.kanzaki.com/docs/ical/rrule.html
but expan...
My native iPhone app displays HTML files using UIWebView. These HTML files are stored locally on the iPhone (they ship with the app).
Now I'm also trying to use a central CSS file in the HTML files, using something like:
<link href="../../stylesheet.css" rel="stylesheet" type="text/css">
In Safari, this works, the HTML files look OK.
I...
Hi,
I have a query regarding calling java SOAP web-Service from iPhone.
I have successfully implemented calling .asmx type web services.
But I am getting following error when I try to implement same for WSDL.
Error Code: 407 Proxy Authentication Required. The ISA Server requires authorization to fulfill the request. Access to the We...
I save some strings and numbers to NSUSerDefault,
but when I uninstall and reinstall the app the data is ereased.
Is there a possibility to store data some where else? Maybe in keychain?
...
I'm using Ben Gottlieb's Twitter+OAuth code.
Works great on my 3.1.2 iPhone, but crashes on my 2.2.1 iPhone. I'm getting a EXC_BAD_ACCESS error in the EstimateBas64EncodedDataSize call. Here's what I'm seeing in the debugger:
#0 0x2fe1e724 in __dyld_pthread_getspecific
#1 0x2fe1eddc in __dyld___gthread_getspecific
#2 0x2fe1eec8 in _...
Hello everyone!
I am preparing an iphone application in which I am using many transition among view controllers.
This means that there is one main menu view controller and after i press the necessary box, a modal view controller is being pushed. After this, I press an exit button and come again to the main menu and I can reenter.
The p...
hi,
i need to send a data through multipart posting and i have used Multipart.m and Multipart.h classes that i got from this below link
http://github.com/sschroed/mini-mallows
i have done everything they said and i want to set a timout for the request and i tried to do it by changing multipart.m and added a code[request setTimeOutInte...
When I start my iPhone application it boots up fine, shows the first settings screen and all after I have given input and pressed save, the debug window says; "Debugging Terminated" without any hint to why in the crash logs.
First I thought it was my programming, but then I went ahead and test the app on multiple 'real' iphones and it n...
I have an uitableview with UITableViewCellSTyleValue1 so i have a textlabel and a detail text label.
The second thing i've got is a NSMutableArray. Now i want to fill the textLabels with the even items and the detailTextlabels with the odd entries.
So for example cell one(zero) gets entry 0 and 1 cell one gets 2 and 3 and so on.
I did...
Hi.
I have used UIDatePicker in my app. I want to (actually have to) change the font size (as my app needs) and font family in that datepicker.
Please help, if any body has done that before...
Thanks in advance...
...
Hi all,
I am tying to add the values from an array to a number of text boxes in my view. it is possible for me to make it work by implementing
a1.text=[arrayName objectAtIndex:1];
Similarly i am having a1, a2, a3,... a45,... a60,... upto a99
Here "a1" is the outlet of a particular textfield. what i need is that, i have a plenty of c...
I am working on iPhone Applications. Recently i have used SOAP api to integrate with iPhone application. my main aspect of this particular query is whether SOAP is best or REST is best considering performance issue as a iPhone application.
I have tried with SOAP, there will be frequent crashes happened to me. so is it better to use REST...
This is for practise. I try to build something similar to NSLog. Currently I have this:
#define LogThis(info) \
[[MyLogger sharedLogger] logThis:info];\
- (void)logThis:(NSString*)info {
fprintf(stderr, [[NSString stringWithFormat:@" %@\n", info] cString]);
}
Currently all I can do is pass a simple @"string" to it, but no f...
Hello everybody,
in my iPhone app, I would like to switch from an APN (Access Point Name) to another without using a configuration profile. Does Apple allow a dynamic change of APN ?
Do you have any idea ?
Regards
...
I have a view that is added as a subview in a viewcontroller. The subview has delegates methods and the viewcontroller is assinged as its delegate. The subview has a animation and calls a delegate method when the animation is finished.
The problem is that when the viewcontroller is removed from the view by the navigationcontroller the s...
I try to make a useful macro for logging. But I find that NSLog and all other sort of macros that carry textual information with them simply distract a lot from the code.
Is there any way to "hack" Xcode in a way that it will interpret something like
/*** do this because of that ***/
as a macro call, which results in calling NSLog, ...
Hello i have search everything and i didn't figure this out!
I have a tab bar controller with 5 navigation controlls, in one of the navigation control, i have a view, with a table view inside, and when i click that item i push a new view, that view have
view
-webview
-view
i create that second view(is transperant) because...
Hello everyone,
I am developing an SMS service application. At some point the user has to select the contacts he wants to send the SMS so he has 2 options. "Select all contacts" or "Select contacts".
I have some issues regarding on how to implement the "Select all contacts" method since I want to achieve the following functionality:
...
I tried
reloadComponent and reloadAllComponents
but it doesn't reload anything
the delegate and dataSource are set.
the method "numberOfRowsInComponent" is being called only aftert i load the view, and not when i call "reloadAllComponents"
...