FXForms icon indicating copy to clipboard operation
FXForms copied to clipboard

things broken(got more than in Xcode 5.x) in Xcode 6.0 beta 4

Open Airfly opened this issue 10 years ago • 8 comments

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. broken

Airfly avatar Jul 29 '14 07:07 Airfly

Same thing here in Xcode 6 Beta 5.

TomKremer avatar Aug 18 '14 15:08 TomKremer

Is this fixed?

justinmakaila avatar Sep 22 '14 20:09 justinmakaila

Yes, fixed in latest FXForms beta.

nicklockwood avatar Sep 22 '14 20:09 nicklockwood

Which version is the beta? I'm using CocoaPods.

justinmakaila avatar Sep 22 '14 20:09 justinmakaila

Use :head as the version in your podfile.

nicklockwood avatar Sep 22 '14 20:09 nicklockwood

Appreciate the quick response.

justinmakaila avatar Sep 22 '14 20:09 justinmakaila

@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:

img_0185

justinmakaila avatar Sep 22 '14 21:09 justinmakaila

This issue should be fixed in latest FXForms version, @justinmakaila can you confirm that so this issue can be closed?

imaks avatar May 26 '15 19:05 imaks