iphone

Problem with uploading multipart data to server

Hi, I am trying to upload multipart data to my server which has image data along with the fields specified in the following form <form action="/imageUploader" enctype="multipart/form-data" method="post"> <p> Title:<br> <input type="text" name="title" size="30"> <input name="action" type="hidden" value="uploadtile" /> <input name="can...

iPhone: Can't affect UITextView content with initWithCoder

I'm trying to get a string displayed in my UITextView the moment the app is launched. I have a UIView and (obviously) a UITextView in my interface, and one outlet, myText, which is connected to the UITextView. It doesn't seem to be working and I can't say why.... Here is the code in question: MainView.h #import <UIKit/UIKit.h> #impo...

UITableView Custom Cell Selection Problem.

Hello, Iam creating a custom TableView Cell Which has some text and a Background image. when i select the cell then the image should chnage but this is not hapening, i have use following code so some one help me? - (void)setSelected:(BOOL)selected animated:(BOOL)animated { [super setSelected:selected animated:animated]; if (selecte...

iPhone: Duplicate Symbol Error?

I got this error when i press build+debug: ld: duplicate symbol .objc_class_name_BlogTableItemCell in /Users/fabian/Development/Workspaces/iphone_experiments/xcode_build_output/MausLog.build/Debug-iphonesimulator/MausLog.build/Objects-normal/i386/BlogTableItemCell-3733583914888A7B.o and /Users/fabian/Development/Workspaces/iphone_exp...

how to add the content of the cell of table view in other view when clicked on cell in objective-c

I want to add the content of the cell of tableview in other view when i click on the tableview cell , how can i pass the values of the cell to other view. ...

Hi All, Is there a way to populate data via xcode?

I want to input data into a sqlite database so that core data can read from the file but I was wandering if there's a way of populating the sqlite data via xcode or do I have to spend lots of money on an sql manager of some kind like RazorSQL to do it? Thanx... ...

How to implement Zoom-in and Zoom-Out with Core-Plot line chart on iPhone?

Hi, Is it possible to implement Zoom-in and Zoom-Out with Core-Plot Chart component on iPhone? If so please suggest me how to do it? Thanks in advance. ...

UiTableView records Problem.

Hello All, i Have some problem. i have 25 records in my NSMutableArray and i want to display them 5 records at a time when user press Next button then another 5 records to display and when user press back button then previous 5 records to display. How can i do this any help from you would be great. Thank You. ...

Notification Icon on UITabBar

Hello, I can't find any reference to add a 'notification' to an icon, preferably into a UITabBar, like the image attached, number 8. I suppose I don't have to create manually ALL the numbers inside a circle, or create it every time I need and update the image manually with some of my icons ? thanks, r. ...

fix position for uitoolbar (iphone sdk)

Hi all, I'm wondering if there's a possibility to set a fix position for a toolbar, for example: In my UIViewController I got an UITableView and an UIToolbar. If the table view have 50 rows, how can I set the toolbar is always at the bottom of the view, so that I don't have to scroll down first to get to the toolbar. The toolbar should...

Obtain MAC Address of Devices in range of router

Is it possible for a router to obtain the MAC address of nearby devices that have not connected to it? I want to write an app that notifies me somehow (email or something) when a specific MAC address comes within range of a router that I have (the app is much more specific than that so I cannot use prebuilt tools but if they are open sou...

How do I add an UIView above a TableViewController

Hi I would like to display an UIView above my tableview, for testing purposes I have used a Searchbar (to eliminate any possible problems with my code). My setup: Tab bar controller     MyCustomTableViewController         View             TableView (for customizing cell height)             Searchbar I have positioned the searchbar at...

Download and save video from web in iphone development

Hi, I am trying this code to write m4v file. This code works fine if i am writing any txt file. But it's not work for m4v. It creates 4kb blank m4v file for me. Can someone tell wht's going wrong in this code. - (void)viewDidLoad { NSString *post=@"key1=val1&key2=val2"; NSData *postData= [post dataUsingEncoding:NSASCIIStringEn...

Cache URL images iphone UITableview

Hi, I'm seeking a tutorial on how to cache images loaded from a url into cells of a uitableview. I found an example here http://www.ericd.net/2009/05/iphone-caching-images-in-memory.html#top But the code is incomplete. I'm an objective c novice so I found it very difficult to fill in the missing pieces. ...

NSMutableURLRequest: didReceiveData not called at the first time

Hi, I've digged through a lot of topics regarding didReceiveData: method not being called (and the solutions is to set appropriate cachePolicy and implement willCacheResponse delegate method...) And so I did... And now I get didReceiveData message each time anything comes from the server. BUT: Unfortunately I don't get didReceiveData at ...

Session Authentication by keyboard-interactive + libssh2 iPhoneSDK

Hello there, I am having some problems with user authentications, I want the authentication through command prompt when user accesses it. I'm opening session with libssh2_session_init(). Then, i'm using libssh2_userauth_keyboard_interactive() to enable user to input password at command prompt. You can check the code at http://www.lib...

How to enable user interaction on UITableViewCell contentView while in edit mode?

Is it possible to enable user interaction on the contentView while in edit mode? ...

NSPredicate usage

I am having string @"King (+$100)".I want to use NSPredicate to find if string is having (+$[0-9]*).So how to use NSPrdicate ...

Grid view in iPhone SDK

Hi, I would like to create a grid view in my iPhone app similar to that shown in the iPad photos app. I know that the iPhone 3.2 SDK is under NDA, but is there a library or framework available for adding this kind of functionality (non-SDK). Ideally I would like to eventually develop an iPad version of the app, where the grid would be 3...

To display Headerview with image and labels in the viewcontroller

I am new to iphone development i have created one view controller and i used grouped table view. Now i want to display the header view in my viewcontroller with image and labels. please guide me and help me out in this problem. Thanks. ...