How to implement Pivot control for iOS? - ios

I just love the pivot control design in windows mobile. I would love to implement similar kind of design in my application, just like Skype app for iOS (PFA screenshot below). I did look up to check whether is there any libraries in github to do this. But I didn't find one. So please give me a head start on how can this be achieved. Thanks in advance.

I tried to use the UISegmentedControl and UIScrolllview together to get the look and feel of the Pivot control. But the solution I came up with was little clumsy and cranky and wasn't smooth at all.
But when I was browsing github again to find whether there is any existing solution for this I came across this library PageMenu. This is the closest solution I could find, using which you can get the look and feel of Pivot control. Take a look at the attached screenshot.
I had to do lot of look up to get this library, so I hope this may come in handy if someone who is looking for a similar kind of design. Hope this helps :)

Related

Implementing Google Play Games Services in Swift

Hello fellow developers :)
I have been trying to implement Google Play Games Services in my newest app project, but find myself being completely lost. I find GMS to be quite complicated and therefore need some sort of tutorial to stand a chance.
Unfortunately the official guide on Googles websites (https://developers.google.com/games/services/ios/quickstart) only describes the setup process for Objective-C.
My question is therefore, as ambiguous as is, if anyone knows anything that could help me implement GMS. This includes links to tutorials, code-snippets, personal tips, or anything else that could come in handy.
And yes, I am aware that questions like these are often frowned upon due to their ambiguous nature. What must be understood is that this question is a desperate last attempt before giving up and going with GameCenter instead. I simply have not found the information needed anywhere else.
Thank you! :)
You may need to use a bridging header for this. Check out the following link by gguuss in GitHub: http://github.com/gguuss/gplus-ios-swift.

iOS 7 embedded calendar api

I'm fairly new to iOS development, I've been asked to write an application that moves around days in a calendar. The graphics designers thought it would be a good idea to have an embedded scrollable calendar so the user could navigate easily through dates.
I'd love to post an image for what I want but I don't have the reputation yet to do so.
This calendar view looks just like the native calendar app on iOS 7 but it's just a sideways scrollable choosing date of the month you're in and it only take a small portion of the screen. Would anybody know if there's a framework I could use to achieve similar results?
Thanks in advance!
I know it's a little late, but I'll just post it here in case other people has the same problem.
A few months back, I had the exact same problem.
I couldn't find exactly what I need, so I had to implement it myself with UICollectionView
Anyway, after finishing my project, I've decided to make a library based on it.
This should be easier to use than any other calendar library.
https://github.com/nopshusang/SACalendar
Hope it helps :)
There will most likely not be a component that does exactly what you want. A good thing to do in a situation like this is search on Github and filter by language, then sort by popularity.
Here is an example search to get you started, for "calendar":
https://github.com/search?l=Objective-C&o=desc&q=calendar&ref=cmdform&s=stars&type=Repositories
A few promising candidates from that search:
https://github.com/leverdeterre/CalendarIOS7
https://github.com/fggeraissate/FFCalendar
https://github.com/square/objc-TimesSquare
https://github.com/jaykz52/CKCalendar
https://github.com/min/MNCalendarView
There are tons of these, all slightly different, so you'll need to do some digging to find one that is most similar to what you want to accomplish.
In general, any implementation you find or create yourself should probably use a UICollectionView to accomplish this.

iPad1, use the 30pins VGA cable

I'm working on a simple application for a vacation with friends. It's something like the Wheel of Fortune.
The problem is that we with too much people to look at the iPad1, so I was thinking to beam the application. I got the 30pins VGA connector that I use for keynote and Adobe Idea, so I think it's possible.
I don't find something on the internet, or I can't figure it out how to search this specific problem.
Thanks in advance.
I found a bit off source code that helps
http://mattgemmell.com/2010/06/01/ipad-vga-output/
:-)
There's also this: https://github.com/freespace/TVOutManager which I was able to get working.
(this is an improved fork of work by Rob Terrell).
I didn't realise that the lack of video mirroring by default is a problem was only with the iPad 1 (which I don't have to support) as detailed here: http://support.apple.com/kb/ht4108

drag and drop with easeljs

I apologize that is isn't strictly a coding question. Has anyone come across a good BASIC tutorial explaining how to drag things in Easeljs? I've been experimenting with jQuery Mobile and the 'touch punch' plugin in the DOM for an app I'm developing and it works great. All devices, all browsers. But i recently read that phonegap totally sucks so I'm trying to get the same effects in Canvas for Cocoonjs.
But I can't seem to get anything working in Canvas. I've scoured the web and it seems everyone just reuses Easeljs' daisy example.
Has anyone found a good, simple, clear example without all the extra BS?
Thanks in advance. And again I apologize this isn't a coding question.
If I'm getting this correctly, you are trying to use jQuery for Drag&Drop on canvas?
If that is the case, then the simple answer is: It's not possible. (at least not out of the box, and making this work would take way too much effort and would make no sense)
Other than that you have pretty much answered your question yourself, the EaselJS Daisy DragAndDrop Example from here: https://github.com/CreateJS/EaselJS/tree/master/examples already is like a perfect example - unfortunately it won't get much simpler than that.

iOS Messages Area

I have been looking everywhere but I cannot seem to google it right so I am hoping that someone can help me. Is there any way that I can program something like the "Messages" area in iOS? particularly the iPhone.
Here's a photo of the message area if my explanation was not clear:
http://www.zmetech.com/wp-content/uploads/2009/07/iphone-sms.jpg
There's been lots of blog posts on this subject that you can find with Google. One such detailed explanation is at http://mobiforge.com/developing/story/sms-bubble-ui-iphone-apps
Be aware that Apple has rejected apps for treading too closely on the UI of the Messages app in the best, so proceed with caution: http://www.ipodnn.com/articles/09/09/02/chat.bubble.app.rejection/
Yes you can.
I guess there are many ways to do that. but it is look like a simple UIScrollView and another view that dynamically duplicates itself and formatted as bubble.

Resources