Hey Folks,
I am trying to create a excel like view in my app. To do that I wanted to achieve both horizontal n vertical swipes at the same time .i.e., if the vertical scroll would fill with rows and the horizontal with columns.. have no clue hw to begin with. Any help would be greatly appreciated...
...
Hi,
New to Objective C. I have created a few directories which contain pdf files for an iPhone app. How can I delete a directory and its contents using NSFileManager?
Do I need to loop through and remove the contents first? Any code samples would be much appreciated.
Thanks in advance.
...
Hi all,
I want that update in player controller song duration of song(which is downloaded from the server) from the playlist controller.
Actually i m using avaudioplayer so in player i have two controller avtouchcontroller and avtouchview controller,and one xib of avtouchviewcontroller where all things (play pause next prev song durati...
How can we use the bookmark button that appears in UISearchbar. I didnt found any delegate methods for that. Any help will be greatly appreciated.
Thanks in advance!
...
How To delete Event from Iphone Calendar Programmatically?
I am trying to delete Event From Iphone Calendar tell me how to delete Event From Iphone Calendar Programmatically
Here Is the way to add event in iphone calendar
////// Saving Event In Calendar
EKEventStore *eventStore = [[EKEventStore alloc] init];
EKEvent *event ...
hi all,
I have written a code which finds the current location.This code works fine on 3g iphone but does not works on 4g iphone.Can anyone knows the problem and what should i do so that the same code works on 4g iphone as well?
thanks in advance!
...
I want Location based Reminder when user reaches to certain region
For that I have writen followin code
CLLocationManager *manager=[[CLLocationManager alloc] init];
manager.desiredAccuracy=kCLLocationAccuracyBest;
manager.delegate=self;
CLLocationCoordinate2D loc;
loc.latitude=LReminder.lat;
loc.longitude=LReminder.lon;
CLRegion *...
Hello, I`m doing something wrong with my app delegate, I'd appreciate if someone could have a look at this one .
My AppDelegate.h :
{
BOOL *moveState;
}
@property (nonatomic) IBOutlet BOOL *moveState ;
My AppDelegate.m:
@synthesize moveState;
and my ViewController from where I'm trying to set the moveState value :
AppDelegate ...
I have a controller that makes HTTP GET requests using a custom class, which acts as the delegate for the NSURLConnection. Once the NSURLConnection fails or finishes, the custom class invokes methods on the controller and passes along an NSData object of received data.
I'm running into a problem where the controller in action is being d...
Hi Everybody,
I want to fetch the facebook user's online friends using Graph API but i am not able to find any help from the net.
I am able to fetch the user's friends using Graph API but i want to know who are currently online, also more info about the user's friends like the image url,date of birth etc;
I am only able to fetch the u...
Hi Guys,
I want to add a button to a bottom corner of the view after all the content is displayed. how can I add the image tag to loadHtmlString at the bottom right corner of the web view.
...
I have this userInputstring in the header that will be modified and used by multiple methods in the .m file
.h
NSString *userInputString;
-(void)main;
-(void)method1;
-(void)method2;
.m
-(void)main{
[self method1];
[self method2];
}
-(void)method1{
NSString *localString = @"something";
userIn...
I have been trying to drag a custom UITableViewCell between two UITableViews.
I found this post but I'm still only able to get things to drag within one view (the code here doesn't really seem to do anything.. but the guy claims it works):
http://stackoverflow.com/questions/3481858/tutorial-on-how-to-drag-and-drop-item-from-uitableview...
Hi There,
I am trying to have my app reload data when it is brought to the foreground via the applicationWillEnterForeground method. I can get the function to work and write to the NSLog, but I have a function that I want to be called from another class, how would I go about this?
I have tried below:
- (void)applicationWillEnterForeg...
Hello!
It will be a noob question, but i'm getting crazy with this. I've read a tons of topics but i think i am missing something main.
I`ve created new cocoa app project, did not change anything, just add next code to main.m
int main(int argc, char *argv[])
{
NSView *superview = [window contentView];
NSRect frame = NSMakeRec...
I need to move directory with all content to trash.
I find in documentation NSWorkspaceRecycleOperation operation, and wrote this code:
NSString *path = [NSString stringWithString:@"/Users/test/Desktop/test"];
NSArray *dirContents = [[NSFileManager defaultManager] contentsOfDirectoryAtPath:path error:nil];
[[NSWorkspace sharedWorkspac...
Ok, here is the deal, I keep on getting this warning :
'AppDelegate' may not respond to '-setViewMovedUp:'
This is my implementation file :
- (IBAction)viewUp {
AppDelegate *moveUp = (AppDelegate *)[[UIApplication sharedApplication] delegate];
[moveUp setViewMovedUp:YES]; //move Shot View
[self setViewMovedUp:YES];
}
a...
Is it possible to create private property in Objective-C?
I do know that a kind of private property functionality could be implemented in another way but I'm interested in particular question.
Thanks.
...
I currently have an NSMutableArray which stores a collection of Video objects.
Each Video object has an ID and TITLE.
I also have another NSMutableArray of video objects generated from parsing an XML API call.
When the user hits a 'synchronize' button, I want the system to be able to figure out the minimum number of operations needed ...
THREE 20 Objective C
How to configure and play/tweak touches for TT library in three 20....
I am looking for a feature like UITouch in Iphone OS reference Library...
thanks
...