Permalink
Browse files

bugfixes

  • Loading branch information...
1 parent 2e5cdc7 commit bdabce0e25dde44ceed69560ec0736d783979de8 @graphiclife graphiclife committed Oct 23, 2011
Showing with 10 additions and 6 deletions.
  1. +1 −1 Common/Classes/HKHook.h
  2. +1 −1 Common/Classes/HKRESTAPI.h
  3. +1 −1 External/SPSuccinct
  4. +3 −3 iOS/Classes/HKBox.m
  5. +4 −0 iOS/Classes/HKFormController.m
View
@@ -34,7 +34,7 @@ void HKHookBroadcast ( const char *hook, id context, id broadcaster );
__block __typeof(self) __hook_self = self; \
__block const char *__hook_hook = hook; \
__block id __hook_object = object; \
- HKHookRegister( __hook_hook, __hook_object, __hook_self, handler ); \
+ HKHookRegister( (__hook_hook), (__hook_object), (__hook_self), (handler) ); \
})
#define $uhook(...) ({ \
@@ -25,7 +25,7 @@
#import <Foundation/Foundation.h>
#ifdef HK_DEBUG
-// # define HK_DEBUG_REST_API
+# define HK_DEBUG_REST_API
#endif
#define HK_ERROR_CODE_WEB_API_ERROR 3001
View
@@ -54,6 +54,8 @@ - (id)initWithFrame:(CGRect)frame type:(HKBoxType)type
- (void)dealloc
{
+ SPRemoveAssociatedDependencies(self);
+
[super dealloc];
}
@@ -269,9 +271,7 @@ - (void)setNeedsLayout
}
- (void)willRemoveSubview:(UIView *)subview
-{
- SPRemoveAssociatedDependencies( subview );
-
+{
[self setNeedsLayout];
}
@@ -350,6 +350,10 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
{
cell.formField.secureTextEntry = YES;
}
+ else
+ {
+ cell.formField.secureTextEntry = NO;
+ }
if ( [[child objectForKey:@"keyboard"] isEqualToString:@"email"] )
{

0 comments on commit bdabce0

Please sign in to comment.