Hello everyone. I have run into this issue and have put some major time into finding the answer. I am somewhat new to objective c but not to programming.
Here is my question.
I have a plist file with this structure
root {
A (
{songTitle : contents of song},
{songTitle : contents of song}
),
B (
{songTitle ...
I was recently hired to work on mobile Ajax applications. This is the first time I do this, as I always worked on usual Ajax sites on common web browsers. I'd need a framework and possibly a toolkit that works both on IPhone and Android... capable of abstracting the mobile browser the same way jQuery does with desktop browsers.
I've se...
I have a TabBar App. I have created a UITableView class called "Schedule" that has a matching Nib. I want to add Schedule to the TabBar, but I do not want to do it through Interface Builder. When I add it Programmatically, I see the TableView, but it is blank. I have added some NSLogs to Schedule.m and the class does not appear to be cal...
Hi Friends,
Can you anybody please about inhouse distribution of iphone development
Regards,
sathish
...
Hi
I am chewing through a specification for an iPhone Web App (NOT native). The request implies a lot of general charting functionality, mostly line chart and bar charts. On the implementation side of things, it means a lot of re-formatting of existing web content using an iPhone Web App framework (most likely JQTouch).
Given the capa...
I have setup some CCSprites and enabled additive blending on them.
[sprite setBlendFunc: (ccBlendFunc) { GL_ONE, GL_ONE }];
Now they look really nice dropping into the scene if I set my CCColorLayer to black
[super initWithColor:(ccColor4B){0,0,0,255}]
However I don't want a black background, if I set this to say a light grey then ...
Hello,
I have been stuck on this for a few days now and it is killing me... In my viewDidLoad event, I am trying to programmatically add a full screen UINavigationController to a subview of my view controller. So far, I have only succeeded in doing two things...
1) Only a grey screen shows up
OR
2) I get something that resembles a nav...
I successfully integrated iAd into my iPhone app. However, I can't find a way to refresh the ad manually. I couldn't find a way to specify keywords for the ad either. How does iAd work after all? Does it just show some ads randomly?
...
I am working through some crash logs and keep seeing messages like this one:
Fri Jun 25 09:09:01 unknown sandboxd[427] : MyApp(422) deny file-write-data /private/var/mobile/Media/PhotoData
Am I doing something wrong that is causing this? This one has to do with taking photos from within the app, but I have seen others in parts of my ap...
My application has a navigation controller and I don't want any animation in it :
to prevent an animation when pushing a view, it's easy, via the pushViewController:animated: method
but when I click the "back" button on this subview, there's an animation ! KO ! What can I do to prevent this animation ?
...
Hello,
I have just started working with Core Animation and I have an animation which moves an image from top to bottom.
theAnimation=[CABasicAnimation animationWithKeyPath:@"position"];
theAnimation.duration=5;
theAnimation.repeatCount=1;
theAnimation.autoreverses=NO;
theAnimation.removedOnCompletion=YES;
theAnimation.fromValue=[NSValu...
Hey guys,
I'm experiencing an odd problem with AVAudioPlayer class.
Everytime I try to access one of it's properties they are null.
// Get the file path to the song to play.
NSString *filePath = [[[NSBundle mainBundle] pathForResource:pSound.fileName
ofType:pSound.fileType] retain];
// Convert the file path to a URL....
Because the Simulator 3.2 and 4.0 in the SDK 4 do NOT actually work for iPhone simulation (which always comes out iPad and not responding at all), I ended up with 2 SDK installations, using SDK 3.1.3/Simulator 3.1 for simulation, and SDK 4 for building onto the iPhone with OS 4. (More details here.)
I tried to use the old Simulator 3.1 ...
I am using a NavController, but i enabled the toolbar at the bottom. I also added UIBarButtonItem and on the IB, it shows. It basiclly looks like
Navigation Controller
Navigation Bar
Toolbar
Root View Controller
Bar Button Item
Navigation Item
So the Bar Button was added under Root View Controller, and i can see it in ...
I'm trying to retrieve data from a POST method, code as follows:
-(void)postXMLFeed:(NSString *)XMLStrPost
{
//NSLog (@"XML Feed3: ", XMLStrPost);
NSURL *url = [NSURL URLWithString:@"http://xxx.xxx.x.xxx/stephen/sync_upload.php"];
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:url];
[request setVa...
I'd like to convert NSImage/UIImage to AVFrame(ffmpeg).
I found a example code.
http://lists.mplayerhq.hu/pipermail/libav-user/2010-April/004550.html
but this code doesn't work.
I tried another approach.
AVFrame *frame = avcodec_alloc_frame();
int numBytes = avpicture_get_size(PIX_FMT_YUV420P, outputWidth, outputHeight);
uint8_...
I'd like to build a game to learn cocos2d. Lunar lander is the first exercise coming in my mind. Any pointer/source code/tutorial of the physics calculations required will be appreciated. Thanks!
...
If one were to create a standard grouped table view consisting of two rows and then touch down on the first row, the cell would highlight. If one were to then drag one's finger down, the selection of the row cancels, and the table view begins to move with the drag.
Imagine the same situation, but with table view scrolling disabled via t...
I have one subclass of NSManagedObject like following
and stored some instances by NSManagedObjectContext.
@interface SomeModelObject : NSManagedObject
@property (nonatomic, retain) NSString * text;
@end
Now, I want to fetch the list sorted by its primary key (created automatically).
I've tried NSFetchRequest and got runtime er...
why do I see in some sample code from Apple (PhotoScroller) that do the following in loadView:
CGRect frame = [[UIScreen mainScreen] bounds];
instead of
CGRect frame = [[UIScreen mainScreen] applicationFrame];
Does it make a difference between the two to get the mainscreen frame?
...