I have created an application.in the app i start a countdown timer and save current date as double value in database also i save end date according to countdown timer .after closing and return to app i get time form database find the difference between current date and start date and set the countdown according to that.but a problem occu...
HI guys ,
How do i display the full addressbook in a tableview...using UITableview and Abaddressbook class.......?
...
Hi ,
I am getting this error
bool _WebTryThreadLock(bool), 0x1b53d0: Tried to obtain the web lock from a thread other than the main thread or the web thread. This may be a result of calling to UIKit from a secondary thread. Crashing now...
what is this due to ?
Thanks
...
I am using mapkit in my application.i want to show blue blob in mapview.i have set [mapview setShowUserLocation:YES]; but it doesn't showing blue blob.also it's cordinates are -180.0000,-180.0000? how is this happen? is there a bug in mapkit. i am not using location manager to show blue dot.i know that setting showuserlocation to yes wil...
im trying to use UISwitch using category.
In my catogory class:
@implementation UISwitch(Analytics)
-(void) addTarget:(id)target action:(SEL)action forControlEvents:(UIControlEvents)controlEvents{
[super addTarget:target action:action forControlEvents:controlEvents];
}
here i have a problem in capturing the event.
...
Is it possible a structure as a class member in objective C? If yes how can I assign values to that structure from another class?
...
I'm looking for an objective-c library or just the functions that can handle calculating the Wilson Score Interval explained here:
http://www.evanmiller.org/how-not-to-sort-by-average-rating.html
For reference, here's a Ruby implementation from the same source:
require 'statistics2'
def ci_lower_bound(pos, n, power)
if n == 0
...
Hi all,
I've an IBAction that calls up a panel. I want to invoke that action with a keyboard shortcut but I'm at a loss on how to do it.
I guess one way of doing it would be to create a menu item, associate the action to the item and then assign the shortcut to that item, but I haven't done my menus yet.
Any ideas or suggestions?
...
Hi Guys,
How do i insert addressbook contacts in a tableview....?
i got stuck up with this please help me find out guys.....
...
I'm a long-time Python programmer and short-time Cocoa programmer. I'm just getting started with PyObjC and it's really amazing how easy it it is to get stuff done. That said, I wanted to try using pure ObjC for my controller with PyObjC models. I might be enjoy letting Python be Python and Objective-C be Objective-C. I figured it was wo...
Hi,
I'm in a struggle. I have this app with two views. View1 empty. View2 with a textfield and an OK button. I want to accomplish the following:
On View2 the user inserts the name for a button; its title. (the way user reaches view2 is not relevant. It could be with a button or a tabbar button on View1.)
After pressing OK button, View...
I'm developing a Cocoa user interface for a Photoshop CS3 plugin using Bindings. (Carbon in Cocoa, since PS is a Carbon app) I'm getting a EXC_BAD_ACCESS error when I close my modal NSWindow and the NSAutoreleasePool releases.
I believe it has something to do with bindings and the control views I have in my nib file, because when I re...
Hey so if I have some property like
@interface MyClass {
NSArray* myArray;
}
@end
@property (retain, nonatomic) NSArray* myArray;
In my init method should I do something like
myArray = [[NSArray array] retain];
Or
self.myArray = [NSArray array];
I would think the former would be preferred as it is more clear what is going on...
Hello! I'm attempting to create a client/server web-app. The client software is written in Objective-C (Mac), and the server software is written in Python (Linux). I'd like to encapsulate object data on either side, and send it across the internet to the other side. This will include standard types such as strings, doubles, and data-...
I have always sort of wondered when to use a UIView vs. a UIViewController on the iPhone.
I understand that you shouldn't use a UIViewController unless it's a full-screen view, but what other guidelines are there?
For example, I want to build a modal overlay - a screen that will slide into place over the current screen. If this modal o...
For some reason, [self.tableView reloadData]; just wont work.
In my .h file I have:
@interface SearchOptions : UIViewController <UINavigationBarDelegate, UITableViewDelegate, UITableViewDataSource>
{
IBOutlet UITableView *myTableView;
.....
}
I've tried:
[self.tableView reloadData];
and
[self.myTableView reloadData];
Any...
This question is about variable naming style in objective c and cocoa. I just want to stress that I'm not looking for a "right" answer, just good ideas.
I've read through Apple and Google's objective c style guides and I'm not really happy with either of them. Apple's guide doesn't have any real style recommendations regarding instanc...
What am I trying to do?
A UI process that reads data from a Core Data store on disk. It wouldn't need to edit the data, just read and display the data.
A command line process that writes to the same data store as accessed by the UI.
Why?
So that the command line process can be running all the time but the user can quit the UI proce...
I asked a similar question, but I couldn't get it working exactly. I'm building an iPhone app, and there is a method that I want called from different files. I figured the easiest way would simply be to make a method in another file, and call the method from the other files.
Here are some problems. I need to return multiple values from ...
Is there a simple way to get array of all index paths for the cells in a UITableView?
...