iphone

how to push view to view based application?

HI I am working with View Based application, i need some suggestions from you, 1) is it possible to push a view using navigationcontroller in view based application. 2)when should we need to use navigationbased application,viewbased application,windowbased application. 3)in viewbased application i know we can addsubview, but can we...

TTPhotoViewController: Images not loading until swipe

Hi, I am trying to implement TTPhotoViewController in a sample iPad application. I have implemented properly TTPhotoSource and TTPhoto protocols. The TTPhotoViewController does show image, but not until swiped. The right and left button in the tab bar below doesnt seem to work at all, they never change the image displayed. The UIActivi...

How to use ManagedObjectID the right way?

What I'm trying is this: 1) Create a new manged object 2) Get it's temporary id with [myMO objectID]; 3) Convert that ID to an NSURL, so I can save it for future reference: NSManagedObjectID *moID = [myMO objectID]; NSURL *url = [moID URIRepresentation]; 4) Save the managed object context 5) Some time later, fetch that object usi...

feasibility of plugging in video post processor and a video pre processor into iPhone, iPad and Mac notebook

Hi all, i have below requirement and i dont know how much it is feasible. A video post processor resides between video decoder and video renderer (a wrapper over display driver usually). A video preprocessor resides between camera and video encoder. Both does processing of video data like rotation, flip, brightness/contrast adjust, whit...

UITableView: block cell dragging during reordering

Hi I've a problem with UITableView. When I'm in editing mode i want to reorder the cell but e when I drag a cell at the bottom of the screen it's allowed to go down as much as the TableView height and down the last tableViewCell. I've only 4 cell and i want that when Im dragging a cell it's not allowed to go down after the fourth cell. ...

Will the next iPhone Simulator be able to simulate the high resolution of iPhone 4?

As a follow-up to this question, the next one is: Will we be able to simulate our interfaces how they look on the new high resolution display, even without owning an iPhone 4? I guess that there is a formula that we can use to calculate the exact needed distance between our monitors and our eyes, to achieve the exact same visual effect ...

Puzzled with nib files...

I know nib files are serialized objects and they have owner, outlets to make connections. Using XCode Navigation window template I created application, which in its order created 2 nib files - MainWindow and SecondView. I can't understand how MainWindow is referring to SecondView, there is no connection between those two as far as I can ...

Prevent iphone from sleeping but allow screen lock

Hi, using iphone SDk3.0, how does one prevent the iphone from sleeping so wifi remains on but still allow the screen to be dimmed(locked). Disabling the idle timer is no good as that prevents screen lock and drains the battery really quick. Thanks ...

updating one of the views in a tabBarcontroller from another view controller

hi friends... i have been searching a solution for this problem... but i didnt get it.... I have an app in which there is a tabbarcontroller with two views added to the viewcontrollers array of it. . one a list view and another a view to add items to the list.. apart from this tabbarcontroller i have a edit viewcontroller which is pus...

Is there an special Apple mailing list for every iPhone SDK framework?

I wonder how these Apple mailing lists work. 1) Is there one for every framework? 2) How to subscribe to them? ...

for loop in iPhone

nodes = [doc nodesForXPath:@"//user" error: nil]; for (CXMLElement *node in nodes) { [itemPreDict setObject:[[node attributeForName:@"name"] stringValue] forKey:@"name"]; [itemPreDict setObject:[[node attributeForName:@"gender"] stringValue] forKey:@"gender"]; [itemPreDict setOb...

Once I upgrade from an IPhone 3G what should I do with it?

My iPhone 3G is already slow and starting to be unusable. Pretty soon I am going to upgrade my main phone. However, it is such a shame to put it in my gadget drawer to collect dust. Do you have any interesting ideas of what to do with this old device? ...

Drawing an indexed image on iPhone

Hi all, The issue is drawing an indexed image on an iPhone (1 byte pr pixel, 256 colors). You can easily convert a raw image to a CGImage if it is 24 or 32 bts per pixel RGB using 'CGBitmapContextCreate' and 'CGBitmapContextCreateImage' but it does not work with indexed images, I have searched in iPhone SDK documentation and the WEB but...

How to set x coordinates as hours in core plot

I am drawing a ScatterPlot using core-plot framework. My x coordinates are hours starting from 0 AM to 12 PM . How i can set these as my x coordinates ? please help me .. thanks in advance . ...

Will calling -obtainPermanentIDsForObjects:error: cause new managed objects to be stored?

Example: I create a bunch of new NSManagedObject instances. Not stored yet, but already added to a managed object context. Then I want permanent IDs so I can refer back to those objects 10 years later. At this point, will these objects be actually saved to the persistent store? I guess they have to - but I'm not sure how Core Data obtai...

How does Core Data obtain permanent IDs from the persistent store?

Is there an explanation how this is done? Is Core Data creating dummy records to get IDs for not-yet-saved managed objects? ...

Is there any way to access media Folder in iPhone , iPad

Hi All, For my app, i need to access Media folder, Is it possible, if yes it would be great if someone can share one sample code ...

Problem to get a Substring from a String?

Hi all, i have a little question ,i have a NSString object (\n "1 Infinite Loop",\n "Cupertino, CA 95014",\n USA\n) and i want the substring present within 2nd double quote and first comma of 2nd double quote (Ex.Cupertino) from this string.(Note: My string is Dynamic) Till now i have used stringByReplacingOccurrencesOfString: and abl...

How can i test microphone related application in iPhone?

i am developing an application in which two users can do voice chat on iPhone via bluetooth.Now that i have initiated the voice chat in my code,i found that iPhone 3 does not have microphone builtin.Does anybody has any idea on how can i test my application.Because if i use external microphone then i'll not be able to connect it to my sy...

How to use Sleep in the application in iphone

Hi, I have used to loading a default image in my appication. So i have set to, Sleep(3); in my delegate.m class. But sometimes it will take more than 6 to 7 minutes. So i want to display the image 3 seconds only and then it goes to my appilcation based on my requirements. Which one is best way to do that? Sleep(3) or [...