iphone

how do I take the URL and page title from a UITableView?

Hi I have an iPhone app that shows the user a UIWebView in the first view, what I am trying to do is allow the user to save what is essentially favorites to be saved and then displayed in a table view in the second view. To do this all i need is the page URL and also the Page Title to be saved to then populate the table view. Now here i...

iPhone SDK Tableview Datasource singleton error

I basically followed apple "TheElements" sample and changed "PeriodicElements" .h & .m to my own "SortedItems" .h & .m During compile I get this error: "Undefined symbols: "_OBJC_CLASS_$_SortedItems", referenced from: __objc_classrefs__DATA@0 in SortedByNameTableDataSource.o ld: symbol(s) not found collect2: ld retur...

Why does Custom UITableViewCell *sometimes* cause an NSInvalidArgumentException?

I have created a custom UITableViewCell, but when I dequeue the cell, sometimes it throws an NSInvalidArgumentException: [UITableViewCell nameLabel]: unrecognized selector sent to instance 0x3b4e7f0 Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '* -[UITableViewCell nameLabel]: unreco...

should i learn Quartz for iphone game programming?

Hi all..I wanna learn and develop 2d game on iphone but i don't know if i should learn Quartz 2d first, or i can just jump into openGL ES directly? ...

iphone build error that makes me want to buy a nail gun

I'm just trying to build a simple update (which I have done before) for an iphone app, but now for some reason I'm getting this error. Can anyone tell me what it means? Command/Developer/Library/Xcode/Plug-ins/CoreBuildTasks.xcplugin/Contents/Resources/copyplist failed with exit code 127 sh: plutil: command not found Here are the Buil...

Object in Array is not recognised as having "methods"

I got my application working Awhile back, but after completely and accidentally deleting it, I have tried to create it from square one. unfortunately my rewritten program is a bit cranky; does anyone see or know the possible sources of error? Also, my if statements are acting up. -(void)loadAnnotations { CLLocationCoordinate2D worki...

iphone textfield focus to send field

hello all i have my four textfield for entering password If my password is "1 2 3 4", is there a way to automatically jump to the second box as soon as I enter "1" and so on and so forth? ...

how to set image in webview

I am creating runtime images. i want to set that image in to web view. Please give me a hint or document.My source code is given below CGRect pdfSize = GetPdfSize(UIGraphicsGetCurrentContext(), initialPage, [filePath UTF8String],myTable,mainString); //UIImageView *imgV=[[UIImageView alloc]initWithFrame:CGRectMake(0, 0, 598,768)]; UI...

Hiding master view in split view app..???

Hello friends, I have created split view based ipad app, where master view is table view while Detail view display images.. I need to display the image fit to screen 100% in landscape mode. This could be on button event or double tap event.. Does any one know about it. Thanks in advance. ...

localization in iphone

HI all, i m working on an app,which need localization. I am using a tab bars, having five tabs, and navigation controller. i am able to change title according to locales,but the navigation controllers rightbarbutton which navigates to previuos view, showing English(united states), when i change local to english. What i am doing wrong....

Showing tokens in UITextField

Hi all, I want to get tokens appearance in UITextField as we have in NSTokenField ie. as soon as user enters some name in UITextField it gets enclosed within a token. We have this control in to-cc fields in mail in iPhone / iPod and I want to get similar feature in my application. Can anyone suggest me some solution for it??...

is it possible to allow the uiimageview to be pressed and linked to another uiviewcontroller?

as above.. thanks ...

What's the point of setRetainsRegisteredObjects: ?

Why would I want to set that to YES? What difference would that make? Must I worry about this? ...

iPhone dev on Linux

Hi guyz, Actually I have read about that I can write Objective-C app on Linux (using GNUStep). But my question is, Am I will be able to develop completely iPhone app on Linux machine? Or I'll need eventually need to use Mac machine? Especially when I read that there are some some syntax diffs between NeXT/Apple and GCC (according to htt...

problem with connection of facebook in my app for iPhone

hello I have complete code of facebook connection. But When i dragged the complete code into my application then 112 errors will occurs. wherever i have use use that code "FBConnect/FBConnectGlobal.h"Then error will arises "FBConnect/FBConnectionGlobal.h" No such file or directory. Even i have given all the path in project setting/proje...

Is there any way to hide "-" (Delete) button while editing UITableView

Hi all, On my iphone app, I have a UITableView in edit mode, where user is allowed only to reorder the rows no delete permission is given. So is there any way where I can hide "-" red button from TableView. Please let me know. Thanks ...

in app purchases question

I am looking into the iPhone in app purchased models and need to implement a subscription. Ex content will be available for 24 hours. Now the most important thing is that it needs to be available on all the other devices, so bought on the iPhone, viewable on the iPad. I'm not sure how this works ? I need to store some information on the ...

In which situations would I want to call -rollback in Core Data?

I try to grok this method. Is that only useful when I'm dealing with undo/redo operations? Or can I use that in general, when I have changed my object graph after saving it and then decide that that was a bad idea? So -rollback would go back to the last saved state of my object graph? ...

doc file created in iPhone documents encoding issue

I'm trying to write a MSword file in document directory by the following code: NSArray* paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory , NSUserDomainMask, YES); NSString* path; NSString* gradeDoc = [self fetchCommentsDesc]; NSString* str = [self.objStudent.strName stringByAppendingFormat:@".doc"]; path = [[paths objectA...

How to discard references to any managed objects fetched using the receiver?

The documentation for the -reset method of NSManagedObjectContext is confusing... All the receiver's managed objects are “forgotten.” If you use this method, you should ensure that you also discard references to any managed objects fetched using the receiver, since they will be invalid afterwards. So what does that mean? ...