FXForms
FXForms copied to clipboard
things broken(got more than in Xcode 5.x) in Xcode 6.0 beta 4
I run the BasicExample in Xcode 6.0 beta 4. Some things were broken. I remember that was still OK when running in Xcode 6.0 beta 3. I don't know what's happened.
Same thing here in Xcode 6 Beta 5.
Is this fixed?
Yes, fixed in latest FXForms beta.
Which version is the beta? I'm using CocoaPods.
Use :head as the version in your podfile.
Appreciate the quick response.
@nicklockwood I set the version to :head
and now my forms are showing up empty...
LoginForm.h
#import <Foundation/Foundation.h>
#import <FXForms/FXForms.h>
#import "POnboardingCell.h"
@interface PLoginForm : NSObject <FXForm>
@property (strong, nonatomic) NSString *username;
@property (strong, nonatomic) NSString *password;
@end
LoginForm.m
#import "PLoginForm.h"
@implementation PLoginForm
- (NSDictionary*)usernameField {
return @{
FXFormFieldCell: [POnboardingTextFieldCell class],
FXFormFieldTitle: @"",
@"textField.placeholder": @"Username",
@"textField.autocorrectionType": @(UITextAutocorrectionTypeNo),
@"iconImageView.image": [UIImage imageNamed:@"user-icon"]
};
}
- (NSDictionary*)passwordField {
return @{
FXFormFieldCell: [POnboardingPasswordCell class],
FXFormFieldTitle: @"",
@"textField.placeholder": @"Password",
@"textField.autocorrectionType": @(UITextAutocorrectionTypeNo),
@"iconImageView.image": [UIImage imageNamed:@"password-icon"]
};
}
@end
I'm running on iOS8. Here's a screen shot:
This issue should be fixed in latest FXForms version, @justinmakaila can you confirm that so this issue can be closed?