iphone

Creating a mobile version of a website

I'm looking to create a mobile version of our website/web app. What's a good way to provide the best, most fully featured version. Part of the reason for creating it is instead of an iPhone app, so I'd like to offer an iPhone web app that takes full advantage of the iPhone's version of WebKit (so CSS animations, being able to rely on go...

Anti piracy and app identification. iPhone SDK

How easy is it to determine whether an iPhone application is cracked and report that device ID to a server rather than block it / or turning the app into a lite version? Would patching remove these methods to the server? It is mainly a losing battle preventing an app being cracked, but i want a system not dissimilar to product keys / or...

iPhone code - CGPoint assign problem

hi, i tried to implement this code that move UIImageView's objects, i get a compiler warning for the objects (jumpBall1...) in the createPosition method: UIImageView may not respont to -setupperLimit, -setlowerLimit, -setspeed code: @interface JumpBallClass : UIViewController { CGPoint center; CGPoint speed; CGPoint lowerL...

Performing Method on background thread with NSNotification

I am trying to perform an operation on a background thread. In the past i have used [self performSelectorInBackground: @selector (getSetDisplay) withObject: nil]; to accomplish this. However, I have registered for this function to be executed within an NSNotification and I need to animate the UIActivityIndicator. The UIActivityIndic...

Question about rotating a slider

I am working on an application which needs to rotate the slider at one end. However, by using CGAffineTransformMakeRotation(), I can only rotate the slider at the centre. What should I do in order to rotate the slider at the end point? If possible, please give a short paragraph of sample code. Thanks a lot. ...

Problem: Can´t pass a NSUInteger from one ViewController to the other anymore

Hello, I want pass a number from my ViewController to the the TweetViewController. Everything worked okay, I did it with NSUInteger as property (randomNumber and tweetNumber): TweetViewController *Second = [[TweetViewController alloc] initWithNibName:nil bundle:nil]; Second.tweetNumber = randomNumber; Second.modalTransitionStyle...

How to start an app with an activated keyboard and a courser in a UITextView?

Hello, I want that my app starts with the keyboard and a courser in my UITextView, so that the user can instantly start to write. How can I do that? Thanks for your help! ...

framework not found OpenGL

first of all, I am very new to mac and Iphone development. I have a project, that uses the OpenGL framework. In order to try to get some other aspect of the project to work, I may have fiddled around the developer libraries (it was more then a week ago so i don't remember exactly what I did). now when I try to build the project I get ...

How do I introduce delay in my function?

Hi, all! I'm developing a game in which I'm reducing the frame size of an imageView. When I'm introducing a condition using while loop, I'm not able to see the image reducing its size gradually, since it immediately jumps to the final result. So, I want to introduce a delay after every instruction so that I can see the effect of i...

Does NSNotificationCenter notications have higher priority than UITableView cell loading events?

Are events posted by NSNotificationCenter postNotificationName processed before UI updating events? I need to know because otherwise my current program will crash in some rare cases. Model code: - (void)searchFinishedWithResults:(Results *)results { self.results = results; // If some table cells are loaded NOW, before noticati...

Cocoa setAnimationDidStopSelector

Hi, Currently I have this code that works fine [UIView setAnimationDidStopSelector:@selector(animationDone:finished:context:)]; - (void)animationDone:(NSString *)animationID finished:(BOOL)finished context:(void *)context { // do stuff here } Logging the value of animationID gives me a null. How can I pass value to the @selector? ...

Cocoa animationImages finish detection

Hi, I'm doing an animation using animationImages and animationRepeatCount = 1; How can I detect when the animation is done? Thanks, Tee ...

iPhone warning when installing build on device

hii i am new to user.... when i am installing the build in the device i am getting the warning: Unable to read symbols for ""/Users/sudharastogi/Documents/Kapil/iPhone Project Docs/Buy Me/build/Debug-iphoneos"/Buy Me.app/Buy Me" (file not found)....... Can you please help me out why this warning is coming...... as it causes problem late...

Simple fetch with .@count predicate taking a long time (~30seconds)

I have 2 entities, A and B that have a many to many relationship. The A entity has about 10,000 objects in, and B has about 20 objects. Basically, A objects can be related to one or more B objects, and the B objects keep track of which A objects they are connected to. This is done with the inverse relationship setting. I simply wish t...

How to show an actionsheet when the username/password isn´t correct for Twitter?

Hello, I want that my app shows an actionsheet when the user presses on the "Tweet"-Button and the username or password is wrong. For my Twitterfunction I use the TwitterRequest.m/h from Brandon Trebitowski. If everthing works great and the username/password is right, this happens in my app: TwitterRequest * t = [[TwitterRequest...

Messaging NSArray problem

I am trying to get JSON data loaded from a NSURLConnection delegate to send the array of objects back to the tableview that called it. The delegate object is initialized with callback to send back to NSArray *returnArray; ResultsTableRoot *callback; JSON handling method - (void)connectionDidFinishLoading:(NSURLConnection *)con...

Best way to handle persistent Boolean in plist?

What's the best way to handle Boolean values that derive from a UISwitch setting, and are stored in an NSMutableDictionary that is saved to the user's directory as persistent settings? Specifically, what's the best way to keep boolean values distinct from numeric values in an NSMutableDictionary that gets written to and read from the fil...

Displaying iso-8859-1 chars in c# with monotouch

I'm reading an XML file from a REST web service, parsing it, and displaying the details in a UITableView. The XML file is in encoded as iso-8859-1 and contains accented characters. If I just add the string to the tableview then I get a junk character displayed, so I've tried to convert it to UTF8 but it gets converted to a question mark,...

How to send an array of object from iPhone app to a PHP Script with JSON

I have an iPhone app with an array of objects that I want to send to a PHP script and have them be stored in a mySQL database. The objects in the array contain only floating points and strings, nothing special. From what I understand the best way to send the array to the php script is to convert the array into an JSON, send it to the ...

iPhone Flip Transition - Can I get notified at the half way point

I have a single UIView for drawing any one of a set of items. That is, my one UIView subclass can be told to draw a square, circle, or triangle for example. I'd like to have a transition to flip that view so that the UIView draws a different shape at the half way point, so it looks like I'm transitioning to a different view, but really ...