Hello,
I have an NSString that then sets a UILabel. This contains unicode such as...
E = MC Hammer\U00ac\U2264
and complete ones such as
\U2013\U00ee\U2013\U00e6\U2013\U2202\U2013\U220f\U2013\U03c0 \U2013\U00ee\U2013\U220f\U2013\U03c0\U2013\U00aa\U2013\U221e\U2014\U00c5
These are not displaying correctly, is there anythi...
I wonder what's the point of NSDecimalNumber. It offers some arithmetics methods, but why should I use NSDecimalNumber and not just double or NSNumber? Did apple take care of some floating point arithmetics uglyness there? Would it make life easier when making heavy use of high precision and big floating point maths?
...
I want to set some warning settings for my GCC compiler in Xcode (using GCC4.2), but I am unable to find a section in my Xcode build settings which lists the Warnings settings. Any idea?
For example, I am not seeing the screeshot posted in the answer for this post:
http://stackoverflow.com/questions/711650/xcode-and-iphone-compiler-war...
HI all
i am using the uipicker view and i want to change the color of that picker by default it shows some bluish color but i need it in a gary color how can we do it
THanks
Balraj verma
...
Hi, I'm trying to use the functionality of the example iPhone app AQOfflineRenderTest in my app (this app specifically isn't important, I just thought it worth mentioning). I have a C++ file with method called:
void DoAQOfflineRender(CFURLRef sourceURL, CFURLRef destinationURL)
I'm trying to call this from my Cocoa Objective-C c...
Hi,
I would like to use a UISegmentedControl with two buttons as a replacement for a single 'Done' button. To achieve this, I need to know the tintColor of UIBarButtonItems with UIBarButtonItemStyleDone.
Cheers and thanks in advance
MrMage
...
Did I say "array" enough for you there? To clarify:
I'm working on organizing and array in an iPhone project.
I have an array of arrays. Each sub array has a list of items.
How can I make a new array of all the items contained in the sub arrays?
I've experimented with the addObjectsFromArray function with little luck.
Thanks!
...
Hi there,
I want to create my own control that will consist of several UILabels and a couple of UITextFields. The problem is I'm not sure where to start! Do I directly subclass UIControl, then create my subviews and add them to the main view in init:? Or do I use layoutSubviews? And will I need to override drawRect:?
I'm used to creati...
I'm tinkering with adding a model layer to an iPhone application so that I can serialize/prioritize HTTP requests and selectively cache responses. Thanks to UIWebViewDelegate, the following method makes this fairly straight forward (in theory):
- (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navi...
Is there a way to implement NSURLConnection without it leaking? A number of Apps including NYTimes and others (including mine) suffer from this. Anyone have a working implementation?
...
I am adding a viewController to a TabBarController. When I add a ViewController from the custom class and Nib, it''s icon does not show up in the tabBar.
If I initialize like this the icon does not show up.
viewController = [[FlashCardViewController alloc] initWithNibName:@"FlashCardViewController" bundle:[NSBundle mainBundle]];
Bu...
I am getting following type of memory leak in my application - instruments checking. I have properly allocated & deallocated every object. However i am getting this type of memory leak.
std::_Deque_base<__CFURLCacheNode*, std::allocator<__CFURLCacheNode*> >::_M_allocate_node()
What is the reason behind generating these kind of leak?
W...
I was trying to put a GIF into my iphone app, but it just showed the first frame. I read that you have to put this coding into my app with a UIimageView.
UIImage *blur5 = [UIImage imageNamed:@"Picture 12.jpg"];
UIImage *blur6 = [UIImage imageNamed:@"Picture 13.jpg"];
self.imageView.animationImages = [[NSArray alloc] initWithObjects:blu...
Is it possible to get an UIKeyboard with a specific characterset for different countries over the iPhone SDK?
Thank you
...
An [ApplicationName]-Info.plist file is created with every new iPhone SDK project. My question: is it conventional to add custom property keys to Info.plist and access them programmatically or should they be created in a separate plist?
Perhaps it doesn't much matter, but using the bundle descriptor plist for my custom attributes feels...
I am working on an iphone app that has multiple view controllers. I'm currently able to pass an int value to and from the app delegate as follows (I want to use float instead!, but not sure how):
app delegate.h
@interface {
NSInteger accumulatedTime;
}
@property (nonatomic) NSInteger accumulatedTime;
@end
app delegate.m
@impl...
Using CoreAudio, I am able to get the sampleRate (frames per second) and the file size, but in order to get the "total" time of the song, I need to know the Real file size of that compressed mp3.
AudioStreamBasicDescription asbd;
UInt32 asbdSize = sizeof(asbd);
// get the stream format.
err = AudioFileStreamGetProperty(inAudioF...
Does anybody know how:
add small gradient to bottom of each UITableViewCell to visually highlight separation between cells
and at the same time make each second cell in table a bit darker then the each first row.
A great example of that stuff is Tweetie app. When you tap on your twitter account name you'll see table view with twitts....
I have developed an application in which the data About Schools are stored in ASP.NET Web Server.
The database has following values.
=>School Name => Longitude of School => Latitude of School.
Now, I retrieve all the data in iPhone through web-service & NSURLRequest.
Now, Following is my Problem.
When user Clicks on a school ( in ta...
I have a custom UITableViewCell that I created in IB. To populate a UITableView with instances of these cells, loaded from a NIB, I use the following code:
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
static NSString *CellIdentifier = @"overviewCell";
HOStoreOverviewC...