Terminological Question re Objective-C / iOS

Sorry if this sounds a bit like a noobie question, I'm still relatively new to ObjC and iOS, but not new to software development, however, when reading documents / watching videos on various topics, I hear certain phrases that I’m not sure , can someone briefly give a brief description of the following terms - or, call me a good reference for them.

The following are the terms in which I am stuck, and that, in my opinion, I realized that this / means, and any help in correcting me so that I can better follow the flow of Apple documentation will be greatly appreciated.

1) Singleton

Perhaps similar to a fully static class in PHP, has no instance methods

2) Model, view, controller organization (MVC) - in particular, the "model" component

I know that a broad definition is that everything is in order, and I think that it is in your opinion, this is what you create for display on the screen either programmatically or in the interface builder. The controller will be the code that processes messages (clicks, taps, etc.) from the view and displays information in the view, although in many cases the .xib and .h / .m pairs that make up the view and the controller are part of the same the same family (i.e. MyViewController.h / .m / .xib). The model in my guesses is separate handlers for reading and writing data to / from a source, for example, a class that you send to messages to which you can load and return data from an SQLite database or from an XML feed and process it.

3) * ?

, * , , , , :

NSString *myVar;
NSString* myVar;
NSString * myVar;

, * , :

- (void)myMessageHandler:(NSString *)str;

4) NSInteger int?

, , , , , , .

5)

/ , , (, UITableViewCell, @ "cellIdentifier" ). , reset , , HTML, DOM, , .

, , , , , , , (, UITableView), , reset , , , ?

2 , , , , , , , , , , .

, UITableView , UITableView , "cellIdenfier" UITableView, - UITableViewCell, , - ?

+3
2

, , , , 1-3.

- , , . getInstance, ( ), , . .

MVC . . , .

, *, , . , , , , . , , * - , , . * .

+1

, , .

Karl , .

- , , -.

, * , , , , C ( Objective-C ). :

int* foo, bar;

int*, int (foo) int (bar). * . , , Karl, , , .

NSInteger int?

, API Cocoa , . , int. int, C99 stdint.h (int32_t, int64_t ..). , , , API Cocoa NS (U) Integer. NS (U) Integer ( ) int (, x86_64).

UITableView , . ( , , NIB), , , , . , , , .

, . , . , , .

+3

Source: https://habr.com/ru/post/1783624/


All Articles