Ken Burns effect on iPhone views
Hey, are there any exisiting approaches on how to apply Ken Burns slideshow effects (take a look at a javascript demo: slideshow demo site) to a view? Regards... ...
Hey, are there any exisiting approaches on how to apply Ken Burns slideshow effects (take a look at a javascript demo: slideshow demo site) to a view? Regards... ...
Hi, before rolling up my sleeves and starting an own solution: Is there already an approach for masking an image via touches? Touches are marked yellow in my example: If there is no existing solution, I will try it to inspect Apple's drawing sample app to get some selections on the image. ...
Hi, In interface builder, there are layouts options to send to back or send to front any elements such as UIButton, UIImage, UILabel etc... Now, I would like to do the same at runtime, programmatically. Is there an easy way to do that? I do not want to create different views, just play with the z-axis. Thank you. Yohann ...
I'm trying to put some plain text in the iPhone pasteboard. The following code doesn't seem to work: UIPasteboard *pboard = [UIPasteboard generalPasteboard]; NSString *value = @"test"; [pboard setValue: value forPasteboardType: @"public.plain-text"]; I'm guessing the problem is in the pasteboard type argument. Passing @"public.plain-t...
I have followed Apple's documentation on localizing iPhone software, using the genstrings ruby script to create my strings file, and have localized all of my nib files. I also looked on both Apple's message boards, and around the net to try to find the solution. I have made sure that all strings files are UTF-16, and changed my build s...
Hi, I have an App using sqlite. On first start, I copy the .db file into NSDocumentDirectory (so that I can make updates to it). In later versions, I plan to add new data to this database. How can I make sure, that with every application update (but not with every app start) the newest copy of this DB will be copied to NSDocumentDirecto...
I would like to enable users to as simply as possible go to a certain music album in the iTunes music store (not the app store). Is it possible to create such a direct link that opens iTunes music store with particular music album or song? You can see such behavior in Shazam. ...
I have a UINavigationController that can rotate to landscape mode and that it initializes a new UIViewController and pushes it on the stack. On the UIViewController's viewDidLoad I just print the self.view.frame.size. If the Navigation Controller is in Portrait mode, the View Controller will print {320, 460}. However, when the Navigatio...
Hi, I've added some buttons to an UIView (via addSubview) programmatically. However, they appear as overlays (so that I always see the last button only). How do I add new buttons below existing buttons? Regards ...
A view controller FooViewController needs to do some initialization when it's created (of itself, not of the managed view - before the view is even loaded). I want to be able to create it in two ways: Programatically, possibly with some arguments: FooViewController *fooViewController = [[[FooViewController alloc] initWithSomeData:da...
I have a to-many relationship in my data model, and I'd like to get all the objects that have no corresponding objects in the relationship. For example: Customer -> Purchases I want to get all Customers that have 0 Purchases. I've read somewhere that I could use "Purchases[SIZE] = 0", but this gives me an unsupported function express...
Hello, I have some buttons in an UIView. My problem is, that they get cut off at the right side of the UIView. How do I prevent this? I've checked already Interface Builders clip property, but it's no solution for this problem. Regards ...
I know how to do a global variable, but whenever I try to define a global variable with a random number function, xcode says "initializer element is not constant." The compiler doesn't want to make a variable from a random number because the random number function is not constant. How do I generate a random number and then use that s...
I am looking for a way to establish a wireless connection between an iPhone and a desktop client. Gamekit looks promising but all the examples / documentation only explain iPhone to iPhone. Are there examples / documentation for an Gamekit peer on the desktop (cocoa or java)? What are the alternatives without doing to much low level so...
When I open MapView with navigationcontroller in a new view, then not waiting till map loads, and then clicking on the back button - I an exception is thrown. Can anyone confirm this? What is a work-around? ...
Update I have posted my solution to this problem as an answer below. It takes a different approach from my first revision. Original Question I previously asked a question on SO that I thought solved my issues: http://stackoverflow.com/questions/998603/how-to-deal-with-non-visible-rows-during-row-deletion-uitableviews However, I now...
I like to create an instance of a custom class by passing it a value that upon init will help set it up. I've overridden init and actually changed it to: - (id)initWithValue:(NSInteger *)initialValue; i'd like to store this value in a property of the instantiated object and use the value to generate the filename of a UIImage that will...
I would like to detect when a page load request give to a UIWebView has returned a status code in the 5xx or 4xx range. I've setup the delegate for the web view and have provided a -webView:didFailLoadWithError:error method but although it gets called fine for timeouts, it is not called for HTTP Status Code errors. Any suggestions? ...
Hi, I use NSXMLParser for parsing XML documents of a server. They are encoded as UTF8. My problem is, that NSXMLParser breaks at umlauts (ä, ö, ü) and starts a new element. For example: Lösen -- NSXMLParser ---> L + ösen How do I get NSXMLParser to read my umlaut words completely, as every other word. Regards ...
I'm storing my currency values in NSDecimalNumbers (as recommended in multiple other threads on this forum) and using an NSNumberFormatter to display them correctly and handle the text input. All good! However, when I change the Region Format under iPhone prefs General settings to somewhere outside the US, say Germany, and then look at m...