The answer to this is probably right under my nose, but I am not seeing it. Maybe someone here could help.
I have a scrollView that allows for vertical scrolling. I set it up:
[clefScrollView addSubview:clefView];
[clefScrollView setContentSize:CGSizeMake(clefView.frame.size.width, clefView.frame.size.height)];
clefScrollView.showsVe...
for(LevelMeter *thisMeter in _subLevelMeters){
{
xxxxx
}
I am new to iphone development.I am doing research on voice recording in iphone .I have downloaded the "speak here " sample program from Apple.I came across the above code in the sample program.I cant understand the for loop.LevelMeter is separate class._subLevelMeters is a NSAr...
Hi!
I have a class which work is to parse a text into several pages.
I use sizeWithFont: method to identify when one page ends and another starts.
But unfortunately since the amount of text which needs to be parsed is pretty big, whole operation needs to be performed on a background thread (takes several second to complete). And therefo...
I am new to iphone development.I am doing research on voice recording in iphone .I have downloaded the "speak here" sample program from Apple.It consist of LevelMeter.h file, in which
@interface LevelMeter : UIView {
CGFloat _level, _peakLevel;
}
The property are set as
@property CGFlo...
Is it possible? Align the text fully justified? Does anyone know any hack or Interface Builder plugin?
Thanks!
...
Note: I have given up on compiling iPhone Apps without a developer certificate for the SDK 3.x... for now. But it wasn't for a lack of trying. Anyway...
I work for a client who will will be making iPhone Apps but will not deliver them through the AppStore for the time being. I will be testing and deploying iPhone apps to a device I own,...
hey
is it possible for my app to programatically add events (with permission from the user) to the iphones calendar?
cheers
w://
...
Hi guys
I'm halfway through implementing a very basic 'Add Contact' Button. I am calling the 'Add View' using the code (via a linked UIButton, that works) :
- (IBAction)showAddContact {
NSLog(@"Hit showAddContact");
ABNewPersonViewController *newPersonViewController = [[ABNewPersonViewController alloc] init];
addContactNavControll...
Ok, so I've finally decided on how to load my data I'm going to go with loading my book data as an XML file. The problem is that I'm not too sure on where to start, I've heard terms such 'parsing' but dont know how exactly it fits in.
I have added the code below if someone could give me a start in the right direction I would really app...
-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event {
touchStartTime = [event timestamp];
}
-(void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event {
NSTimeInterval touchTimeDuration = [event timestamp] - touchStartTime;
}
touchStartTime is defined at class level.
Any idea why this won't recognise the tou...
Suppose I have an model object class Box. In my Box class I add images references (png), audio (mp3) etc...
Rather than store them as NSData it seems better to reference the paths to the files...to save memory.
I would like archive this Box class. On the desktop we would use Document Packages (NSFilewrapper). But this class is not part ...
If I send out Ad Hoc distributions of my App, is it possible for someone to hack the included files and get my code? I know it is compiled, but that Ad Hoc folder has a lot of stuff in it.
...
Hi
Is there a way to resize an image (Taken from the Camera or UIImagePicker and saved to a temp folder) to 1mb?
Maybe calculating the pixels and than resize it to the calculated pixel size, but dunno how to resize..
big thanks
...
I want to stroke a path using a .png that I have but I just don't know hot to make a CGPatternRef.
...
Hi all,
I am developing a web app (using rails) that I will be launching within a week. I've "jumped the gun" and started working on the iPhone app for the site (I'm new to iPhone development). Using the peepcode iPhone screencasts and the expense/budget demo app from clarkware I've been able to get things going (using ObjectiveResource...
I have an UITableView set up with a NSArray with 10 indexes. Right now, the first cell on the uitableview is the first index, the second cell is the second index, and so on so forth. Is there any way to make it so that the first cell displays the latest index? Maybe through some code in the uitableview delegate because I am adding data t...
Hey,
each todo app has a empty box on the left handside, when you touch the box, it changes to a checked box. When you tap it again, the checkmark disappears. I think everybody knows what I mean.
As you see it here (right):
How would I realize something like that ? Is it a UIButton ?
I'm working with Core Data, how would I save the s...
Hello,
I am a newbie in the iPhone dev and I want to know if I will save some data(NSSDictinary) with NSKeyedArchiver, tis data persist after an update process of my app via AppStore?
Let's say that I want to save user an pass for my app and probably this information will be saved into the app folder.If I will update the app via AppStor...
I keep getting an out of memory failure when I try to do the distribution build of my app. The app only gets up to a max of 12 megs of real memory when testing it in Instruments. Why is this happening? My app folder is only 18 megs without the build folder in it. Turns to 80 megs with the build folder. But this doesn't seem like a l...
If you call:
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://test.com"]];
it seems to automatically quit your app -- bypassing the dealloc, viewDidDisappear, or any other functions.
Is there a way to put any code between this call and the Safari (or Phone or Email) launch, without having to put a timer before...