Is it possible to set up XCode to do the reference counting for me?
I'd like to know if is it possible to set up Xcode to do the reference counting and show warnings if number of "retain" and "release" are not matching? ...
I'd like to know if is it possible to set up Xcode to do the reference counting and show warnings if number of "retain" and "release" are not matching? ...
Hey. I am using a UItableView to show a list of stuff. When the user clicks on the accessory, it writes the location of the cell to a plist. Then it sends the [UITableView reloadData]-selector to the tableView. How can I set a different indexPath to a UITableViewCell inside the tableView: cellForRowAtIndexPath: method? Thank you. ...
I use the following code to load an image into an scroll view. The image always loads at 100% zoom. Is there a way to set it to load to another zoom level, say .37? I have tried scrollView.zoomScale = .37 but it didnt seem to work UIImageView *tempImage = [[UIImageView alloc]initWithImage:[UIImage imageWithData:data]]; self.ima...
Hello there - I would like to build a simple animation for a school project. I want to make water wave within a box in such a way that tilting the device causes the water to wave in a direction rather the other. Is there a sample from where I can start to create such effect? Any help is super appreciated. Thx, mE ...
I have a UILabel: descriptionLabel = [[UILabel alloc] initWithFrame:CGRectMake(200, 30, 130, 150)]; [descriptionLabel setFont:[Utils getSystemFontWithSize:14]]; [descriptionLabel setBackgroundColor:[UIColor clearColor]]; [descriptionLabel setTextColor:[UIColor whiteColor]]; descriptionLabel.numberOfLines = 0; des...
I'm researching remote control testing for an app that'll be installed on the new iPod Touch and can't tell for certain from everything that I've read whether or not an installed app can or can't open any ports for remote test instructions (that's a mouthful : ) We created something like this for the Android using adb port forwarding an...
I have several reference apps, and I'd like to be able to let my users "highlight" text. A reasonably good way to do this, to me, seems to be to modify the "copy/paste" contextual popup menu to add "highlight." If there's a way to do this, I'd like to know how. If there isn't a way, suggestions would be appreciated. My text is viewed...
hi, in my application, i got a map that show the location of the user. But i also need to get the exact adress of where he is and put it in a string. Any idea how it works? thx ...
I've written an app that uses some of the user's camera roll images, and while it does so it stores them in the application root directory. The problem I have is that whenever I re-compile my application it changes the folder to which the application is installed. Is there any way I can specify which folder it should build to, so that an...
So I have a subclass of a UIView that starts causing EXC_BAD_ACCESS errors when I go through a specific set of conditions (run on iPad instead of iPhone or simulator, first login only). It throws the exception when the UIView subclass gets autoreleased from the pool (i.e. the pool is releasing, not when I'm calling [view autorelease], du...
I made a UITableViewCell subclass, and now I want that subclass to be "clever". It should align it's contents to the height of the row. But for this, the cell must know what height value was provided for it in this method: - (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath However, no matter...
Hello, another issue where I seem to have found an solution for ObjC but not MonoTouch. I want a NSUrl from an URL (as string). The string may contain whitespace and backslashes. Why is NSUrl returning null for such string, even though these are valid urls in a browser? For example: NSUrl foo = NSUrl.FromString(@"http://google.com/s...
I am using iPhone SDK 3.1.3. I have a UITableViewController which gets data from another controller. The tableview is added as a subview to the mainview but the frame is set so that it is not visible. The tableview frame is updated and made to slide over the main view by tapping on a button. The table view appears and i scroll to the la...
Hello all, I'm trying to code up an async image downloader. I use NSURLConnection to get the data into an NSMutableData and use that data once it is complete to initialize a UIImage. I checked the bytes and it downloads the entire image correctly (right number of bytes at least), however; when I call [UIImage imageWithData:data] an...
I was playing around my app and I was toggling a UISwitch really fast (who can resist?). So, I toggled it really fast for 10-15 times, an array that should contain the data from the table view cell that I have my switch in, either has extra copies of the same cell or just one copy (the correct case) or no data in it at all. The app works...
I am trying to reorder an array (moving one item of 90 to the top, and move all the others down). Is there a way to do this? ...
If a UILabel contains too much text, how can I setup my label so that it shrinks font-sizes? Here is how I am setting up my UILabel: descriptionLabel = [[UILabel alloc] initWithFrame:CGRectMake(200, 30, 130, 150)]; [descriptionLabel setFont:[Utils getSystemFontWithSize:14]]; [descriptionLabel setBackgroundColor:[UIColor cl...
I want to change color of choose button in UIImagePickerController.Is it possible? ...
Hi everyone I am doing a search using getSearchResultsForQuery method and i get searchresult too but when i try to print the parsed data i dont get text of all the tweets i am doing this [twitterEngine getSearchResultsForQuery:@"#joke" sinceID:twitterUserId startingAtPage:1 count:5]; and below is the result in console and it shows t...
Hi. I'm trying to draw a 3d kitchen table with openGL, I'm having trouble in representing the tablecloth over it. I would like to be able to deform the tablecloth with gestures such as swipes. I want to go with a 3d strategy, drawing my tablecloth using a NURB surface, but seems like openGL ES has no support for it. Any suggestions ? ...