I've got some data stored in Core Data that looks something like:
| name | identifier | other_stuff |
I need to display the names in a UITableView, but I only want to display the names with unique name-identifier pairs. So for:
John | 3 | foo
Betty | 4 | foo
Betty | 4 | bar
I only want the query to return John, Betty. Something li...
I want an array that gets data from one class to be avaliable to me in another class with the same data.
If we declare an array on the applicationDelegate class.
Then declare an object of applicationDelegate in both classes.
And assign the array into appDelegate.array from one class, will i be able get the array across the classes?
...
Sorry for my english, I'm not a native speaker.
I have a problem with scroller indeicator. When I load a simle web form into UIWebView, the scroller indicator appear on the right side of the screen. It's right, but when I try to edit some field on the form, scroller indicator move at center of the WebView, as you can see on the picture....
I want to create a subclass of UINavigationController which always starts with the same root controller. Nothing special, so (to me) it makes perfect sense to override the init method like this:
- (id) init {
rootController = [[MyController alloc] init];
if (self = [super initWithRootViewController:rootController]) {
// do...
I had heard that the customizing of the tab bar icons was free when you use UITabBarCotroller (which it looks like it is) but what magic do I need to add to get that layout to stick across instances of the application?
...
I like using the UI Recorder in Xcode for testing a UI in the simulator. However, that I know of, UI Recorder doesn't work on the device. Is there a similar tool for automating UI testing on the device?
...
Is it legal (either in the general sense or within the App Store) to use publically available XML feeds w/o contacting the original author?
For example something like http://earthquake.usgs.gov/eqcenter/catalogs/7day-M2.5.xml
(Not really what I'm using for my app but same type thing)
...
I've got a custom UITableViewCell subview that has a button on it which has a background color representing a priority. The user is allowed to drag the cells around in the table, which changes the priority of the object represented by that row. I want to update the color of the button when they're done, so I've implemented this:
- (vo...
I'm implementing a UITableView where the number of rows for a given section is limited to 4. For that matter, if the number of rows is less than 4, I add a row that is used as a placeholder for the next item to add (this is similar to the "Contacts" app).
I have a problem when I reach the maximum number of rows for the section. If I t...
I am building an RSS reader with a GUI very similar to the built-in mail app. It uses Core Data to store the information once it is downloaded. When a story is downloaded, it has a blue dot to indicate it is new. Once I go back to the main page after reading a story the dot should be gone. It stays there until I scroll or relaunch the ap...
Hi all,
I am using core-plot lib to draw bar charts in my app like this
My problem is that i want the enabling of grapgh movement only in horizontal direction so that I can see the records for a long period of time, But the problem is that i just wnt to keep the y axis fixed to its place,
How can i do this?
Waiting for help....
...
Since the touch functions wont work until they are subclasses for the UIScrollView,i have subclassed them and gets the touch co-ordinates in the subclass. But all my operations are being done in MainViewController.m . How can i send this value there? Might seem an easy Q, but it is taking a lot of time for me,plz help me.
...
Hi everyone!
Did anyone tried to resize an video, for adding more views around it?
Can anyone give me any hint/recommendation?
Thanks in advance!
...
Basically what I want to do is to use Cocoa's autocorrection feature on NSString.
E.g. [string autocorrect] would return what it text field shows in a popup
Is it possible?
...
For a UIPickerView, when do you use a plist for the datasource? For example, if I just wanted the Array 1-100, is that something that should be in a plist, or something that should be created in viewDidLoad?
Also, I notice in the UIPickerView in the Clock app on the iPhone, the numbers move, but the words hours and seconds stay the sam...
I'm trying to figure out whether or not the current locale uses a 12 hour or a 24 hour clock. I've been checking out NSDateFormater to no avail. Any leads?
Thanks!
...
I'd like to read more about how the iPhone OS actually works. I know for example there is an application sandbox, and some globally interchanged folgers where all apps have access to, like address book. I'd like to know more about how the components of iPhone OS fit together, what's there, etc. maybe someone has a good link that summariz...
I have an iPhone application that needs to sort a couple of NSMutableArrays, this arrays contain around 3000 elements.
The idea is to sort them once when the application starts, then every iteration I need to insert 9 elements to each of those arrays. Is there an efficient way with NSMutableArrays, to insert those 9 elements in a sorted...
I've given an ad hoc version of my app to some users. Two of them have the app die on start up while one user has no issues. I can also install the ad hoc without issue...but that is always the case for me. One user sent the info below from the Xcode Organizer Console. They didn't find any crash logs. I don't know what to make of th...
I'm trying to write develop audio related application.
In that, I'm using AudioToolBox framework for recording the sound. And I'm using AVFramework to play soudns.
When app is stared, it will play some mp3 file using AVFramework. And also initializes Audiotoolbox.
In simulator, I'm able to record and play. But when I'm testing it on iPho...