Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions ios/Classes/TiPaintModule.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@

#import "TiModule.h"

@interface TiPaintModule : TiModule
{
@interface TiPaintModule : TiModule {
}

@end
23 changes: 10 additions & 13 deletions ios/Classes/TiPaintModule.m
Original file line number Diff line number Diff line change
Expand Up @@ -14,26 +14,23 @@ @implementation TiPaintModule
#pragma mark Internal

// this is generated for your module, please do not change it
-(id)moduleGUID
{
return @"43f13063-d426-4e9c-8a7a-72dc5e4aec57";
- (id)moduleGUID {
return @"43f13063-d426-4e9c-8a7a-72dc5e4aec57";
}

// this is generated for your module, please do not change it
-(NSString*)moduleId
{
return @"ti.paint";
- (NSString *)moduleId {
return @"ti.paint";
}

#pragma mark Lifecycle

-(void)startup
{
// this method is called when the module is first loaded
// you *must* call the superclass
[super startup];

NSLog(@"[DEBUG] %@ loaded",self);
- (void)startup {
// this method is called when the module is first loaded
// you *must* call the superclass
[super startup];

NSLog(@"[DEBUG] %@ loaded", self);
}

@end
5 changes: 2 additions & 3 deletions ios/Classes/TiPaintModuleAssets.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
* This is a generated file. Do not edit or your changes will be lost
*/

@interface TiPaintModuleAssets : NSObject
{
@interface TiPaintModuleAssets : NSObject {
}
- (NSData*) moduleAsset;
- (NSData *)moduleAsset;
@end
13 changes: 9 additions & 4 deletions ios/Classes/TiPaintModuleAssets.m
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,18 @@
*/
#import "TiPaintModuleAssets.h"

extern NSData * dataWithHexString (NSString * hexString);
extern NSData *filterDataInRange(NSData *thedata, NSRange range);

@implementation TiPaintModuleAssets

- (NSData*) moduleAsset
{
return nil;
- (NSData *)moduleAsset {

return nil;
}

- (NSData *)resolveModuleAsset:(NSString *)path {

return nil;
}

@end
6 changes: 3 additions & 3 deletions ios/Classes/TiPaintPaintView.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@

@interface TiPaintPaintView : TiUIView <WetPaintViewDelegate> {
@private
UIImageView *drawImage;
WetPaintView *wetPaintView;
CGRect drawBox;
UIImageView *drawImage;
WetPaintView *wetPaintView;
CGRect drawBox;
}

@end
Loading
Loading