Welcome To Snipplr
Everyone's Recent Snippets Tagged ios
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Use like this: [self showConfirmation:@"May we send you information and offers by Email?" withMessage:@"1 email per week maximum"];
1
957
posted 13 years ago by yasirmturk
Use like this: [[self docsPath] stringByAppendingPathComponent:@"photo.png"]
1
885
posted 13 years ago by yasirmturk
First you need to create an MPMediaQuery using the playListsQuery.
Then, you loop through each playlist and retrieve the valueForProperty.
0
919
posted 13 years ago by nd6
background tap - background should have type UIControl and method should be connected to the "touch down" action
textView - doesn't need to be connected to an action, but delegate needs to be connected to something that is a UITextViewDelegate
text...
1
888
posted 13 years ago by bethjt1220
If you are developing for iOS with AIR and are deleting/removing applications from iTunes/device each time you want to test you will want to read this.
0
944
posted 13 years ago by renaun
Adobe AIR 2.6 was just released and it includes a couple of new features for iOS such as camera, video, and keyboard support but for now, you'll need to compile using command-line ADT. Here's a simple example showing you how to compile in test-mode...
0
1163
posted 13 years ago by chrisaiv
Show a notification immediately after application enter in background (but you can schedule it too)
0
824
posted 13 years ago by rabc
Pulls data from a plist set up as a dictionary of arrays of strings.
Creates multi-level TableView that can be nested inside a navigation controller.
Snippet shows key methods for 2 nested levels.
2 levels --> 2 classes (both of which extend UIT...
0
824
posted 13 years ago by bethjt1220
Though an old post, this is my solution that's been pieced together from various comments on the article linked above.
1
1354
posted 13 years ago by beneberle
How to create a delete effect inspired by the iPhone iOS interface. By Carlos Yanez.
0
748
posted 14 years ago by Activetuts