Hi all,
I am developing application for iPhone environment for 1 year from now,In a recent interview one of my interviewer asked me regarding Apple scripting.
So i want to know as a iPhone developer is it necessary to learn Apple script?
What are the benifit of its uses? Where can i learn it?
...
I am trying write a simple image uploader using ASIHTTPRequest...
but at the code below....
[request setData:imageData withFileName:@"iphone.jpg" andContentType:@"image/jpeg" forKey:@"photo"];
I get below warning msg....
warning: 'ASIHTTPRequest' may not respond to '-setData:withFileName:andContentType:forKey:'
not too sure whats ...
Hi, I am new to iPhone Automation, and also UIAutomation introduced by iOS4.
Recently I am using UIAutomation to automate testing app on iPhone Simulator, everything goes well, until I need to take screenshots using captureScreenWithName provided by UIAutomation API. But it did not work for me, I Googled, and found that it seems this met...
Ok my problem:
I have function to create a Label:
- (void)crateBall:(NSInteger *)nummer {
UILabel *BallNummer = [[UILabel alloc] initWithFrame:CGRectMake(50, 100, 200, 100)];
BallNummer.text = [NSString stringWithFormat:@"%i", nummer];
[self.view addSubview:BallNummer];
}
Now i wanna access the label in a other function to cha...
i have one trouble, me need make scrollview with content of pdf(pages), this content has size of first 8 pages, and when i already see 8 page, i need expand content size for new pages and to do so, that scrollview show me new pages, but he shows pages from start scrollview again.
What i need to implement?
...
As attached in the picture.
I'm using a SearchDisplayController as well to facilitate searching.
- (NSArray *)sectionIndexTitlesForTableView:(UITableView *)tableView {
if(searching)
return nil;
else
return keys;
}
...
I was looking to implement voice pitch detection in iphone using HPS method. But the detected tones are not very accurate. Performous does a decent job of pitch detection.
I looked through the code but i did not fully get the theory behind the calculations.
They use FFT and find the peaks. But the part where they use the phase of FFT o...
-(void) callme {
//statements
here I call another method "callmeagain"
}
}
But it is not working. Is there another way to do it?
...
I am trying to upload my first iOS app to iTunes Connect, but I am unable to do this because every time I try to upload it, I receive the following error from Application Loader:
The binary you uploaded was invalid.
The signature was invalid, or it was
not signed with an Apple submission
certificate
I have followed the instru...
hi,
Here is my code...
CCSprite *u = [CCSprite spriteWithFile:@"1_S.png" rect:CGRectMake(0, 0, 27, 27)];
u.position = ccp((45.7*i+45.7*(i+1))/2, 467);
u.tag = i;
[self addChild:u];
and in my resource folder i have 2 image files named
1_S.png
and
[email protected]
.As i read the the doc
...
I'm getting the following error when including static libraries:
missing required architecture i386 in
file
This worked 30 seconds previously, and only failed when I upgraded to Xcode 3.2.3. I've used "file" command to check - and, yes, XCode is building completely the wrong architecture (armv6 + armv7 instead of i386).
This se...
hello i am wondering how its possible to load a nib depending on the string selected from the cell title.
here is the code that i am using however i cant get any results..
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
//FinalViewController *anotherViewController = [[FinalViewController...
Hi,
I am creating an iphone app and wanted to know if using NIB files created and modified using the IB is a better practice or is it ok to write the complete UI code without using a single NIB file?
The reason I ask this is because the data for some of the views is going to be dynamic. that is on my main view depending on the data fet...
i use instruments to track my app's usage of memory,in memory monitor,i find that real memory is below 36MB ,and most time it just 32MB,but i still get warnings low memory in organizer and crashed.
Incident Identifier: CFEF044E-E839-4DB7-9ED6-E22CD92B9171
CrashReporter Key: 80954447762f1882da7df309d5493cf8647f4c8b
OS Version: ...
I am going to end up with an array of RSS feeds, and would like a label or some such to display them at the bottom of the view. I would like to animate through each feed in the array.
This is what i have so far to animate, which, works for the fade, but only animates the last item of the array.
feed = [[UILabel alloc] initWithFrame:CGR...
I'm having an issue with a string which is being returned from a webservice. I am setting the string up in the header file, simple with
NSString *serviceUserID;
@property (nonatomic, retain) NSString *serviceUserID;
then I'm synthesizing it as normal. I can set it using
serviceUserID = @"4fffrdscfbg-44-06dfgf-dfgdfg-32eer456134";
b...
Is there a way to stop a UISwitch from toggling state when you tap on the inactive side? I would like a control that forces a deliberate 'swipe' action to prevent the user accidentally clicking it. I've had a look around but haven't found any setting that removes the instant toggle on tap.
...
I'm creating a simple mobile website to render specifically on iPhone. I have been researching the viewport setup in order to have the site fixed at 100% So far I have found that the dimensions are
Portrait: 320px
Landscape: 480px
To render the page at full zoom I have used the following meta tag in the html
<meta name="viewport" co...
Hi,
consider the following Objective-C++ iPhone Application (TestMemAppDelegate.mm). It crashes with an EXC_BAD_ACCESS on the iPhone (3GS with iOS 4.0). It works fine in the Simulator. It is clearly a memory alignment thing, because it works fine on the iPhone if the "DataA" struct starts on a 8 Byte border.
Can anyone explain the caus...
Hello,
How to Implement Undo and Redo Functionality on CALayer.
Please help.
Thank you.
...