Created
February 17, 2015 10:03
-
-
Save bomberstudios/ba7219261e8593cd3476 to your computer and use it in GitHub Desktop.
addLayerOfType
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
frame = NSMakeRect(0, 0, 100, 100); | |
layerToAdd = [[MSRectangleShape alloc] initWithFrame:frame] // or MSTextLayer, or MSBitmapLayer, or… | |
[group addLayers:[layerToAdd]] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment