How can I modify the iphone SDK Apple sample code 'GKTank' to support multiple peers? Ideally 4.
I know GKit has a peer limit of 4, which is fine. What changes would I need to make to the source file 'GKTANK', so I can learn the process and adapt it to my own current app.
Thanks.
...
Hello,
sorry, it's not exactly a programming question, but I am currently in a research state and looking for similar projects, so I could analyze them:
It should be application to iPhone or Android or other mobile platform, where, basically, user can access map with "places of interest" and add it's own "place of interest" (with photo...
Hi
is there a way to get sine and cosine of a value in sqlite query in iphone sdk? when ever i tried to use sin() in my query sqlite reported that no such function exists.
Any help would be much appreciated!
Thanks
Saurabh
...
Hi all,
I'm my application I want to pass an UIImageView to NSDictionary. Can anybody please help. It's urgent.
Thanks in advance.
...
I wrote a program that worked as a server.
Knowing that "accept" was blocking the program.
I wanted to launch a thread with this statement to prevent precisely that the program blocked, but this still happens.
Can anybody help?
Post code
Thanks
-(IBAction)Connetti{
if(switchConnessione.on){
int port = [fieldPort.text intVal...
Hi
I have application with a TabBar that controls several views. In one view, I control connections to different servers. Each server provides a different set of items.
I display these items in UITableView on another view.
The problem is that the tableview displays OK the first time but if I go back to view number one and change the se...
Hi,
I've the following code which causes crashes after sometime as i've set the below code in a timer:
CGImageRef cgImage = UIGetScreenImage();
[array addObject:(id)cgImage];
CGImageRelease(cgImage);
Where initiallly i've declared array as:
array = [[NSMutableArray alloc] init];
The timer goes well till 10 seconds as timer is of 1/...
I am using mobclix together with admob. The code is to big to add it in all classes.
So i created a new class: Ads
Everytime i want an ad in a view, i have to send the view to the ad class:
- (void)initAd:(UIView *) pView {
NSLog(@"ads init");
self.loadedView = pView;
.....
To create an ad in a class:
Ad* ad = [Ads new];
[ad...
Hi there
I'm programming against a Webservice that requires the amount of ticks (for the current time) (A single tick represents one hundred nanoseconds or one ten-millionth of a second) since 1.1.0001 (midnight).
what is the easiest way to get the amount of ticks from an NSDate Object?
thanks for your help
...
hi friends,
I m creating a game, in that i want to use some animation, but i m new to animations.
I want to create an image ,as soon as i click on imageview, the image should come in bouncing manner as if it is a Ball, so is it possible to do so??? The image is predefined for the game.and it must come after touch begin event occures, can...
Hi,
Does anyone have an Idea how to implement an UIAlertView for rating purpose like Apple show when you are removing an app from the iPhone?
You can choose how many stars to rate the app or don't rate it at all.
I already have a view that shows the stars according to the user touches but don't know how to connect it to the UIAlertView.....
When I try returning the count of my newsItems array it breaks my application. I used NSLog to find out what the value of the newsItems count was when I returned 1.
Here is from NSLog
2010-04-13 07:48:40.656 RSS Feed[453:207] Values of num items 31
2010-04-13 07:48:40.656 RSS Feed[453:207] Number of items 31
Does anyone know why return...
I think this should be simple but I am having some difficulty implementing it.
I take a photo from the camera, the user can then move and scale it.
They then choose "use" and they get a preview of their image.
Now what I want to do is overlay an image on top of this preview image - which is also ok.
But the part I am having diffic...
Hi I am working on core data for the first time. I have just created an entity and attributes for that entity. I want to add some data inside the entity(u can say i want to add data in a table), earlier i when i was using sqlite, i would add data using terminal. But here in core data i am not able to find a place where i can manually add...
Hello everybody,
My question today is about how Xcode deals with resource files in the app bundle which it creates. I know that it may be trivial, but I can't find an easy way out.
Basically my problem is that Xcode seems to keep on including a resource file (eg a text file) in the app bundle even if the file has been removed from the pr...
When I scroll in my UITableView, the cells become mixed up.
What am I doing wrong?
This is my method:
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
static NSString *CellIdentifier = @"Cell";
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdent...
I have i UIbutton
on click of button i get value which is nothing but I want tit as a UITabelview's cell's text;
then how to give this value to cell of particular UITabelview on click of UIButton
...
char asd='a';
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Are you sure?" message:asd
delegate:self cancelButtonTitle:@"Cancel" otherButtonTitles:@"OK", nil];
[alert show];
[alert release];
above code not compiling in iPhone simulator.
Why is that?
:)
...
I have an array of URL Links that I'm trying to load into a Grouped UITableView. The goal being that I have numberOfSectionsInTableView return [url count] so I can have number of sections equal to the number of url links. Then in numberOfRowsInSection returns 1 so I only populate 1 URL for each section.
The trouble I'm having is to ensu...
hi there,
i have just converted an app i was making from a navigation controller app into a tab bar app.
an everything works fine apart from this one thing, the first of my tabs brings in a table view,and what i want to happen is when a user selects a cell i want it to push on a different view controller(like it did when it was a navig...