Hello,
I have an NSView subclass that gets initialized with an OpenGL context and has a bunch of mouse event handling (onMouseDown, etc...). I have an app using it which has a main Cocoa window that contains the view and all the mouse events are working properly.
However, I'm trying to use it now in another app where i have a secondary...
I'm about to code some graphs and charts from scratch. Does anyone know of book that covers the reason for using some graphs and charts as well as the implementation of graph and charts. I'd prefer something combined computer science and the math of charts and graphs. Acceptable languages would be C, C++, but especially Objective-C
...
I was wondering how you actually remove objects from the Calender Store, I've looked at the documentation and it only mentions how to add objects but nothing about removing.
How would I remove an object from the calender store?
...
Hello,
I initialize my AVAudioPlayer instance like:
[self.audioPlayer initWithContentsOfURL:url error:&err];
url contains the path of an .m4a file
The following error is displayed in the console when this line is called :"Error Domain=NSOSStatusErrorDomain Code=1685348671 "Operation could not be completed. (OSStatus error 1685348671...
I have seen a free app named For All Seasons. It has very cool effects. Does someone know how we can achieve this using OpenGL or Core Graphics?
...
I am loading a content into UITableView dynamically. If there is data the table needs to display the data. If there is no data the table should display a plain page. But in my application the table displays the plain page with two separator lines. i need to remove this separator line and display a plain white page. Please Suggest?
Any h...
Hello, i have a problem for some time which i can't solve:
In the applicationDidFinishLaunching i have this code:
[self checkAndCreateDatabase];
[self readCharsFromDatabase];// which stores into an array some objects
[self readGlyphsFromDatabaseAtId:@"a"];// idem
The second array i'm using into a secondary ViewController and i'm gett...
when i rotate my imageview using this method my application behaves very strange..also when i save the image it saves in old transformation
-(IBAction)rotateClicked
{
CGFloat Angle=(0.5*M_PI);
EditImageView.transform = CGAffineTransformMakeRotation(Angle);
}
here is an image before rotation
and after rotation
but after rotai...
I have to develop an iPhone application that is able to transfer real time data from a server to an iPhone.
Some real time data examples are:
cricket scores,
stocks,
etc.
We have been told to develop our project in Linux using Objective C. As I'm completely new to this field, could anyone give me any ideas about how to start the pro...
Hello all I was wondering if there was a way to create some sort of frame for the UIViewcontroller
for instance like so ( i know it doesn't work) :
UIViewController *example = [[UIViewController alloc]
initWithFrame:CGRectMake(0, 0, 320 , 55)];
a bit like the UIWebview
UIWebView *aWebView = [[UIWebView alloc]
initWithFrame:CG...
I have been tasked with investigating the feasibility of writing an iPhone App to access our internal VoIP/SIP systems.
I've never coded anything close to VoIP before. Are there any open source VoIP/SIP libraries/examples in C or Objective-C?
An O/S iPhone App that I can skin and add our required features to (mainly UI related) would b...
I'm still kind of new to Objective-C and I'm wondering what is the difference between the following two statements?
[object performSelector:@selector(doSomething)];
[object doSomething];
...
i want to get only those pixels which are inside an irregular shape..using core graphics not openGL.here is an image where i have drawn an irregular shape.
and here is the drawing code
- (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event {
if(drawLineClicked)
{
UITouch *touch = [touches anyObject];
...
(gdb) bt
#0 0x302ac924 in ___TERMINATING_DUE_TO_UNCAUGHT_EXCEPTION___ ()
#1 0x92077e3b in objc_exception_throw ()
#2 0x302d6ffb in -[NSObject doesNotRecognizeSelector:] ()
#3 0x3026e056 in ___forwarding___ ()
#4 0x3024a0a2 in __forwarding_prep_0___ ()
#5 0x00004ae9 in -[GameObject doesTouch:] (self=0xe893a0, _cmd=0x643ee, obj=0xe82...
i am developing an iphone application. I want to disable a UIslider and want to set the thumbnail image for the disabled slider as the image set get distorted?
...
In my app I want the user to choose (picker) what sound to play from the default audio files that come standard with the iPhone (Marimba, Alarm, etc...). And then play it when needed.
Thanks in advance!
...
Hey, i am using this code to animate something
CATransition *animation = [CATransition animation];
[animation setDuration:0.45f];
[animation setType:kCATransitionPush];
[animation setSubtype:kCATransitionFromRight];
[animation setTimingFunction:[CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionDefault]];
[[theWindow la...
I have a question about camera access. And it's simply, how can I create an application that would initiate a camera and update de image view with the image picked by the camera?
I am really a noob on camera handling, done about a tutorial or two, but couldn't manage to create this simple app, for study reasons. Can anyone give a light...
I use the loop below to populate my MapView. However it always shows only one pin at a time, no matter how many iterations i do.
Individually declaring items doesn't seem to have an impact either.
I'm using the initial 3.0 SDK with xCode 3.1.3 on osx 10.5.8, The 3.1 SDK changelog didn't make any mention of any fixes to the MKMapKit f...
Hello guys I'm looking for a way on the iPhone to parse an XML document using DOM. I have been using SAX with NSXMLParser but now I really want a DOM tree (or anything that can quickly translate the XML document into an NSDictionary)
Thanks for any help
...