I have a case where i have three entities with one-to-many and one-to-many relationships:
Entity A (Entity B relationhip),
Entity B (Entity A relationship, Entity C relationship),
Entity C (Entity B relationhip)
I have the reference of Entity A, and now i want to fetch all the related Entity C records. How can i do that? (with least ...
I am new to iphone development. I want to develop an VOIP application. Anybody give me some ideas to start.I have tried "siphon" and "telephone" open source projects but they did not run.
Thanx for any suggestion.
...
Good Day!
i want to add a subview in another view in iphone. and i want that child view to be of size which i want like if i want to change its height/width i can. Can somebody please suggest me something or help me out in this regard.
Thanks in advance
...
Hey
is there any way to send whats in a text view (im trying to make a suggestion box) to my email address?
example
user types in the box " I think you should add twitter support"
then that is sent in the background to my email address [email protected]
then a message is popped up on the screen saying "suggestion sent"
just an exampl...
Should I mention
[request setHTTPMethod:@"GET"] ?
and what should I enter in the
[request setHTTPBody: ?] ?
OR should I just leave it empty?
Please help.
Thanks in advance.
...
I need stencil buffer on 3GS to render planar shadow, and polygon
offset won't work prefect, still has z-fighting problem. So I use
stencil buffer to make the shadow correct, it works on win32 gles2
emulator, but not on iPhone. After I added a post effect to the whole
scene. The stencil buffer won't work even on win32 gles2 emulator.
An...
Hi,
I used the following code to record video.
UIImagePickerController *m_objpicker;=[[UIImagePickerController alloc] init];
m_objpicker.sourceType = UIImagePickerControllerSourceTypeCamera;
m_objpicker.mediaTypes = [NSArray arrayWithObject:(NSString *)kUTTypeMovie];
// hide the camera controls
//picker...
If I try and release tempSeedsArray after seedsArray = tempSeedsArray , I get an EXEC_BAD_ACCESS, and Instruments shows that tempSeedsArray has been released twice. Here is my viewWillAppear method:
- (void)viewWillAppear:(BOOL)animated {
NSString *arrayFilePath = [[NSBundle mainBundle] pathForResource:@"SeedsArray" ofType:@"pli...
hi friends,
I m creating a Tic tac toe game, in that after click made by user automatically the cpu will respond. I want the cpu response after 0.50 seconds, the sleep() function takes too many time, i don't want that much time, is there any other way to do so???
...
I have encrypted file and public key. How can I decrypt it from app without installing certificates?
file public.key looks like "e+ztydr5GG7saZyrIOtSWGQgHlQbuFn1IVlIIggPIWuLUNTOqN0Y..."
Here are some code:
NSString* filePath = [[NSBundle mainBundle] pathForResource:@"public" ofType:@"key"];
NSData* publicKeyData = [NSData dataWithCo...
I'm trying to get my head around Core Data on the iphone.
This is code from Apple's 'Navigation based app using Core data' template (method - insertNewObject)
// Create a new instance of the entity managed by the fetched results controller.
NSManagedObjectContext *context = [fetchedResultsController managedObjectContext];
NSEntityDescr...
I am new to iphone development.I am using the below code to add the value to the plist but when check the plist after executing the code i dont see any value saved in the plist.Where do i go wrong? please help me out.The plist i have created is in the resource folder.Thanks.
NSString *path = [[NSBundle mainBundle] bundlePath];
NSString ...
Hi there.. I have a modalViewController that pops up and displays another view. My problem is that when this happens, another button on my screen is also pressed, and it does that action while the MVC is being shown.
I tried a mail message VC, with the same results..
What could it be? Things to check please? Im stumped.
...
I have made a ViewController in XCode for an iPhone project I'm working on, but I have a question about nested ViewControllers and what the best way to access a parents ViewController functions?
Essentially, at the moment I have a SwitchViewController with MenuViewController (nested) and GameViewController (nested, which renders OpenGL ...
I am trying to implement some interface changes in my app, based on the device rotation.
My app is a view based app. So, its main view controller has a didload method.
The app starts in portrait. Almost all changes on the device orientation triggers the shouldAutorotateToInterfaceOrientation method but this method is not called when th...
According to the iPhone Application Programming Guide (Event-Handling chapter) I should implement all event-handling methods (even if it is a null implementation), if I work with UIView or UIViewController. And I shouldn't call the superclass implementation of these methods.
Why? (I've searched in the Guide and in Google, but can't find...
Hi,
I have a mapview with serveral annotations. Every annotation has a leftCalloutAccessoryView which is a UIViewController class. The reason for this is that I want every annotation to load some data from the server, and add the result of that data to the annotation subTitle.
This all works perfectly, except that I dont want to load a...
With all the SDKs floating around, it's handy to be able to build for multiple SDKs and platforms. However, bouncing from 3.2 to 3.0 and even occasionally 2.x, I frequently get deprecated warnings involving methods that have changed or been superseded:
warning: 'UIKeyboardBoundsUserInfoKey' is deprecated.
Since I still want to maintai...
I've got an iPad app with a “drawer” table displayed in a popover. The user can tap-and-hold on an item in the drawer to drag that item out of it and into my main view. That part works fine; unfortunately, the view being dragged appears under the popover, and is too small to be visible until it's dragged out from underneath it. If I add ...
Hey Guys .. I am new to programming in Objective C .
I checked many tutorials on reading data in sqlite3 , but almost all of them have show the data in UITableView .
I have a page where the user types in the password, the password lets say 1234 is saved in the database ( I have created a table already ) .
I have got the database into th...