Tagged Questions
0
votes
3answers
41 views
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[Home isEqualToString:]
I am fetching data from a web service:
//temp1 is NSDictionary
//responseArr1 is NSMutableArray
for(temp1 in responseArr1).......,
{
quesTxt = [[temp1 objectForKey:@"question_text"] ...
0
votes
1answer
41 views
Insert element at NSMutableArray's end
I am loading an array from a web service and displaying them in picker and all works fine. My array contains random number of questions for every category of questions. Now what i want is that i wanna ...
2
votes
1answer
72 views
Replacing NSMutableArray with NSObject and reading it in a UITableView
I'm trying to make it so that when I select an owner of a ship on a picherWheel, I get their boats up in a tableView. Currently, I am doing it through feeding a NSMutableArray with if-else series on ...
0
votes
1answer
148 views
UIPickerView With Custom Dates
I cannot use a UIDatePicker. I just want to throw that out at the very beginning before all the commenters tell me to just use a UIDatePicker. I want to have a Picker Wheel that shows all the day of ...
0
votes
1answer
313 views
UIPickerView: Sorting & displaying an array of values causes crash when moved?
I'm trying to sort an NSMutableArray of Strings into alphabetical order and display the sorted list in an UIPickerView. I'm using another NSArray to create a sorted list.
Im using the PickerView ...
2
votes
3answers
201 views
how to solve uipickerview
I have a problem with my pickerview where by clicking on the textfield it shows an empty uipickerview. I have 3 textfield where by clicking on each textfield there will be different array for each ...
0
votes
2answers
103 views
how to call a conversion using double component UIPickerview
I will post my code below as a quick note I define both of the components in my .h file and I need to call an action when certain rows are picked. For example something like if row in component == 0 ...
2
votes
1answer
1k views
UIPickerView appears but doesn't show data
I've been all over the place for the last two days trying to find the answer to this, but I can't seem to get it. As far as I can tell, I have everything setup correctly, but it just doesn't want to ...
0
votes
1answer
380 views
UIPicker view not displaying data from JSON array
i have a UIPicker view for which i need to load the data from a JSON feed.
I am able to write the array data into NSLOG and display it , but not able to see it in the UIPickerview . please see the ...
0
votes
2answers
175 views
Can't find the cause of my app crashing
I am working on a UIPickerController. I have everything working but when I tap the back button to go to my previous view the app is crashing.
I am thinking it could be catching a memory leak.
...
0
votes
2answers
268 views
UIPicker and Text Field
I have the same kind of question as this person
How to Sync selected row of UIPicker with previously entered data
I want the picker to load with info from a text field in another tab. I'll explain.
...
0
votes
1answer
524 views
unable to add data in picker view through nsmutablearray
i am loading data from database in nsmutableaaray
-(void)SeoPickerData
{
self.pickerArray = [[NSMutableArray alloc] init];
{
const char *sql = "select * from Main";
...
0
votes
1answer
225 views
Add cell to an Array using data from a UIPickerView?
I have a UIPickerView with three components, and each component has NSIntegerMax for the numbers. So, I just need to get the data from each component, and send it to another ViewController called, ...
0
votes
1answer
2k views
Update UIPickerView Number of Rows
I have a UIPickerView that is populated by an NSMutableArray called sectionNamesArray. When an item is added to sectionNamesArray, how do I manually get this delegate to be called?
-- ...
0
votes
1answer
264 views
Why isn't this NSMutableArray getting populated?
I have an NSMutableArray I am trying to populate using a for-loop and making NSStrings for it. These are to be the data source for my UIPickerView. You'll see some commented out lines where I ...