I have done the authorisation step of LinkedIn-iphone API, and the app comes to the screenshot:
But the 'close' button does not respond, and no where to use the authorised PIN.
Because it is not finally authorised, the methods like
- (void)linkedInEngine:(RDLinkedInEngine *)engine requestSucceeded:(RDLinkedInConnectionID *)ident...
Hello,
I have been using the most excellent Accessorizer to auto-magically generate setters/getters for my Obj-C code in Xcode. Recently a change was made in Accessorizer:
old version of Accessorizer:
@property (nonatomic, retain) NSMutableSet *setA;
@property (nonatomic, retain) NSMutableSet *setB;
new version of Accessorizer:
@pro...
I'm currently using AudioServicesPlaySystemSound(_soundID) to play sound clips. My understanding is that this can only be used to play clips under 30 seconds.
What is the standard way of playing longer sound clips?
...
Ok here is an example of what I'm dealing with at the moment:
@implementation ECHOAppDelegate
...
@end
@interface PtyView (PtyPrivate)
-(void)startTask;
-(void) didRead: (NSNotification *)fileNoty;
@end
@implementation PtyView
...
-(void)startTask {
//starts task
}
@end
Now, if I wanted to "trigger" startTask from the EC...
Hi,
I tried to understand the three20 ttnavigator example code, and in the MenuController.h file, it is as follows:
typedef enum {
MenuPageNone,
MenuPageBreakfast,
MenuPageLunch,
MenuPageDinner,
MenuPageDessert,
MenuPageAbout,
} MenuPage;
@interface MenuController : TTTableViewController {
MenuPage _page;
}
@property(non...
Have a nib file with a UISearchBar on top and a UITableView.
wann add an button and some text on top of the UISearchBar's input. so i made (in viewWillAppear):
[searchBar setFrame:CGRectMake(0, 0, 320, 90)];
works fine so far (except the position of the input needs to be vertically aligned to the bottom and not to center, any hints o...
I need an object/class that keeps data synchronous over multiple processes. Like a singleton instance that works across processes. Is there already a built-in class that can handle this or what's the best way to implement such a thing (NSConnection, NSDistributedNotificationCenter, etc... ?)
Regards, Erik
Update:
Currently I have im...
Hi,
I am a newbie and I am developing an iPad application. I am developing an application that gives a list of cars in the Root View and when the user selects a car make, the thumbnail images of the models are displayed in the detailed view controller. I was able to have a table but I am stuck as to how to display the thumbnails. I am a...
What does AudioServicesCreateSystemSoundID do?
All I was able to find was this from Apple's site:
// Create a system sound object representing the sound file
AudioServicesCreateSystemSoundID (
soundFileURLRef,
&soundFileObject
);
And It isn't very helpful. I always see it created but then never used.
...
In Objective-C 2.0, I usually make an assign property for ivars that are primitive types like float. Then it occurred to me that I can access them from outside the class with obj->variable notation. I imagine that this is bad practice: is it?
...
Im talking about the menu that shows up when you select a block of text it gives you the option to cut/paste/copy. I figured out how to add one more option to the menu, but if I add two or more options it will say "more" first. clicking it will show all the options I added. But is there a way to show all the options I added upfront? with...
Hi
I'm having a little problem. I subclass'd UIAlertView and I named it UIDisclaimerAlertView.
So far so good, the subclass is working fine. But now I wanted to use this very class as its own delegate. So in my subclass I used : self.delegate = self; I did this because I wanted it all in the same class file.
Now the problem I'm facing...
I'm debugging an old OPENSTEP (YellowBox) app, written in Objective-C, running on Windows 2000, built with Project Builder. The only easy way I can find to write a string to disk in Obj-C is [NSString writeToFile], a Cocoa/iOS-era method which doesn't seem to have been written yet in the version of OPENSTEP that I'm compiling against (us...
Dear iPhone Developers,
I am writing a Navigation based iPhone application. I want to execute a piece of code but before the execution I want the viewController to pop up. The method that I want to implement looks as follows;
- (IBAction)executeTheCode {
// set a BOOLEAN so that the user can not repeat the same action
/...
I am planning to write an application (C/C++/Objective-C) that will
play media files in own (private) container format. The files will
contain: multiple video streams, encoded by a video codec (like
XVid or H264, it is supposed, that components capable of decoding
the viideo formats are present in the system); multiple audio
streams in s...
Hi, I'm not seeing the text for my UITableView show up.. in fact the TableView doesn't appear to be on the screen at all because I cannot select the empty rows.
Strangely, my log in cellForRowAtIndexPath shows up ok with the expected data - I just don't see any on the screen.
-(void)bindFriendsToTable:(NSArray *)friends{
NSLog(@"frien...
I am fairly new to iPhone coding and wanted to know if someone can help me.
Have got the code ready so that when the app loads a UIAletView loads and prompts the user to review/rate the application but i have a button called "Never Rate"
I needed help to find out how to code the "never rate" button so what when it is pressed the UI Ale...
Hello!
Forgive me if this is a simple question, but is a UISwitch a boolean variable? If it is not, how can I make it BOOL?
Please allow me to explain why I'm having trouble.
I declared my variable in my FlipsideViewController.
UISwitch* mySwitch; //switch used to turn label2 on/off
also creating an accessor
@property (nonato...
I currently have a 'Topic' entity defined in my system as:
@interface Topic : NSManagedObject
{
}
@property (nonatomic, retain) NSString * path;
@property (nonatomic, retain) NSString * name;
@property (nonatomic, retain) NSNumber * topicID;
@property (nonatomic, retain) NSNumber * parent;
@end
I want to fetch a topic with a specif...
If I have an object created as autoreleased, is there a way that I can mark it is essentially "not autoreleased"?
I feel that I have heard calling [object retain] will do what I am looking for but I am not sure.
...