Good iOS SDK References

70 views
Skip to first unread message

Warren Wright

unread,
Mar 25, 2013, 11:59:55 PM3/25/13
to rubym...@googlegroups.com
Friends,

What are your go-to references for the iOS SDK?

I am going through Clay's book, and as I code up the examples I am also looking through Apple's SDK reference (http://developer.apple.com/library/ios/navigation/) to see how I will reference the possible settings and attributes in the future, when I don't have a book guiding me in what to code.

However, I find that often looking through Apple's reference for a given SDK item doesn't point me to quite all of the properties I can set, and wonder how to make those connections in the future?

For example:  In adding a UITextField, Clay has us set "enablesReturnKeyAutomatically=true".  However, looking up UITextField, I see no reference to "enablesReturnKeyAutomatically.  It seems like were I to look without aid of a book example, I wouldn't know to look at that particular attribute.

Tips on how best to navigate the SDK reference or other resources that might summarize the possible attributes differently are greatly appreciated.

Warren

Warren Wright
@developerwarren

Nick Quaranto

unread,
Mar 26, 2013, 12:06:57 AM3/26/13
to rubym...@googlegroups.com
Looks like this is here:


I usually just Google...everything. Or StackOverflow. Or download the docs via the Xcode organizer. 



Warren Wright
@developerwarren

--
 
---
You received this message because you are subscribed to the Google Groups "RubyMotion - Ruby for iOS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubymotion+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Hwee-Boon Yar

unread,
Mar 26, 2013, 1:55:21 AM3/26/13
to rubym...@googlegroups.com
The Xcode docs are very good. In your example, you need to scroll to the top and navigate to the "Conforms to" section and browse the protocols implemented (as well as the "super-protocols", eg. when you go to UITextInput, you'll see it also conforms to UIKeyInput). This is pretty rare though.

The Xcode doc viewer UI is ridiculously slow though. I use a third party app [1] to complement Xcode's doc viewer since third party doc viewers don't seem to show everything correctly.


Hwee-Boon

Amit Kumar

unread,
Mar 26, 2013, 4:29:17 AM3/26/13
to rubym...@googlegroups.com

Darrin Holst

unread,
Mar 26, 2013, 7:46:06 AM3/26/13
to rubym...@googlegroups.com
Google is my usual go to as well if I don't know what class to even start with in the docs, but if I am in the docs I've been using Dash (https://itunes.apple.com/us/app/dash/id458034879). I love the ide integration for search...in vim I just put my cursor on a class name, hit <leader>d and it takes me straight to it.

It doesn't answer your question specifically about UITextField, I don't really have a good answer for that besides reading the docs and knowing about traits I guess.

Colin T.A. Gray

unread,
Mar 26, 2013, 3:29:37 PM3/26/13
to rubym...@googlegroups.com
a book probably won't even help with this caveat.  it's in one of the uitextfield protocols (uiinputprotocol or something like that)

wndxlori

unread,
Mar 26, 2013, 4:20:38 PM3/26/13
to rubym...@googlegroups.com
Just as a general FYI, I use the Dash app, as a consolidated viewer for all my programming API docs.  Really can't say enough nice things about Dash.

Clayton McIlrath

unread,
Mar 26, 2013, 5:08:47 PM3/26/13
to rubym...@googlegroups.com
+1 for Dash app. I create my own library of code samples too.
--

Benjamin Kudria

unread,
Mar 27, 2013, 4:29:18 AM3/27/13
to rubym...@googlegroups.com
+1 for Dash. It sort-of rocks. I put my RM docset right above the Obj-C iPhone SDK docset. That way, I can quickly find something in Ruby for RM, and switch to the Apple docs if I want to look up protocols or class descriptions or whatever. (Sidenote: I'd love if the RM docs provided all the information that the Apple docs do, but I imagine this is a limitation in RDoc/how they're generated.)

I've also come across http://fileability.net/ingredients/, but I don't know how good it is.
Reply all
Reply to author
Forward
0 new messages