I'm using a trial of Cornerstone and like the product but don't like the fact they have no support. Meaning, they never answer their email. I need a source control program that can handle merging through Subversion. Specifically, merging from a branch back into trunk. Cornerstone doesn't and from what I've read Versions doesn't eithe...
I'm working on a game for the iPhone, for several reasons most of the code is in C++. I need to write a TouchesManager for my Game, I know about the methods touchesBegan: touchesEnded: and touchesMoved:
I would really like to make a manager in C++ so I can subscribe some classes to this manager, so they can handle touch events in my Gam...
I've an application in which each row contains an uiimageview and an uibutton. I have created them using custom cells, uitableviewcells. The button is to trigger the method, uiimagepickercontroller to pick an image from the library and show it in the imageview. I need that any user who uses the application can rearrange the rows as they ...
Im trying to load a single image into the grouped table cell. I found a piece of code on the internet and modified it. Original code is using UIViews to display image, which is not what I need, however original code works of course. PLease help me to make this code work to display an image in a sigle cell for grouped tableview. My TableV...
i m new to iphone ... trying this code but getting some error help me out..
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
........//// some code ...........//////////
CGRect frame = CGRectMake(5 ,10 , 320, 44);
UITextField *txtField = [[UITextField alloc]initWithFrame...
What would cause a tableview cell to remain highlighted after being touched? I click the cell and can see it stays highlighted as a detail view is pushed. Once the detail view is popped, the cell is still highlighted.
...
Currently I understand it as a kind of "empty object". But what's it really?
...
I want to do something similar to how mobile safari keeps its URL bar anchored at the top of the screen while a page is loading unless you scroll past the top, in which case it scrolls down with the rest of the content.
I, however, want the opposite to happen; I want specific subviews to scroll off the screen if I scroll down, but if I...
I have a very simple code to show a modal controller (nextController is a class member):
nextController = [[InstructionsScreen alloc] initWithNibName:@"InstructionsScreen" bundle:nil];
[self presentModalViewController:nextController animated:YES];
[nextController release];
And then when the controller should hide:
[self dismissModalV...
I try to get the hang of it, but for now both seem the same thing to me. However, Xcode allows to create an Console App with choice of using "Core Foundation" or just "Foundation". Maybe someone can point out the differences.
...
Want to create an app where a child would trace a letter with their finger as they learn to write the letter.
I would show a letter on the screen say "b" and at the top of the "b" there would be a small arrow which the child drags top to bottom and along the curve on the right. As the tracing occurs, the color of the letter changes fro...
Is the NSSearchPathForDirectoriesInDomains function still the best way to get the path of the iPhone Documents directory? I ask because most topics I see on this are dated last year, and it still seems like a pretty cumbersome way of getting to a directory that is used commonly on iPhones. You'd think that there'd be a convenience meth...
Could someone please clarify for me the semantic difference between these two:
self.foo = [NSMutableDictionary dictionaryWithCapacity:theCapacity];
self.foo = [[[NSMutableDictionary alloc] initWithCapacity:theCapacity] autorelease];
Are the interchangable? If not how exactly do they differ.
Thanks in advance.
Cheers,
Doug
...
I have a UIScrollView of size 320*460 and with content size 1024*1024.
I can place 25 images of 256*256 in it with the 13th picture shown at the centre of the
screen when it loades with bits of surrounding pictures around it.
When i swipe to any side I want it to appear just like the mapView. With new images
appearing and showing.
Ho...
I have a modal view controller that creates core data changes in it's own context, and when I click done, it saves the changes (that dispatches the merge changes notification), notifies the delegate and dismisses.
My problem is that I need the delegate to receive the message after my main context has merged with the changes of the editi...
I have a UITabBarController as my MainWindow.xib. I have 3 tab bar items on the tab bar. On the second tab bar item, i have placed a UIButton. When the user taps the button, i want to be able to switch to the first tab bar item and display the view loaded there. How would i do this programmatically?
Thanks
...
How can I detect touches in a UIviewController for a UIView with code only (without Interface Builder)?
I found the touchesBegan method but it doesn't get called ever. I didn't initialize anything else regarding this method.
-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
...
I have a MKMapView on the first of my tab bar items. From my second tab bar item, i want to tap a button "View on map" which loads the first tab ( currently using appDelegate.rootController.selectedIndex=0; in my -buttonClicked method ), and then places a pin annotation view on the map using coordinates i want to pass in...
How can i ac...
Just want to know how I would make a UIPickerView in a UIActionSheet with a simple array.
...
I want to use touch event methods for UIScrollView. But it was said that I could do this only if I subclass UIScrollView and write these functions inside it. So i did like this
SubClassing.h
@interface ImageTiling : UIScrollView {
}
@end
SubClassing.m
#import "ImageTiling.h"
@implementation ImageTiling
- (void)touchesBegan:(NSSet ...