Hi all,
I'm facing some difficulty in retrieving properties of "id" type object. This is how I'm accessing it:
I'm doing following to assign an object to id type object from a generic array containing different types of objects and calling method "savedata" to which I'm passing the object as well as its type:
for(id objInArray in gene...
how to create calendar view in iphone sdk like
in following link
http://jonathanwatmough.com/
Regards,
sathish
...
Hi all,
Can any body explain me what is the difference among sleep() , usleep() & [NSThread sleepForTimeInterval:] ?
What is the best condition to use these methods ?
...
I'm getting sick of this stuff happening. How come whenever I update my iPhone SDK all the frameworks in my project turn red as if there are not there anymore? Whats the situation?
...
I have looked around here to see if somebody has asked this question before but nobody really has the same situation so i would like to now how to do the following:
At home i have an iMac on which i do my iPhone development. I can deploy the application on my own iPhone without any problem.
At work i have a colleague who owns a Macbook...
Hi
With the new additions to the OS and the hardware, iPhone apps can now do some serious augmented reality coolness.
What are the instant benefots to the obj c crowd? Are there any frameworks to aid in the creation of AR apps for Obj C devs and if so, can they be easily ported to MT with the btouch project?
w://
...
Hi,
I'm setting up a client-server communication channel between an iPhone app (client) and a Mac app (server), using Bonjour.
So far, NSNetServiceBrowser on the iPhone app notices the launch and the quit of the server app on the Mac almost immediately, and sends the corresponding delegate messages.
However, it does not notice immedia...
Hi
I have created View based application, here i need to navigate between views when button pressed.
so in first view controller i have created action for button pressed.
-(IBAction)loadSecondView:(id)sender
{
SecondView *sView = [[SecondView alloc]initWithNibName:@"SecondView" bundle:nil];
[self.navigationController pushView...
Hello guys!
Here's my code to create a PDF file from a CGPDFPageRef.
+ (void)createPDFFromPDFPage:(CGPDFPageRef)page withFilename:(NSString *)filename {
CGRect pageRect = CGPDFPageGetBoxRect(page, kCGPDFMediaBox);
CFStringRef path = CFStringCreateWithCString (NULL, [filename UTF8String], kCFStringEncodingUTF8);
CFURLRef ur...
I am testing a CPPieChart and finding that the data source delegate method -sliceLabelForPieChart:recordIndex: is not displaying a slice label.
In addition, there is no title property for the pie chart type.
So I figured I would test using a UILabel instance:
UILabel *viewTitle = [[UILabel alloc] initWithFrame:CGRectMake(0.0f, 0.0f, 1...
Hi guys,
I want to get the layer of UIWebView then I want to render it. This is my code:
webView = [[UIWebView alloc] initWithFrame:CGRectMake(0, 44, 700, 1024)];
[webView loadHTMLString:@"Display This HTML String" baseURL:nil];
CALayer *webViewLayer = [webView layer];
[webViewLayer renderInContext:ctx];
All I am getting is blank pa...
Hi there :)
I'm developing an iphone app and starting to work on the internationalization. I'm wondering if it is possible to change the language inside the application without having effect to general language settings?
Any idea?
...
Im new to obj-c and need some help with this code
NSDateFormatter *dateFormatter = [[[NSDateFormatter alloc] init] autorelease];
[dateFormatter setDateFormat:@"E, d LLL yyyy HH:mm:ss Z"];
NSDate *date = [dateFormatter dateFromString:currentDate];
the variable date cannot be nil. how can I make it so that date = current time when it'...
How can I make a button that will open a UIWebView the the last page that it was on before the user closed it?
for instance i have 2 xibs
1) my home screen
2) my webview
on my home screen i have 2 buttons
1) opens the webview to google.com
2) the second one opens the webview to the last page that it was on.
...
My writeToFile is not saving my data to my .plist.
- (IBAction)clickBtnDone:(id) sender {
NSLog(@"Done");
if ([txtGroupName.text length] > 0) {
[self dismissModalViewControllerAnimated:YES];
NSLog(@"Group Name: %@", txtGroupName.text);
NSMutableArray *newDict = [[NSMutableArray alloc] init];
[self.groups setObject:newDict fo...
Making my app over two weeks. But only now I received a message in debugger:
Accessibility Status Changed: On
Loading AX for: com.yourcompany.XXXXXXXX
What is it? Am I doing something wrong? And if I'm not - why I received that today?
...
Hi,
I want to show the filtered list of contacts in ABPeoplePickerNavigationController, the persons who have their email address should be shown, and those who dont have email address should not be in the list, anybody knows how to do it?
Thanks in advance.
...
Want to create an alarm application, that will play a music file at a specific time. How can i get list of songs from iphone's library. I want to show this list in tableview, user can then select a single file that will be played at sepecified time.
Any code sample?
...
Hello ! Everyone.
Let me explain. It is ok to set the max & min value for a UISlider control in iPhone.
Accordingly slider will work - OK - Good.
First, I will give an example of what exactly I want to implement.
In iPad comes with Calendar application as a default.
Open calendar, at the bottom - you can see day/week/month listing
W...
I dont want to give my code to my client, i just want to give him binary. How can i create such binary that client can test using XCode and iphone?
...