what kind of certificate do I need to test apns using ad-hoc distribution?
I can't understand from Apple's docs if I need a production certificate or a development certificate... ...
I can't understand from Apple's docs if I need a production certificate or a development certificate... ...
Has anybody done or seen a deployment of Apache Thrift in an iPhone app? I am wondering if is a reasonable solution for a high-volume, low(er)-latency network service for iPhones compared to HTTP. One noteworthy thing I found is a bug report about running Thrift on the iPhone, which seems to have been fixed. But that doesn't necessaril...
Hi, I started with core-plot now and came to some problems. I followed the tutorial from this page: http://www.switchonthecode.com/tutorials/using-core-plot-in-an-iphone-application and completed with the instructions from this page: http://code.google.com/p/core-plot/wiki/UsingCorePlotInApplications (such as -all_load). But I still h...
In all of my UITableView programming, I've always configured my UITableViewCells in -[UITableViewDataSource tableView:cellForRowAtIndexPath:]. Now I've come across the -[UITableViewDelegate willDisplayCell:forRowAtIndexPath:] method. That also seems like an appropriate place to do cell configuration. My question is: what's the appropria...
How can I use NSZombie to find memory leaks? Will it help to display in which file and at what line a memory leak is going on? ...
When I run this code in device release mode, it pulls a "SIGABRT" on the "[mapView setRegion:region animated:TRUE];" line. However, I don't get the problem in either debug or simulator mode. I'm a novice in xcode. What am I doing wrong? - (void)initUI { // add a map view in available area startupPage = [[CSNet alloc] init]; positio...
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? ...
I'm implemanting in an iphone app a .plist file that contain some initial parameters that i'll use later in the app, i create a NSMutableArray myArray with a NSMutableDictionary with some keys then i create the file: NSArray * paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); NSString * documen...
Here is the scenerio: The user copies random text with mixed fonts. How do I determine the font(s) used? When the text is pasted from the UIPasteboard into a textview it correctly shows the mixed fonts, so I believe the information is available. UIPasteboard *pasteboard = [UIPasteboard generalPasteboard]; textView.text = pasteboard.stri...
I need the UITextField "ASCII Capable" keyboard to come up in numeric mode. I can't find an API for this, what am I missing? ...
how do were clear an NSMutatableData wihtout using release and then re-alloc/init again to be used again? I was looking at resetBytesInRange to be set at zero but I am unsure of this. Anyone can help? ...
I'm still shaky on the subtler aspects of memory management, and I have a question about the aggressive retaining/releasing I've seen in some sample code. Specifically: - (void)loadContentForVisibleCells { NSArray *cells = [self.tableView visibleCells]; [cells retain]; for (int i = 0; i < [cells count]; i++) { ...
Hey guys, I have a weird issue. Codesign refuses to sign this big project I have, project A, but does signs the other, project B. However, when I have signed project B, it also can sign project A all of a sudden. I am 100% certain I didn't change anything else. The steps I took were: Try to build, sign A - fails on signing Try to build...
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) ...
Hi All, For the last few weeks I've been tearing my hair out trying to get a tiling mechanism working on an iPhone. I need to scale and crop images of about 150mb so that they can be saved as tiles that will be requested by a scroll view, allowing the user to see the image in high resolution. The problem is that these images are really...
What I want: A UIView with a UISearchBar at the top. Starting to edit the searchBar dims the current view and shows search results from another [UITableView]Controller. What I've tried: In Interface Builder: add a "Search Bar and Search Display Controller" to the UIView. add a placeholder object for my UITableViewController add a UI...
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 have a mask (loaded from a 256 grey PNG) that I want to apply to an image that's being used as part of my process for drawing a UITableViewCell's imageView.image property. When the cell isn't selected/highlighted, I CGImageCreateWithMask with a square of the proper color and the mask, then drawAtPoint: it into the image I'm building. ...
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'm developing an iPhone application that has several nibs, and should be landscape only. The application is set to start in landscape mode via its Info.plist file. I have two view controllers: FirstViewController and SecondViewController. For each of these I have a nib file, where the view is in landscape. Both view controllers are a...