I'd like to pass dict to the method processit. But once I access the dictionary, I get EXC__BAD_INSTRUCTION.
NSNotificationCenter *ncObserver = [NSNotificationCenter defaultCenter];
[ncObserver addObserver:self selector:@selector(processit:) name:@"atest"
object:nil];
NSDictionary *dict = [[NSDictionary alloc]
...
Appears the 3.0 NDA has been lifted, so this should be safe to ask. If this is violating an NDA, please let me know so I can remove the post, post-haste.
I have a very trivial implementation for KVO on an NSOperationQueue. My problem is that when compiling against 2.2.1 SDK, I get different results for the NSOperationQueue in question f...
I am developing a voting app, where the User will be presented with a question and multiple choices. In a typical HTML world the choice for this interface would be a Radio Box/Check box. What kind of view would I use in the iPhone SDK for a similar behavior?
Are there any sample apps which I can refer to?
Thanks,
Amy
...
Does Xcode support tail-call optimization on the iPhone?
...
I want to use my dictionary keys for output in a grouped table. This has to be localized with all my other content. Can I use an NSLocalizedString as the key?
NSDictionary *dict = [NSDictionary dictionaryWithObjectsAndKeys:
first_array, NSLocalizedString(@"First Array", @"The First Array"),
second_array, NSLocalizedString(@"Seco...
hi all,
My requirement is that i want to access the list of all the songs from the iPhone library.
I have included the MediaPlayer Framework in my project. So how to get the list of all the songs ???
Thanks.
...
In UIKit, UIBarButtonItem has a property called possibleTitles. How is that being used?
...
Playing with URLs, more specifically building them incrementally from other, discovered URLs. In doing so, I'd like to stay using NSURL objects instead of manipulating NSStrings, just to gain the added sanity checks and url-specific methods from the URL class.
Unfortunately, it seems that there is no way to get the following to join to...
Hi everyone,
I want to ask you whether it is simple to download data from URLs engind such as .php etc. or not. Downloading from direct urls, such as this one http://www.rarlab.com/rar/wrar380.exe is really simple using NSURLConnection.
But if I use NSURLConnection on servers like rapidshare.com, or download.cnet.com etc. it is not worki...
hai,
when i see sales and trend report throughitunes connect for my application,
it shows fileds like artist ,title . units etc...
does units represents no of downloads of my application in particular country?
how can i know.how many times my applications have been downloadad?
...
I am trying to animate a piece of text being pasted on to a view as a post-it note. I have a view with a yellow background, which contains a text view and a close button, initially set to be hidden. I animate it onto the main view like this:
[UIView setAnimationTransition:UIViewAnimationTransitionCurlDown forView:postitView cache:NO];
p...
I have a tableView that's loosely based on the DetailViewController in ye olde SQLiteBooks. It's created programatically. Each cell displays a single value that when clicked displays a generic editingController that allows the user to edit that value. Pretty standard Cocoa-touch stuff...
Except...I also have a segmented control in the ...
Hello,
I have a quite simple question but the answer is not so easy.
I want to hide a UITabBar when my orientation change.
I looked 2 ways :
Frame way
myAppDelegate.tabBarController.tabBar.frame = CGRectMake(<<bottomOfScreen>>);
Works fine but I have a blank area, so tried to play with tabBarController.view.frame et myViewControlle...
Hey guys,
I have a pretty large list of 'items' (up to 250 entries) which is constantly changing. The list is being displayed in a UITableView.
I have a polling thread that will download some new entries and insert them into a SQLite DB.
When new entries have arrived, I call to my table view data source object to update its data set, ...
Hello,
I need to customize the page where on any event the customizable "Button menu pane" has been visible from the bottom, just like one of the application "Twitterrific" (please see the screenshot). I've tried to implement through with modalViewController properties but it populate my customizable view on the whole screen and my par...
Safari does this with tabbed web pages. The AppStore (3.0) does this with an app's preview images. Views scroll horizontally and lock in centered on each view.
Any idea how to accomplish this?
...
I am developing an app in iPhone
I am using an NSRange object in my code.
if (range.length == 0)
{
do something
}
When I print the the value of range.length on the console it writes 0. Which means my if condition holds valid. But it never enter inside the loop to do something.
Any clue what I might be doing wrong?
Thanks...
UIImagePickerController and Edit to crop don't crop within the white square, there is some offset from where the user selected to crop.
...
I have made a multiplayer game using the GameKit Framework where 2 iPhones/iPods can connect to each other via bluetooth and play.
I am thinking of a way to choose which device will be able to play first. So the logical solution is to pick the host of the connection. Is there even a server and a client in the GKSession? Are they all pee...
Hi,
I'm trying to figure out how to create a bitmapcontext with a CMYK colorspace and draw an image into it.
I'm using the code from Apple's Q&A here, and modified it to create CMYK colorspace and draw into it. In my logs, I get the error
Unsupported pixel description - 4 components, 8 bits-per-component, 32 bits-per-pixel
and...