I got nabbed by the following bug again and would like some clarification to exactly why it is a bug.
I have a simple UITableView that loads some data:
// myclass.h
@property (nonatomic, retain) NSArray *myData
// myclass.m
@synthesize myData;
- (void) viewDidLoad {
...
myData = someDataSource // note the lack of self
}
- (UITab...
i used
self.mapView.showsUserLocation = YES;
for showing blue dot (circle) on MKmapview. Its working fine in simulator. but when i tested in Ipod, its not showing. Anybody know what will be the reason ? thanks in advance
...
Hi,
I have created a UITabBar and UITabBarItems without UITabBarController on it, now i want to know how to place an action on click of the UITabBarItem.What is the method i should use for action on UITabBarItem?
...
Hi Guys,
here the following code is used to view the present modal view controller.
[[self navigationController] presentModalViewController:doctorListViewNavigationController animated:YES];
the close action is in the next view controller(DoctorListViewController). You can understand by seeing the following code I added now cleary.
-...
What does this means? Seems to appear in the console occasionally when I run with breakpoints on in the debugger.
warning: Couldn't find minimal bounds for "_sigtramp" - backtraces may be unreliable
...
Hi,
I want to implement mid-point/Bresenham circle drawing algorithm using objective for Iphone.please give me any tutorial or source code to drawing mid point/Bresenham circle algorithm.It is possible to draw the circle using CGPoint method?
...
Hi all
I am fairly new to core data technology and i searched a lot on how to add the database to a core data application.so can anybody guide me on how to integrate the database layer? i have seen the iphone tutorial on core data (i.e books example) but i am not able to understand how to .sqlite file has been included in that applicati...
http://www.switchonthecode.com/tutorials/getting-started-with-opengl-es-for-the-iphone
From the above link they created tutorial by No Nib File.
But i need to add User interactions like , adding Progress View.
Please help me. i am new to iphone OpenGLES.
Thanks In Advance.
...
hello,
how to append the value of string in between NSString?
for example:
NSString* str1 = @"Hello";
NSString* str2 = @"Hi.."/*add contents of str1*/@"how r u??";
please tell me how to achieve this??
...
Hi Guys,
Here I'm gettimg memory allocation problem at activity indicator and my code is:
- (id)init {
if (self = [super init]) {
self.title=@"Release Details";
contentView = [[UIView alloc] initWithFrame:[[UIScreen mainScreen] applicationFrame]];
contentView.backgroundColor = [UIColor clearColor];
self.view = contentV...
Hi everybody,
Apple requires an in-app purchase subscription purchased on one device to be available on all devices associated with the user:
“...subscriptions must be provided on all devices associated with a user. In App Purchase expects subscriptions to be delivered through an external server that you will provide. You must provid...
Hi
i want to control channel volume from my app and iPhoneMultichannelMixerTest (http://developer.apple.com/iphone/library/samplecode/iPhoneMultichannelMixerTest/)sample code form apple looks perfect for me.
but i m heaving problem in playing mp3 files. code crashes in MultichannelMixerController.m at
static OSStatus renderInput(void
*i...
Hi All,
I am trying to set the title of MFMailComposerViewController , which is a subclass of UINavigationController.
I am using these following ways :
MFMailComposeViewController *picker = [[MFMailComposeViewController alloc] init];
[picker.navigationController navigationItem].title = @"Send Mail";
[[picker navigationItem] setTitl...
When I checked my application for memory leaks it is showing 12 leaks. What will be the effect of this?
I used global variables as shown below
#import "file1.m"
int num;
#import "file2.m"
extern int num;
num = 10;
Can this cause memory leaks?
Anyone please help. I am a beginner in programming.
...
I am using a CATiledLayer as content of UIScrollView, but seems I can not get the correct (sometimes) [scrollView contentSize] and [scrollView contentOffset] from CATiledLayer's delegate method :
(void)drawLayer:(CALayer *)layer inContext:(CGContextRef)ctx
I know CATiledLayer uses this method to render tile in a background thread. A...
hey all,
i'm quite new to objective c and i have this problem.
i'm animating an image an show this in a imageview.
after 15 seconds i want to show another view, thought of a "flying in view from the bottom".
any hints fpr me how i could manage that?
thanx in advance
marcus
...
Hi
I am developing an app which will let users to 'draw' on screen via finger touch - so basically users can write, draw shapes - similar to a white board.
The problem is I am a newbie as far as iphone graphics programming is concerned, I would highly appreciate if community here provide some sample code link or suggest a direction as w...
Hi,
In my ViewDidLoad I try something like that but its not working:
UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(10,2,60,14)];
label.autoresizingMask = UIViewAutoresisingFlecibleWidth;
[self.navigationController.navigationBar addSubview:label];
I want to display a label in the left part of my NavigationBar.
Or maybe...
Guys,
I am new to IPhone and using following code to render the image from remote server using TTImageView from Three20 framework with the help of following code
TTImageView* imageView = [[[TTImageView alloc] initWithFrame:CGRectMake(30, 30, 0, 0)] autorelease];
//Working OK
//imageView.urlPath = @"http://prosares.co.cc/Images/b...
I have an app, where there's a UITabBar with 5 tabs. When user shakes the device, I want the UINavigationBar to push an UIImageView. When I show the UIImageView, I need to hide both tab and nav bars. After that, when user taps the UIImageView, the NavBar appears again and user can go to the UIImageView's parent view. I make the Nav Bar a...