Skip to content

Commit

Permalink
Update BButton
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisballinger committed May 14, 2013
1 parent 662bb8d commit 4cf57db
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 31 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@
url = https://github.com/davbeck/TUSafariActivity.git
[submodule "Submodules/BButton"]
path = Submodules/BButton
url = https://github.com/jessesquires/BButton.git
url = https://github.com/mattlawer/BButton.git
Binary file removed Media/[email protected]
Binary file not shown.
3 changes: 1 addition & 2 deletions OpenWatch/Model.xcdatamodeld/Model.xcdatamodel/contents
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@
<relationship name="user" optional="YES" minCount="1" maxCount="1" deletionRule="Nullify" destinationEntity="OWUser" inverseName="tasks" inverseEntity="OWUser" syncable="YES"/>
</entity>
<entity name="OWUser" representedClassName="OWUser" parentEntity="OWServerObject" syncable="YES">
<attribute name="csrfToken" optional="YES" attributeType="String" syncable="YES"/>
<attribute name="thumbnailURLString" optional="YES" attributeType="String" syncable="YES"/>
<attribute name="username" optional="YES" attributeType="String" syncable="YES"/>
<relationship name="objects" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="OWMediaObject" inverseName="user" inverseEntity="OWMediaObject" syncable="YES"/>
Expand All @@ -85,6 +84,6 @@
<element name="OWStory" positionX="207" positionY="9" width="128" height="90"/>
<element name="OWTag" positionX="268" positionY="354" width="128" height="105"/>
<element name="OWTask" positionX="-353" positionY="579" width="128" height="105"/>
<element name="OWUser" positionX="-54" positionY="360" width="128" height="133"/>
<element name="OWUser" positionX="-54" positionY="360" width="128" height="120"/>
</elements>
</model>
1 change: 0 additions & 1 deletion OpenWatch/OWAccountAPIClient.m
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ - (void) processLoginDictionary:(NSDictionary*)responseObject account:(OWAccount
account.publicUploadToken = [responseObject objectForKey:kPubTokenKey];
account.privateUploadToken = [responseObject objectForKey:kPrivTokenKey];
account.accountID = [responseObject objectForKey:kServerIDKey];
account.user.csrfToken = [responseObject objectForKey:kCSRFTokenKey];
}

- (void) updateUserPushToken:(NSData*)token {
Expand Down
18 changes: 0 additions & 18 deletions OpenWatch/_OWUser.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
#import "OWServerObject.h"

extern const struct OWUserAttributes {
__unsafe_unretained NSString *csrfToken;
__unsafe_unretained NSString *thumbnailURLString;
__unsafe_unretained NSString *username;
} OWUserAttributes;
Expand All @@ -26,7 +25,6 @@ extern const struct OWUserFetchedProperties {




@interface OWUserID : NSManagedObjectID {}
@end

Expand All @@ -40,16 +38,6 @@ extern const struct OWUserFetchedProperties {



@property (nonatomic, strong) NSString* csrfToken;



//- (BOOL)validateCsrfToken:(id*)value_ error:(NSError**)error_;





@property (nonatomic, strong) NSString* thumbnailURLString;


Expand Down Expand Up @@ -116,12 +104,6 @@ extern const struct OWUserFetchedProperties {
@interface _OWUser (CoreDataGeneratedPrimitiveAccessors)


- (NSString*)primitiveCsrfToken;
- (void)setPrimitiveCsrfToken:(NSString*)value;




- (NSString*)primitiveThumbnailURLString;
- (void)setPrimitiveThumbnailURLString:(NSString*)value;

Expand Down
8 changes: 0 additions & 8 deletions OpenWatch/_OWUser.m
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
#import "_OWUser.h"

const struct OWUserAttributes OWUserAttributes = {
.csrfToken = @"csrfToken",
.thumbnailURLString = @"thumbnailURLString",
.username = @"username",
};
Expand Down Expand Up @@ -51,13 +50,6 @@ + (NSSet*)keyPathsForValuesAffectingValueForKey:(NSString*)key {



@dynamic csrfToken;






@dynamic thumbnailURLString;


Expand Down
2 changes: 1 addition & 1 deletion Submodules/BButton
Submodule BButton updated 5 files
+1 −0 .gitignore
+3 −3 BButton.podspec
+35 −0 LICENSE.md
+0 −26 LICENSE.txt
+28 −10 README.md

0 comments on commit 4cf57db

Please sign in to comment.