How would you make the text in a check box cell able to be edited like in a text cell instead of it just checking the Checkbox? The thing is that the Checkbox is Boolean in the Core Data Model and the Text is a String, so I don't know how I would make this work.
...
I've got a UITableView with several entries. Upon selecting one, I need it to do a potentially time-consuming network operation. To give the user some feedback, I tried to place a UIActivityIndicatorView in the UITableViewCell. However, the spinner doesn't appear until much later -- after I've done the expensive operation! What am I doin...
This Is Similar To One Of My Earlier Questions That Never Got Answered.
I would like the Dock Icon to use the method makekeyandorderfront to open the Main window after it has been closed. I have done this with a button opening a Window but I don't know how to do it with the Dock Icon because you can't make a connection to it in interface...
I'm developing my first iPhone app, and while implementing user preferences, I have a few questions on how to best implement this.
Assume the basic MVC pattern: MainView displaying data stored in a Model object; MainViewController handling the app logic.
For the options, I have an OptionsView and an OptionsViewController. A RootView...
First off I'm not that familiar with using threads and i'm learning on the fly.
I have an array that is being used in thread a and being populated in thread b. What I want to do is find the best practice for waiting for the array to be populated from thread b before using it in thread a.
...
I am creating a quiz game and I can't figure out the best way to implement UIButtons that disappear one by one at 3 second intervals. I can get the first UIButton to disappear after 3 seconds, but the subsequent UIButtons take considerably longer.
I believe the problem is that my code becomes more inefficient with each UIButton I make ...
i have a .m class written in objective c that needs to send information to a .mm class written in c++
i tried to use CFNotification and as far as i can tell the notifcation sent by the .m class can be picked up by the .mm class
the problem now is trying to get information across in that notification.
The documentation says i need to pa...
As a practical example, in UIView, drawRect is called when setNeedsDisplay is set. I want a different drawRect routine to be called for the first time vs. the subsequent update. So for example, I want drawRect to call drawRectFirstTime for the first time and drawRect to call drawRectSubsequentUpdate for subsequent setNeedsDisplay.
How ...
I'm using a tableview to display a list of rows and when selected, I want additional controls to appear right below the cell, probably in another view which I will control.
So far, I've managed to get a reference to the selected cell by running through the visiblecells array in the tableview but the frame property always returns a y-coo...
Hi there,
I have the following problem:
A UIView with a UIViewController, but I have another view, something like an customized keyboard, and this "keyboard" have another UIViewController associated.
I'm adding this keyboard to the original UIView like that
CustomizedKeyboard *customized = [[CustomizedKeyboard alloc] initWithNibName:@...
i want to play sound according to text of the label.is this possible to generate sound from text.?
...
hello all i am new to iphone development i am working on a application called flash cards...
my problem is i want to generate flash cards from database...
here is some code to explain
home screen----
index View
categoryView
TileView
bookmarks
search
download
indexView is a uitableView
category1(section header tit...
Hi Everyone.
I'm a beginner at C, Obj-C and the iPhone, and I'm trying getting to grips with a lot of terminology used. I hope one of ye can help with a problem I have been struggling with for a few days now.
My code below is a method which call up a nib containing a search field and a table. The table is populated from a search of the...
Hey there,
I'm trying to mix between UIImageView drawing and line drawing using CGContext path draw commands, but the draw order is not correct.
I need to draw the path on top of the images but get the reverse.
The way I implemented it:
Setting UIImage within a UIImageView and adding the UIImageView as a subview of the main view.
Ne...
i have some database and i am genrating data something like this.
first getting categoryid and categoryName form the database. and sectiontitle of the table is
categoryName
hrer is sample code
(NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
return categoryNamesList.count;
}
-(NSString *) tableView:(UITableView *)t...
Can anyone provide any input on this error. I am trying to insert into table using Objective C.
While I am doing this, I am getting an error SQLite Busy. Why this is happening?
...
Hi There,
How can one pad a string to left in objective c.
E.g if if i have an integer value of 6 I want it to be displayed as 06.
I use stringByPaddingToLength but it pads it to the right like 60.
Your help is much appreciated.
Tony
...
I have multi-line non-HTML text (with newlines). Need to output it inside ScrollView or just UIView.
I can't output it as UITextView: can't find how to resize UITextView to the size of text and/or disable scroll in it.
Should I output text to Label?
Or there's something more proper for that?
Thanks.
...
Hi,
I am a newbie in the Mac world.
I need to create an app that is able to extract information entered on a web page, from text fields. My app will load a webpage hosted somewhere, and within the webpage there will be a a series of text fields and a submit button. Once the button is clicked, I must be able to read the information ente...
I am looking for a perfect solution to set a background image for a window in a cocoa application. I haven't found a solution to this, I am new in objective c, so please anyone help me...
...