NSFetchRequest *request = [[NSFetchRequest alloc] init];
NSEntityDescription *entity = [NSEntityDescription entityForName: @"Data" inManagedObjectContext:managedObjectContext];
[request setEntity:entity];
NSPredicate *predicate = [NSPredicate predicateWithFormat:@"prospectId=%d", 123];
[request setPredicate:predicate];
NSError *error;
...
I was wondering if anyone would be kind enough to define what a class, instance and method is in Objective-C or point me in the right direction or a good Objective-C learning resource.
Thanks!
...
Hi guys,
I need to know which method call when we tap on to the start record button in UIImagePickerViewController I need to set a timer to get the duration for the recording video.
guy's please help me.
Thanks in advance,
Monish.
...
hi to all,
friends I am new in game development programing .And I want to understand the how to give liquidEffect to text & and to the image in window base application.
thanks in advance
...
Hi,
I am following this example: http://doronkatz.com/ipad-programming-tutorial-hello-world.
This example works great.
Now i want 3 tabs in the splitview and for each tab a new navigationcontroller.
But i don't know how to implement it.
I go to this code:
- (void)setDetailItem:(id)newDetailItem {
if (detailItem != newDetailItem) {
...
I have some lines of Objective-C code like:
ABAddressBookRef addressBook;
CFErrorRef error = NULL;
addressBook = ABAddressBookCreate();
ABRecordRef group = ABGroupCreate();
ABRecordSetValue(group, kABGroupNameProperty,@"My Group", &error);
ABRecordRef person = ABPersonCreate();
ABRecordSetValue(person,kABPersonFirstNameProperty,@"Huy 1...
Hi Guys,
I need to display the UIWebView under the UITableViewCell when user selects the required cell by tapping on the accessoryButtonTappedForRowWithIndexPath.
for example I have three rows, Home, Office and History, which are displayed in table view. If user selects Office then the details in webview should displayed under office's...
how do i set the size of tableview that is inherrited from UITableViewController
like this
@interface myTableViewController : UITableViewController {
............
............
}
...
2010-09-23 12:58:42.967 CelebBooth[2317:207] * Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[sharepicture facebookAgent:photoUploaded:]: unrecognized selector sent to instance 0x6f5b170'
* Call stack at first throw:
(
0 CoreFoundation 0x02447919 exceptionPreprocess + 185
...
Hi,
I am trying to make an app similar to the Maps of the iPhone.
I want to use the Mapkit and a searchbar to look up an address.
And then use the address to add it to my tableview
But I have actually no idea how to do this.
Does someone have a clue for me?
A tutorial or an example?
thanks in advance
======================
Right now ...
i have two classes class a and class b
import class b;
class a{
nsmutablearray *a=@"--some objects----";
}
class b{
something
}
i want to use that array in class b so that i can display it on a table in class b
can anybodt tell how can i do it?
...
Hello, I am trying to get the email address from a user. He logs in, I ask permission to access email and he chooses ok. Then I use the graph API from facebook to access the email address.
- (void) fbDidLogin
{
btnLogin.isLoggedIn = TRUE;
[btnLogin updateImage];
NSString *theURL =
[ [NSString stringWithFormat:
@"https://...
Hello ,
I'm using this method to try to move my view up but without success, this is the code in my MainViewController implementation file :
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:0.5];
CGRect rect = self.view.frame;
if (movedUp)
{
NSLog(@"should move Up");
rect.origin.y -= 50;
rect.size.he...
I have a product/shopping list (consisting of product objects with a name, product_id etc) on the iPhone side. I wish to send this list to the server where I will compare the list on the server with the one from the iphone (to merge the changes made and send the merged list back to the iphone).
How would I send my array over a HTTP POST...
Hi,
I have an a vertical scroll-view in which i have 3-4 child scrollviews that slide horizontally, i want to control the vertical scroll-view (Parent) with a slider.
Anyone have any idea for this?
Thanks
Inam
...
I am currently researching ways of adding several UIImageView's to a single UIScrollView. The UIScroll view will be 1.5 times the size of any one of the UIImageView's. I want to create a scrolling effect for browsing through some small images in an iPad application. Does anyone know how to achieve this?
...
Hi all,
I had a problem with when removing and adding annotations to the MapView. I need to refresh the Annotations every 10 seconds. But it is taking too long time when removing and adding the Annotations. Is there any other methods to do it fast. The following code I am using for remove and adding annotations.Please suggest any ideas ...
Hi guys,
I am doing application using ios 4.0.I need to hide UIToolbar when I go from second view to firstview.As secondview consists UIToolbar.In secondView I am having NavigationBarButton I wrote the code as below.
-(void)back
{
[toolbar removeFromSuperview];
[self.navigationController popToRootViewControllerAnimated:YES];
}
So,...
Hi,
I have to use a calendar in my iphone application. I tried hard but could not find any inbuilt API in iphone sdk for this purpose. Now i am going to create calendar by myself and need some guidance for it.
I have created 5 rows of 7 buttons(i.e, 35 buttons in all) and will be using it as the date and then later i will add other gr...
Hi all.
I am displaying 10 feed in UItable view and below i have added a button with name load more 20.. by clicking this button i am passing argument to the xml and in return i want to reload the table view with fresh content.
welll my question is that how to the view again.
i am trying somthing like this
-(IBAction)loadMore20
{
...