Setting the image of a UIImageView in Interface Builder
When ever I set an image for a UIImageView in IB and simulate the interface the buttons and stuff show up but the image view doesn't. ...
When ever I set an image for a UIImageView in IB and simulate the interface the buttons and stuff show up but the image view doesn't. ...
Hi all, Sorry if my question if a dumb one, but I couldn't find a way to solve it. The thing is a have a custom text view that sometimes need to wrap text according to its own rules. Everything works just fine with static content, but if I insert a @"\n" as the user starts to write another word (I know the word he's going to type and I ...
Hi guys, I'd like to have a method be executed after the current method has passed and the UI has been updated. For that purpose, I'm using [object performSelector:@selector(someSelector) withObject:someObject afterDelay:0.0] right now. According to Apple's documentation, this creates a NSTimer which will then trigger and append the sel...
Hi All, I'm interested in finding out the coordinates of "any" given address and not just the current location using only CoreLocation.Framework. I do not wish to use google maps API or yahoo maps or any other third Party maps API. Is it possible? How can I get the coordinates of any address? Thanks ...
I would like to create a portable library for iPhone, that also could be used for other platforms. My question is the fallowing: Does anyone knows what is the best to be used on the iPhone: Objective-C or Objective-C++? Does it works with C++ the same way as Objective-C with C or not? Reasons: Objective-C is a superset of C, but Objec...
Does anyone know why this may happen: I draw to a 2D screen using glDrawArrays with GL_POINTS (interleaved array). If I flip the buffers (presentRenderbuffer) after ever call to glDrawArrays -- so after each "tile" is drawn -- everything works fine. This is, of course, inefficient.. so if I move the presentRenderBuffer outside of the ...
Hi I want to perform a shrink animation on a UITableVIew. I experimented a bit and found out that the animation runs much faster when I shrink a UIImageView with an image of the current state of the tableview instead of shrinking the table view itself. I grabbed the image in a method in my main viewcontroller prior to the animation: UI...
iPhone OS 3.1.2, older program uses UITableViewCell.text, which is now deprecated. Does anyone know what the new Setter is supposed to be? Thanks! ...
Hi, Can I download a PDF file and shows it without use UIWebView? I need to show PDF and get full control of its show... Also, Can I download and strore PDF into filesystem app? Thx ...
Hey guys, You probably all know the famous virtual zippo app. I thought of making such an app too, just for learning objective-c. THe developer said he has used a video of flame. How is it possible to play a video inside a UIView? DO you have any ideas of how to achieving that? Thanks in advance! ...
In my app I need to display the appropriate currency symbol for the user's current locale. I'm not displaying currency values, just the symbol. Any ideas? ...
So I have this irregular shaped polygon. I draw it by filling the inside with triangles. The outside I added a border by used GLLineLoop. Now I want to draw second line (of a different color) inside. any ideas on how to do that? Line1: ================ Line2: ---------------- Not Line1(width 3): ================ Line2(width 1): ...
I need to figure out how to get two OpenSSL functions for iPhone. I'm trying to keep it so I don't need another dylib, because I don't want Apple to reject my application for something so silly. Anyways, I have an app that access an API, not one of my APIs, so I can't really change it, and also, I don't want anyone to know my public key...
So I'm having trouble implementing a search bar in my app. The methods find the filtered items but for some reason they won't show up in my tableview. I think it has something to do with adding the objects to the filteredListContentArray. What object should I be adding for this to work. Here's my code: { [self.filteredListContent rem...
I'm going through the tutorial for setting up logic tests - http://developer.apple.com/iphone/library/documentation/Xcode/Conceptual/iphone%5Fdevelopment/135-Unit%5FTesting%5FApplications/unit%5Ftesting%5Fapplications.html When I attempt to build and run, I get this error : "exited abnormally with code 133 (it may have crashed)." My un...
I am having an issue with Core Data... here is my situation: I have a Restaurant and that restaurant has a category which is a to-many relationship and the category also has a to-many relationship back to the restaurants for example: McDonald's has a category of: (category) Fast Food, (category) Local Category (Fast Food) Type: (NSStr...
Hi I just have a quick "best practice" question regarding custom cells in a UITableView. My problem arises when I have build a custom cell in the if(cell == nil) block in the - (UITableViewCell *)tableView:(UITableView *)theTableView cellForRowAtIndexPath:(NSIndexPath *)indexPath (1) If I build labels and set the text property of the...
This loads the image on the simulator but not on the device: UIImageView *splashImage = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"SplashPH.png"]]; [self.view addSubview:splashImage]; Any help appreciated // :) ...
I'm trying to add a progress meter, or other "I'm busy right now" notification to my view hierarchy right before doing some intense computation that will block the UI. My code looks some thing like: //create view [currentTopView addSubView:imBusyView]; //some initialization for the intense computation [computation startComputing]; U...
Working in a ViewController that has a few views which were added to it as subviews and I have a touchesBegan method: UIImageView *testImage = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"test.png"]]; testImage.frame = CGRectMake(0, 0, 480, 280); [self.view addSubview:testImage]; - (void)touchesBegan:(NSSet *)to...