It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
i have a tableview which is not that complex with 5-6 subviews, but the imageview renders high res images in it, which show in a 200X174 sized imageview. The images are being downloaded asychronously and being cache to disk. But, as the user scrolls through the tableview, thereis a stutter in scroll when the scroll is about to settle down. I wish to make my own custom cell, that does the drawing using calayers by overriding the drawrectmethod. Is it possible to render those images in an async backgroud queue so that user has a smooth scrolling experience?
The first thing to do is use Instruments to figure out what the problem really is. So far it sounds like you're just guessing. It isn't even clear from your question whether the problem is the downloading or the drawing. Watch the WWDC 2012 video on this topic as well; they talk a lot about the problem of getting a smooth table scrolling experience. There could be lots of other things about your cell that's causing the problem. You might be able to solve it just by rasterizing, for example. Your question gives no detail on how you're drawing and where the delay really is, so there's little point guessing.
Related
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I would like to have a button that changes it's image on click, and then stay clicked. I can use the Xcode interface builder to select different picture for 'default' and 'selected', but I want the picture I use for 'selected' to remain until the user presses the button again, and I want this all done within the button's code.
Second part to the question... what if I want this setup to last indefinitely, so that after a user restarts his phone, the button would still be selected and showing the alternate image? Could I use NSUserDefaults to save the state of the button and pass that to the image selector?
Thanks!
This is a problem of selected/default state of a button. You should think by yourself to an algorithm that will select/ "deselect" the button, after you find that algorithm and it's not working well edit the question and post the code and SO user will help you find the problem.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
What typically does Path iOS app use to make their views look so cool? Is this a specail view in iOS?
Is it a UITableView or something else?
Is there any special view you wanted to know about? Yes, you might wonder what's that effect on down-left (+) button. Okay, For of the effects like PATH APP for iPhone you can always check THIS and THIS
My generalized guess would be:
Most probably it's a UIScrollView (on which the main image remains on the top almost all the time) used with lots of other UI controls like UILabel, UIImageView, custom UIButton and many more of them. Important thing is they have wrote the perfect logic to set display frame for all of them. That's why It looks So organized and fluid. (Fluidity always depends on the device, of course, this app on iPhone 3GS lags, too much.)
For left and right side swipe menu, My guess would be, they are UIView containing UITableView with lots of customizations, again. Both this views are on the same ViewController on which Main View is there.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
After Googled a whole day I was unable to get any model for my need. Actually my need is
1.Provide a Selection area box on UIImagePicker like the image below:
2.User can resize the selection area so that both width and height can be modified.
3.Once the area selected, if user presses the capture button, the selected portion alone should be captured.
Is it possible to implement all above features?Please suggest some good tutorials.
And also the requirement for UIImageView.If I take the image from photo library, I am displaying the selected image.Here I want to provide the User can select the portion of the image and crop it before it is used.
Please suggest some solution.
Thank you.
I am not going to give you the full answer for this, just some starting points:
Use the library I pointed you, on the comments.
Implement the delegate, because it returns what you want:
Then implement the following delegate methods.
(void)userResizableViewDidBeginEditing:(SPUserResizableView *)userResizableView;
(void)userResizableViewDidEndEditing:(SPUserResizableView *)userResizableView
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
Is it possible to make a quiz app without writing any code in Xcode at all, just using the story board feature?
Storyboard:
A storyboard is a visual representation of the user interface of an
iOS application, showing screens of content and the connections
between those screens. A storyboard is composed of a sequence of
scenes, each of which represents a view controller and its views;
scenes are connected by segue objects, which represent a transition
between two view controllers.
Without logic you will not be able to create anything useful or engaging. How would you tally a score? Track results/improvements? Randomize the questions to prevent the user from just memorizing the answers? The only kind of quiz/game I can think of you could possibly make using only storyboard would be to create a view with some text saying "You Passed" and then creating other static views with questions and buttons. When the user selects the correct button for the answer then segue to the next question otherwise segue to a "You Failed" view. This would require the user to have to get all the questions correct to pass.
Update:
Added an example on GitHub of a simple quiz made only in storyboard. You will notice that the navigation is terrible as a result of no added code.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
hiii every one i am new to iphone development in a sample downloaded app i have seen a page like this
can anybody tell me how to design this kind of page using objective c
You should really go through some apple sample codes which deal with UI creation.
1. You can use UITextfield with round rect corners .
2. You can use UIButtons. of type custom with images that you need.
3. UIImageViews, and set Images to them.
We won't really know what you're asking for unless you've told what you've tried.
It's UITextFields, UIButtons, UILabels, UIImages, etc. in different UIViews. Is that what you needed?
It seems more like HTML/CSS to me. Designing such a page using Obj-C may be pretty hard. You can design a page like this in HTML/CSS and integrate it in your app inside a UIWebView. This may not be what you want though.