What are the best resources for learning iOS development? I'm looking to learn Swift, Objective-C, and Cocoa.
I learned everything I needed to know initially about iOS development from the Stanford CS 193P videos, and the videos from the most recent WWDC.Tips for the CS 193P videos:Just watch the first 2-3 videos without building anything yourselfThen start over and follow along by building a simple hobby app that is more fun than the boring app the professor is buildingKeep watching the videos in order as you have time, but start skipping around to the parts that contain what you need to knowDownload slides as a PDF whenever you can, makes it easier to jump around and use code samplesYou don't need to be drawing and using drawRect: as much as the professor seems to want to, using subviews or sublayers to create simple shapes will probably be a lot easier at firstYou probably need to watch the first 7 before you start to get a real grip on the key tools that you will need to build an app, but you can certainly start hacking on something much more quicklyTips for the WWDC videos:Expect most of them to not be useful from an initial learning perspectiveSome are really useful though because of the sample code in the slides, I remember the Core Animation video and slides being especially helpfulUnderstanding UIKit Rendering from 2021 is really useful for understanding how to work with views, layers, layout and renderingSo are the UIScrollView sessions, maybe start with 2021 and work your way up to today, also the most entertaining WWDC session by farAlso take a look at Apple's sample code whenever you're stuck on a particular API for usageRemember to option click a method name in Xcode to see it's arguments or get to the docs pageExpect these parts of iOS development to be the hardest:Understanding protocols and delegates (don't try to gloss over this section of the CS 193P videos or you will be so confused later)Figuring out where to put code (I'll post a few general tips below)Memory management (with ARC this is fairly simple now, just try to get an understanding of the difference between strong/weak references, be a little wary of blocks, and eventually learn how to use the allocations/leaks instruments)Where to Put CodeSome really general tips on code organization:Expect your app to be a sort of tree of references from the AppDelegate to one class instance (like a main UIViewController), which will have references to other class instances (like a UIView and other UIViewControllers), and so onIn a UIViewController, expect to do most of your setup in viewDidLoadAt first, you can probably do most of what you need to do without subclassing UIView at all, unless you need to use drawRect: or override other UIView methods, using a view instead of a view controller is mostly organizationalIn a UIView, do most of your setup (i.e. creating subviews) in init (save drawRect: for actual drawing only)If you're trying to create a more complex layout, don't forget about layoutSubviews for adjusting subview frames and so onFor now, bias to using properties instead of ivars, you can create a private @interface if you don't want to expose a property to other classesRead the documentation for UIViewController's viewWillAppear, viewDidAppear, viewWillDisappear, and viewDidDisappear (all pretty succinct and once you start to do anything remotely complex you will need to override these methods)Persisting DataYou should consider NSUserDefaults a good alternative to Core Data or SQLite if all you want to do is persist a few objects and don't need to query them (i.e. give me objects where…). This is what the pros do, and user defaults has the upside of being much easier to understand as a beginner. It's basically a persistent dictionary, or a key value store. For pure data retrieval, Core Data and SQLite are not faster than user defaults — they are all reading from disk."The Best Way"Once you get to the point where you're starting to care about code style, or if you're just wondering how an experienced programmer might do something, I like the NYTimes Objective-C Style Guide.The FutureAs you progress you should try to get into a habit of skimming at least the high level documentation for every method you're using or overriding. Sometimes the documentation will make you aware of surprising side effects, or alternative ways of doing the same thing that might be better for your use case. This is the best way to become really familiar with Foundation and UIKit.Once you're even further along on your iOS development journey, you might enjoy reading NSHipster — a pretty entertaining blog that documents useful but overlooked APIs or Obj-C features.
How does one get invited to the Quora Partner Program? What criteria do they use, or is it completely random?
I live in Germany. I got an invite to the Quora partner program the day I landed in USA for a business trip. So from what I understand, irrespective of the number of views on your answers, there is some additional eligibility criteria for you to even get an email invite.If you read the terms of service, point 1 states:Eligibility. You must be located in the United States to participate in this Program. If you are a Quora employee, you are eligible to participate and earn up to a maximum of $200 USD a month. You also agree to be bound by the Platform Terms (https://www.quora.com/about/tos) as a condition of participation.Again, if you check the FAQ section:How can other people I know .participate?The program is invite-only at this time, but we intend to open it up to more people as time goes on.So my guess is that Quora is currently targeting people based out of USA, who are active on Quora, may or may not be answering questions frequently ( I have not answered questions frequently in the past year or so) and have a certain number of consistent answer views.Edit 1: Thanks to @Anita Scotch, I got to know that the Quora partner program is now available for other countries too. Copying Anuta’s comment here:If you reside in one of the Countries, The Quora Partner Program is active in, you are eligible to participate in the program.” ( I read more will be added, at some point, but here are the countries, currently eligible at this writing,) U.S., Japan, Germany, Spain, France, United Kingdom, Italy and Australia.11/14/2018Edit 2 : Here is the latest list of countries with 3 new additions eligible for the Quora Partner program:U.S., Japan, Germany, Spain, France, United Kingdom, Italy, Canada, Australia, Indonesia, India and Brazil.Thanks to Monoswita Rez for informing me about this update.
How do I open an attachment like rental application that the owner emailed me, open it, fill it out, and send it back to the person’s email. How do I do all that?
This really depends what sort of file it is, but generally:Save a local copy of the file from the email, using the ‘save as’ command.Open the local copy in an editor. For PDF files most PDF readers have a limited ability to add text, such as using the ‘form fill’ commands. For other document types, you can normally just click on them and edit it. If it’s an image, I’d suggest Paint.net as it’s free and you can add txt to images.One done, save the document and close it.Reply to the email, click add attachment and attach the saved document, then hit send.
Would filling out one rental application and used multiple times make renting easier?
The company I work for, RentSpree.com, has a universal online application. This saves the renter from having to fill out multiple applications with the same information. Not only is this time-consuming, but it is extremely tedious as well.However, one issue with a universal application is that it takes away from the importance of submitting an application. Applying for a rental property should not be taken lightly, and you should only apply to a property if you are serious about it. In order to combat this, we charge an initial fee of $30 for the first application (which is less than the $42 recommended by CAR), and $20 for each subsequent application.Also included in our application is a full tenant screen, complete with a credit report, background check, and eviction history.
Are you ever concerned with filling out a rental application with sensitive personal data?
That is a healthy concern to have. There's no problem asking the landlord what happens to this application after you're done filling it out. Ask him what happened to the application if you get the apartment, and if you do not.Keep in mind if you get the apartment, the applications going to crucial information for the landlord to contact you your next of kin or to find you if you run out without paying rent.Also, due to housing laws, discriminatory housing lawsuits can be filed by prospective tenants if they do not receive the apartment. So it would be appropriate for the landlord to hold onto your application even if you did not get the apartment for a bit of time, but make sure that they have some plan for that.
I'm filling out a rental application for my friend & I, but she's supported by her father. Can we put her father on the rental application?
I'm filling out a rental application for my friend & I, but she's supported by her father. Can we put her father on the rental application?Fill out the application with the information required. When you are unsure of what to put on the form, ask the landlord before you fill it out. You did not say whether both you and your friend will be signing the rental agreement or lease. Normally if two parties are leasing a unit from me, and both of them are responsible for paying the rent, I require both of them to fill out separate applications. If that is what you are doing, and if the landlord requires two separate applications, your friend should be filling out her application separately from you.
How long does it take to fill out University of California TAG?
It should not take more than an hour. I strongly suggest you complete it with a college counselor so you are taking the correct courses.The TAG agreement is a wonderful partnership between CA community colleges and the UC system, so take advantage of this service.