New for ios. Let me fix it if my understanding is wrong?
typedef void (^someString) (datatype variable_name, datatype variable_name).
I am mainly from C background.
Is this something like typedef for a pointer function? ..
Not exactly a function pointer, but a block. The block is Apple's extension to the C language: it mainly implements lambda functions. It types someString type someString block that returns nothing ( void ) and takes two arguments.
someString
void
More details here: http://en.wikipedia.org/wiki/Blocks_ (C_language_extension)
and here: http://developer.apple.com/library/ios/#documentation/Cocoa/Conceptual/Blocks/Articles/bxUsing.html
This is a block definition. This is a closure form, as implemented in Objective C.
it is called a block, you can use it as a function, but it has several privileges, check the Documentation
Source: https://habr.com/ru/post/914161/More articles:Can perf-stat results be generated from perf.data? - performanceHow to structure a project in Winforms using the MVP template? - c #How to avoid or detect implicit delegate output in C #? - c #Django with psycopg2 plugin - pythonResize UITableView and keep scrolling from the bottom - iosIs there a design template for light and heavy versions of an object? - c #Return string from NSURLRequest - objective-cHow can I use dapper to return a type containing a list of another type? - c #https://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/914165/ios-notifications-to-dead-objects&usg=ALkJrhgyXpJYMt6QDZQygzvkSxSjSqD7iQConvert any program into semantically equivalent - performanceAll Articles