Xcode wont suggest my code snippets - ios

I added a simple code snippet:
And when i'm trying to type "tablerows" in my class i get no suggestions. Tried to clean the project didnt help.
Any ideas? Thank you.

The completion scope is important. If you have set it to be "Class Implementation" then you have to try the shortcut in the class -- outside any methods. I hope you are doing that, since the code snippet is actually a method.

Restart XCode completely, to apply the changes. Thanks to #Moshe

Related

Why is there no RichMapFunction in pyflink?

There is pyflink.datastream.MapFunction in Flink Python API Docs. Meanwhile there is no RichMapFunction. Could somebody tell me why?
All the functions in PyFlink are rich. You can see that, pyflink.datastream.MapFunction extends pyflink.datastream.Function which has a open method.
I'm not sure why it's missing from PyFlink, but RichMapFunction is completely unnecessary. Anything you could do with a RichMapFunction can be done with a ProcessFunction or KeyedProcessFunction instead.

can xfce4-terminal set line-space ? Or which terminal-enumlator supports setting it?

GVim can achieve this goal by set linespace=12, but It does not work in xfce4-terminal.
I have tried almost all terminal listed in this page, but didn't find.
thanks for help!
Finally, I changed xfce4-terminal to urxvt
similar question

RKMappingTest has no methods (RestKit)

I'm working with RestKit and trying to do unit tests per the Unit Testing Guide on their Github wiki.
When I try to create an instance of RKMappingTest, its like it only has the NSObject methods on it. it doesn't have the testWithMapping: method or any others that come up in the autocomplete and if I type it myself there is an error. Also, respondsToSelector: returns NO for the testWithMapping method.
So, since the class is available I'm sure the header is there but I can't figure out why the methods are not there. The textFixture stuff works fine as well. I've restarted XCode but can't seem to find out what is going on here. Help.
I've updated the Wiki page. There was an error with the message call it should be:
+ testForMapping:sourceObject:destinationObject:
instead of
+ testForMapping:withSourceObject:destinationObject:

PanoramaGL ARC issue

I got compiling issues when I'm trying to compile PLPanoramaBase library. I solved it and posted my solution to google code. But there are still somebody ask me through the email so that I decide to write my answer here.
The solution is simple:
Use -fno-objc-arc in project setting
Move some declaration from PLPanoramaBase.h to PLPanoramaBase.m
like this:
#interface PLPanoramaBase()
{
PLTexture **previewTextures;
PLTexture **textures;
}

How to force SciTE to reload a file automatically?

I think that SciTE can do it but it doesn't work for me. Is there any option to setup?
I have set load.on.activate=1 in my SciTEUser.properties which works like a charm.
EDIT:
Use it in combination with save.on.deactivate=1 and reload.preserves.undo=1. The SciTEDocs will tell you more.
Add this line on the SciTEUser.properties file:
save.session=1

Resources