I want to do a chat app like the iphone message app. I use a UITableView to show the messages and under it i want to put some input text controller and a send button. the problem is that if i use a UITextField for the input controller it does not wrap the words and it does not look like the iphone message app controller.
how can i get the look&fill of the original controller?
Here you have an open source of project that you're trying to develop. I think this will help: cocoacontrols.com. Also on cocoacontrols.com you can find bunch of useful projects so try to look there before reinventing the wheel.
Best of luck
take a look at Chat Input Sample code. It has all the functionality what you needed.
Related
Good day! I'm using Parse for my swift project, Specifically the PFQueryTableViewController but i want to change the loading view when i open the app. It doesn't look good in my background so i want to change its color and shadow. Also its UIActivityIndicatorView. Is it possible to change this things? Here is the Screenshot for it.
I tried searching for that method in ParseUI framework but i can't find it. I hope you can help me, Thanks!
Only the table controller is unique to Parse. The spinner is just a regular UI element. Thus, the iOS developer references are good places to look for this.
Try this link for the activity spinner:
This link shows information about the controller, which shows that it simply inherits from UITableViewController, and the cells/background can be styled accordingly.
In general, Parse tries to prefix its objects with PF.
Im planning on adding a instructions view to my app. Whats the best way to do it? Load a PDF into a webview or..?
Please suggest anything I might find helpful.
I also want it to look good for the user, not to plain.
You might want to consider using a UIWebView to load content that resides on your web server. The downside is that the user needs network connectivity to see the instructions and you need to know your way around at least some web development. However, you'll be able to use HTML+CSS+Javascript to create interesting content and you'll be able to change/update/correct that content without going through the hassle of releasing the app again.
I've seen a few apps put screenshots into a scrollview with a paging control. I really like that design, and there are plenty of tutorials online that explain how to do this.
You can implement instruction view different ways:
1) Just put textview and make scroll. (very simple)
2) Design the HTML instruction, and load it to the webview. (medium in look vise)
3) Create attractive design for instruction pages and implement scroll view with pages. (very attractive)
Please review above point and let me know in case of query.
Thanks.
I would use a info button (the lowercase "i" button, can be accessed by inserting "Round Rect Button" and changing type to one of the "Info" buttons or in code you could init a button with type: "UIButtonTypeInfoDark" or "UIButtonTypeInfoLight") on your main or first view controller. Inside that view you could put an UITextView with editing OFF and that would contain all your instructions that the user could scroll through and get to quickly, easily, and intuitively
I came across this: http://idevrecipes.com/2010/12/16/raised-center-tab-bar-button/, but I don't really know how to implement it into my app.
I have the UITabBarController as my app delegate, but I don't know how I can add a raised button item like in the link.
In my .xib file, I have the tabBarController set up with three tabBarItems. I would like to have the middle one raised, but I am not sure how to do that.
You won't be able to do it in a NIB using interface builder - the post you linked to has all the implementation and code details you'll need, so if you're not comfortable implementing UI code programatically you'll probably need to become comfortable with it in the near future.
Alternatively, you could look at using an existing library such as this: http://cocoacontrols.com/platforms/ios/controls/center-button-in-tab-bar - but if you're having trouble with the blog post you linked to I'm not sure a library will be much help for you!
Is there some sample code, or an easy way, to implement an application with as its first view something like Springboard?
What I am looking for is just a view with basic icons which after a tab on an icon tells the view-controller to push the view associated with the selected icon.
This in itself is not that difficult off-course (just putting images on a view), but is there an easy way to implement all the extra functionality as well (as e.g. moving the icons around (start 'vibrating' when when you push hold them), multiple pages etc.). The Facebook App seems to have this. It is probably not worth my while to write it myself, but it would be nice if there is something 'out of the box' to give the App a bit more of an iPhone feel.
Thanks in advance!
Facebook uses the Three20 library for its UI. The specific view used for the SpringBoard-like interface is known as TTLauncherView.
This is not an endorsement (I have yet to really check this out, and I may be too entrenched in using Three20 at this point to even bother), but here is another project that implements the springboard functionality: myLauncher on Github
You can use UICollectionView to create this
Look at this example
https://github.com/tularovbeslan/Springboard
Can someone please tell me the elements used to create the 'compose email' page in the iPhone?
More specifically, what elements are used to create the light blue 'bubbles' that display the contacts in the To:/CC:/BCC: fields?
I need to make a screen similar to that, except populated with a data source of my own.
You should check out the library three20. It has a view controller for a customizable compose interface built-in.
http://github.com/facebook/three20/
You want to use a MFMailComposeViewController. In the MessageUI.framework.