Today I tried to compile a project with CorePlot.
All the time I get the following errors:
".objc_class_name_NSNotificationCenter", referenced from:
literal-pointer@__OBJC@__cls_refs@NSNotificationCenter in libCorePlot.a(CPGraph.o)
literal-pointer@__OBJC@__cls_refs@NSNotificationCenter in libCorePlot.a(CPXYPlotSpace.o)
".objc_clas...
Heya
I'm having a problem with navigation logic in my iPhone app and was wondering if you could help?
When the app first starts it loads a UITabBarController with 2 options : Load, and Create. Whichever of the two options is chosen loads a view into that tab with the appropriate information. From here however, when the users either sel...
NSString *myRequestString = [NSString stringWithFormat:@"&nbr=%@&import=%@",tmpString,noSpaces];
NSData *myRequestData = [ NSData dataWithBytes: [ myRequestString UTF8String ] length: [ myRequestString length ] ];
NSMutableURLRequest *request = [ [ NSMutableURLRequest alloc ] initWithURL: [ NSURL URLWithString: @"http://mysite.com/c...
I have a maybe simple problem. I am going to generate 3 random numbers ranging from 0 to 2 and I want to determine if there are any duplicates.
Any ideas?
...
Hi I have an NSArray containing many 'multimedia action' as I like to call them, objects that encapsulate some multimedia content like movies and photos. I'd like to 'play' them in sequence waiting each one finished before calling the other.
What is the best way to manage the duration of each operation before calling the next one? (for ...
I am developing an iOS application and am having some issues deciding how to approach a problem.
I am using two UITableViewControllers to display different views of the same data. One is a master list, and the other only contains items which are marked as "favourite". Also the items are variable height, so I am using "heightForRowAtInde...
I have 3 entities. Folder, Feed & FeedItem
I need to fetch Folders which have feeds and feeds which have unread FeedItems
NSPredicate * predicate = [NSPredicate predicateWithFormat:@" feeds.@count > 0 AND feeds.feedItems.unread == 0 "];
I get this error
'NSInvalidArgumentException', reason: 'to-many key not allowed here'
How do I c...
Hi all,
Got a weird problem with my NSMutableArray and UITableView.
It's got 4 items in the array, the table shows 4 rows but each rows only contains the first array item, rather than row 1 showing array item 1, row 2 showing item 2, etc...
Here's my code:
My Mutable Array
//in .h
NSMutableArray *tableRows;
//in .m
tableRows = [...
I'm following this iPhone tutorial from Apple and I think I did everything correctly, however the app is not behaving as it should. I checked the troubleshooting section and I still think I got things right.
So I guess I need help to tell where the problem is... here is a snapshot of the relevant connections in Interface Builder.
Basi...
What is UIAlertView background color?
I tried checking backgroundColor property but it is nil. Not sure how to determine this color otherwise.
...
I have a UIView subclass. This subclass has multiple subviews. Is it possible to draw a line using core graphics inside a subview that is part of the uiview subclass?
For example, I have a SampleView class, which is a subclass of UIView. Inside this class's header file is the property for UIView *sampleSubView, which is a subview of Sam...
Hello,
I have a custom UIButton with a png inside it. I have quite a few of them in my app and everywhere they seem to be working fine.
In one location they are inside a UIView that is a headerView for a UITableview.
Whenever I press on them, only on iPhone 2G the image box goes black while the rest of the UIButton (it's got a title....
I'm working on an iPhone app that has a UITabBar. Occasionally the tab bar ignores my "clicks" (or "taps", or whatever they're called in the iPhone world). It happens on both the simulator and the on the device. Clicking on a tab bar button won't result in any action, and I have to click it several times for the expected action to occur....
Using Core Data. Let's say we have models for Team and Player.
Assume:
-Each player is a member of a single team
-Relevant relationships have been made in a xcdatamodel file.
I have a TeamListViewController (listing all teams), when I select a team I want to see a list of just those players related to that selected team on the PlayerLi...
I created a Tab Bar Application in XCode. Then I clicked on MainWindow.xib. In the document window there is a Tab Bar Controller. When you double-click on the window icon, the window is shown. Shouldn't something similar occur if you double-click on the Tab Bar Controller icon?
...
how can i get the image size when it's zoomed by user,
i write these on my project :
- (UIView *)viewForZoomingInScrollView:(UIScrollView *)scrollView
{
return imageView;
}
-(void) didLoad{
UIImageView *tempImageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"image.jpg"]];
self.imageView = tempImageView;
[tempI...
Horizontal gradient is working fine . Is there any property to get vertical color gradient from horizontal gradient.
I have seen the related question regarding this where they have explained using rotating the frames...
so, is there any simpler way to achieve vertical gradient..
...
i am developing a quick app using EKEventKit framework.
I am able to display the modal and i am fillinf details in that but when i click the done button after filling all the entries,application crashes and console writes
NewFeatures[16949:207] Calendar: unable to save event: Error Domain=EKErrorDomain Code=5 "An unexpected error occur...
In our iPhone app we have a controller 'AddViewController' which shows a data entry screen to add a new entry. It includes Save and Cancel buttons.
Currently if a user enters nothing at all in any of the text fields and presses Save the app crashes.
(Yes I know it's silly for someone to do this, but hey just covering off on everything)
...
I'm extracting strings from a text that represent dates. They look like this:
Monday August 16, 2010 05:28 AM EST
I'm trying to parse them with a NSDateFormatter. I've set its format to:
[dateFormatter setDateFormat:@"EEEE MMMM d, YYYY h:mm a z"];
However, this doesn't work. For the example I gave above, if I convert the string to a ...