Hi all, I have a Controller/View for a generic list of items, that can be extended for displaying a custom list.. Listing and navigation works fine.. but I can't change the title of UINavigationController.
In the generic Controller:
- (void)viewDidLoad
{
[super viewDidLoad];
[self.view addSubview: navigationController.view];
}
-...
It should:
Expand vertically whenever new lines are added with the return key.
Wrap long lines and expand vertically for wrapped lines as needed too.
Have a nice pretty border just like UITextField.
Support placeholder text just like UITextField.
Support friendly actions like UITextField.
...
Hi,
i am trying to use the kal calender from following url
http://github.com/briancollins/Kal.
I have succesfully implemented this calender in my code but now i want to get the date click event on the calender in my viewcontroller where i have added this calender. can someone please suggest me how can i do it?....
...
How can I create a "button" in Settings bundle? Something like "Import SIM Contacts" inside Mail settings? Or "Reset Calibration" in Nike + iPod application?
Need to have a "Reset Username and Password" button for Settings, if that is a special case... I mean how can I add logic to clear some of other settings, while my own app is not r...
BLImageCache *sharedImageCache = [BLImageCache sharedInstance];
NSDictionary *dictionary = [NSDictionary dictionaryWithObjectsAndKeys:indexPath ,@"IndexPath", nil] ;
NSString *urlString;
urlString = [[mNewsArray objectAtIndex:indexPath.row] objectForKey:@"imgUrl"];
urlString =[urlString stringByAddingPercentEscapesUsingEncoding:NSUTF8Str...
I am trying to inegerate Google Toolbox for mac for unit testing purposes on this page http://code.google.com/p/google-toolbox-for-mac/wiki/iPhoneUnitTesting is says add blahblah.m file to your target & add blahblah.m file to your project.
What is the difference, how should I add to target...
...
I have an application that uses a UITableView to present data that I have stored in an NSArray.
I would like to switch over to using Core Data to host this information to be presented to the table view, but I'm not that familiar with Core Data.
I've created a new Core Data database within my project, but I'm lost as to how to proceed ...
Hi all,
i want to check if my array is empty or null, and on base of which i want to create a condition for example.
if(array == EMPTY){
//do something
}
i hope i'm clear what i am asking, just need to check if my array is empty?
regards
...
I have a NSViewController instance loaded by another nib.
I think that initWithCoder:(NSCoder *)aDecoder, is called by the father nib.
I want to set a proxy object in this new object. How can I do that?
...
Hi,
I'm filling a TTTableViewController (via its "datasource" property) with items of class TTTableImageItem. The images are thumbnails downloaded from Youtube, and their original size is 120x90.
In my TTTableView, they are automatically reduced so that they fill in their cells. But when I scroll up or down the view, they get back to t...
Hi all,
I have a very simple application that use a 2 component UIPickerView that causes me a crash every time I click over it. I dragged it into my view by IB, then hooked up dataSource and delegate to File's Owner. In the .h file:
@interface SettingsViewController : UIViewController <UIPickerViewDataSource, UIPickerViewDelegate> {
W...
Hello,
I had to get the coordonate of a point where the user touch on a MKMapView.
I'm not work with the Interface Builder.
Can you give me one example or a link.
Thanks a lot
...
Hi all,
I want to know what is the difference between 'frame' and 'bound' property of UIView. I get the same results using both properties. I can not figure out the difference between the two..
Thanx in advance.
...
I am trying to install google toolkit for mac, everything is setup as advised here : http://code.google.com/p/google-toolbox-for-mac/wiki/iPhoneUnitTesting
but when I try to compile I get this error
Terminating app due to uncaught
exception
‘NSInternalInconsistencyException’,
reason: ‘Could not load NIB in bundle:
‘NSBundle ...
I have a UITable with a datasource that is set to a 'copy' of the original data. I use this copy to displayed filtered results (either 'All' or only those that are 'checked' with a UISwitch in each row). My logic for doing the filtering is here:
-(void)filterItems {
[tableData removeAllObjects];
if (checkedOrNotSwitch.selectedSegmentInd...
I am looking to implement a mechanism that combines bitmaps together in a variety of complex ways, using ternary raster operations like you can in Windows.
The idea is to be able to blt an image to a destination using any kind of combination of the source, brush, and destination pixels (source AND destination, source AND brush AND desti...
I have this little problem I couldn't find in Google:
UITableView works fine until I start scrolling.
Error Message: `-[NSCFString objectAtIndex:]: unrecognized selector sent to instance 0x5f24870 `
Method:
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
static NSString...
Im trying to set the availability of an event i import into the iphone calendar with my app. Im using this code:
[event1 setAvailability:EKEventAvailabilityFree];
When i sync my iphone to my iCal i check the availability of the event, and it says "Busy". Xcode do ask for an integer, but there is none for the free option. I get no erro...
Disclaimer: I know the question of locking orientation has been asked, and solved. But that's only half my question.
I'm building an iphone website for a small indie game developer. They want to be able to show off screenshots from some of their iphone games. This is somewhat of a problem though. All the screenshots are taken from the g...
Hi,
I am writing an application(for iPhone) that uses the UINavigationController to show different view via pushViewController. I am trying to push multiple UIViewController immediately upon application startup without user interaction. When an user open up the application, they will be looking on a screen with a navigation bar on the t...