I am relatively new to native iOS and I want to build an Instagram-like newsfeed but I find it really tough to make it look that pretty.
Does anyone have any general swift hacks, tips or suggestions to make native iOS user interfaces really really pretty? Pretty much anything is appreciated :)
Thanks in advance.
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.
I know this may come across as something that could be discussed - but am asking a very specific question.
I need to implement theming in an application I am working on. PixateFreestyle looks like the most promising solution as we could just style it all using CSS. My question is:
Has anyone released an app to the store successfully using PixateFreestyle, and if so, were there any potential app-review related issues I should be cautious of?
Thanks in advance,
I have two apps that have been in the App Store for several months, and both include Pixate Freestyle. I have done multiple releases of each app and have not had any issues with Apple's reviewers.
I think Freestyle is pretty safe.
I've programmed 2 rails apps so far that have definitely gotten me pretty comfortable with ruby + rails. I can't say the same about C though. I don't even know what I'm looking at to be honest any time I look at C. It looks like macaroni.
I'm trying to build a spotify web app. The web API sucks, so I have to use this: https://developer.spotify.com/technologies/libspotify/
Documentation: https://developer.spotify.com/technologies/libspotify/docs/12.1.45/
Someone told me I can look at SWIG as a wrapper to communicate with rails.
The data I'm trying to get is 3 things: Number of subscribers, playlist thumbnail, number of tracks... given a playlist URL in the format of: http://open.spotify.com/user/{{username}}/playlist/{{playlist_id}}
To be honest, I have no idea where to even start. I can't find any swig tutorials online, and staring at this documentation isn't helping.
Could someone maybe give me a very brief 1,2,3 step procedure that one might go through to do something like this? I don't really expect any code.. but.. this is very roughly what I understand so far.. perhaps someone could help me fill this in..
save all C files you need to rails lib directory
compile files with ... ?
use swig somehow
:|
Any help would be super appreciated. I realize this is vague and 'subjective' but I don't even know how to ask this objectively. Just a quick 1-2-3-4-5 to get me started so I can do some googling would be fantastic.
Edit: I did find this, but this seems to be much obsolete: https://github.com/sarnesjo/greenstripes
Well, this is certainly not the answer but just thought to gather some related links here.
http://www.eqqon.com/index.php/Ruby_C_Extension_API_Documentation_(Ruby_1.8)
http://java.ociweb.com/mark/programming/Ruby_C_Extensions.pdf
http://people.apache.org/~rooneg/talks/ruby-extensions/ruby-extensions.html
Let us know about any update.
After some digging I have found this. I think this is the answer for my ruby libspotify wrapper: https://github.com/Burgestrand/Hallon
I am just starting iOS development. I read some tutorials, watched stuff on iTunes U and wrote some sample code myself. Now I want to take the next step. I want to learn about best practices for iOS development in XCode.
Are there any well written and well organized iOS projects that one could take a look at?
(As I see it, iOS is not exactly the place for open source enthusiasts, however.)
Thanks
Mike.
I agree with several of the other answers that state that looking at many, many projects for mini-examples of what you want to do in your own app is the way to go.
However, you asked for an example of an app demonstrating best practices.
You could do worse than to read Matt Gallagher's blog, Cocoa with Love from beginning to end. However, the app example you asked for is right here.
Not only will it show a variety of techniques, some novel design and best-practices, but also he points out where he feels that he might have done something better.
It's a great read.
I would suggest the following process: (it worked for me)
Think of an advanced app. that you eventually want to be proficient enough to create.
Make a top-down problem-solving tree containing the necessary skills required to build your final app.
Use this tree to divide your final app. into 'sub apps'. Start at the bottom of the tree, find a tutorial specifically for that skill, and make a "Hello World" app. that uses that skill.
Keep progressing upwards, creating 'sub apps' as you go.
When you are finally ready to make your final app. (it will take a while), you will have a good handle on how iOS development works. It will also be a great test of your knowledge via direct application!
Getting the hang of iOS development can be tricky; it really does require a top-down approach, and every online resource I've found takes a linear one. The only way that I think a linear approach to learning iOS development would be manageable, is to take it one small task at a time.
As for specific resources, I always google "[what I want to do] iPhone SDK" and browse the tutorials and forum posts that come up.
Here are some open source iOS apps. However, they aren't very well documented and are also very advanced.
TKAWebView - A subclass of UIWebView that handles authentication and downloading.
Welcome to your Mac - An iOS app. to VNC into a PC/Mac and do some cool stuff.
InAppSettingsKit - A settings screen creator for your apps.
Good luck!
The people behind the Parse platform have made two complete projects.
For each project there is the complete source code, a tutorial and the resulting app is also available from the AppStore.
Anywall: https://parse.com/anywall
Anypic: https://parse.com/anypic
They both rely heavily on the Parse platform as the data source, but you still get a feel for an iOS project.
Molecules is a great open-source app that uses 3D OpenGL to render complex models of molecules.
Just keep coding my friend. You'll learn over a period of time. The best way to get dirty in a mud fight is to jump into it... Weird analogy but you get the point.
Maybe someday, we all will learn from you then !
Like you said there many and many source codes are available internet, but most are incomplete.
I found some Open source codes of REAL application currently available through Apple app store are given here
Free iPhone App Source Codes of real apps
and also, you can find many answers here on stackoverflow question - Are there any Open-source iPhone applications around?
You can download free IOS sample projects from http://devcodemarket.com
I realize this is an old thread but I've also been looking for good objective-c code examples recently and I just realized that TextEdit's source code is available at the Mac Developer Library webpage.
Also, here are some popular objective-c libraries that have caught my attention:
CocoaPods
AFNetworking.
you can also go through UICatalog from Developers Library and download the sample code. just google it and you will find a project containing all basics of iphone.
I don't think there is any perfect project that can demonstrate all the qualities of great code. Developers have stylistic preferences and may make mistakes. That said, you should look at a lot of different projects and try to look at the conventions used.
I'd suggest starting on GitHub. Besides for seeing code, you'll see what libraries are out there, which may help further your projects later on. Here's the Objective-C page on GitHub.
(Also, I (GitHub link) think you're wrong about iOS devs not being in favor open source. Yes, there's money to be made, but you can't sell a CSV paring library on the App Store as is.)
Have a look at https://github.com/mozilla/firefox-ios
That is Firefox for iOS, written in Swift.
Cocoacontrols has a wide range of controls written using Objective-C & Swift.
I believe these days, this is one of the most famous website for iOS Developers.
But, before you jump onto this, you have to learn Objective-C & Swift very well, so that you will understand how to use the controls in your app which makes your app smooth.