I declare cg-point or rect, since const, giving the above errors, someone helps this,
#import "newViewController.h" #import "first.h" const CGPoint point=CGPointMake(50,50);
You cannot use function ( CGPointMake) as initialization of a global variable in C.
CGPointMake
But you can do it like this:
const CGPoint point = {50.0f, 50.0f};
Source: https://habr.com/ru/post/1740266/More articles:Как получить Java-приложение для подписки на издателя NServiceBus? - javakey value matching for class NSObject? - objective-cMemcache in python - pythonMATLAB: frequency distribution - matlabUsing @keyword in C # is a bad idea? - c #ASP.NET MVC: Which mechanic returns ViewModel objects? - c #Background image of selected cell - objective-cmail sent with php mail () has an empty field - phpHow to redraw or refresh the screen - c #iphone sdk - iTunes connects, how to change device requirements? - objective-cAll Articles