Hi all,
Im very new to iOS development, Ive bought the developer licence and am cracking on with my first app.
However Im having an issue following the syntax, to me it doesn't feel intuitive to OO development. So that gets me thinking that Im missing something vital.
in C# properties and methods are available with the following syntax;
[object].[property on method];
So something like;
myObject.Name = "JohnnyBravo";
myObject.SetName("JohnnyBravo again!");
This syntax lends itself to code insight, a feature of the Visual Studio IDE where when I put the full stop I get the full list of properties and methods that I can access in that object. I dont see a simple and easy way of listing properties and methods when I want to access objects in iOS, so Im finding my first steps a little frustrating.
Example, I found myself wasting time trying to figure out how to get the month value out of an NSDate object, only to eventually find through google that you cant. With code insight or similar showing me what properties are available on the object I would have seen right away that no such property exists (which is a little odd).
Im making progress but its slow, I keep leaning back to 'well its easy in C# and Visual Studio' and so, Im here asking for guidance.
How do I maximise the use of the IDE? Can the IDE list for me all the methods and properties an object supports?
Sorry for the long post, its my first on this forum. Hopefully the first of many as I learn more and more.
My thanks
JohnnyBravo