Wednesday, 7 February 2018

Auto property synthesis will not synthesize property 'description' because it is 'readwrite' but it will be synthesized 'readonly' via another property (Type of property 'NSMutableArray *' in class extension does not match property type in primary class)



I created one mutable array variable with the name "description". In this case I'm getting one error and warning like this

Ex:
@property NSMutableArray *description;

War: " Auto property synthesis will not synthesize property 'description' because it is 'readwrite' but it will be synthesized 'readonly' via another property "

Error : " Type of property 'NSMutableArray *' in class extension does not match property type in primary class "

Now I changes my variable name like this

Ex:
@property NSMutableArray *desc;

Now it's gone.

If you still want to use "description"

https://stackoverflow.com/questions/34960068/auto-property-synthesis-will-not-synthesise-property-description-because-it-is?rq=1

Thursday, 1 February 2018

ProjectName-Bridging-Header.h' (No such file or directory)



Error - error opening input file '/Users/development/Downloads/ProjectName/ProjectName/ProjectName-Bridging-Header.h' (No such file or directory)



In your project you don't have bridging-Header.h file, but your project has that path. For this you need to delete that path...
Go to targets file and select -----> Build Settings, 
---->Swift Compiler - General, 
----->and delete the bridging-Header.h. 

Follow below screen shots....

Delete the bridging-Header.h file in Swift Compiler - General


Now you got like this...

Difference between == and ===

Difference between == and === https://stackoverflow.com/questions/24002819/difference-between-and == operator checks if their ...